Using WriteToDebugLog() in custom Indicator Builder is not working and produced an error "The name 'WriteToDebugLog' does not exist in the current context." Am I missing an assembly reference?
Edited:
I am included these directives:
using WealthLab.Backtest;
using System;
using WealthLab.Core;
using WealthLab.Indicators;
using System.Drawing;
using System.Collections.Generic;
using WealthLab.TASC;
using WealthLab7;
using System.Linq;
Edited:
I am included these directives:
using WealthLab.Backtest;
using System;
using WealthLab.Core;
using WealthLab.Indicators;
using System.Drawing;
using System.Collections.Generic;
using WealthLab.TASC;
using WealthLab7;
using System.Linq;
Rename
This is not an issue. WriteTo... is a WealthScript method which only works in Strategies. Indicators implement a different interface and cannot write to the debug log.
With C# you can choose to output debug messages to some other channel e.g. file.
With C# you can choose to output debug messages to some other channel e.g. file.
Thanks Eugene.
Your Response
Post
Edit Post
Login is required