Thanks in advance as all help is much appreciated.
I am not new to NT8, but have started on the long journey of trying to code my strategies, and started with the indicator tutorial from NT7.
I am aware there may be compatability issues b/w NT7 and NT8.
I have run into trouble with an error code, and don't know how to solve. it. Error CS0118.
The error message is: 'NinjaTrader.Gui.Plot' is a 'type' but is used like a variable.
This was the code section that I ran.
protected override void OnBarUpdate()
{
//Set the Value (Add your custom indicator logic here).
Plot0.Set(Open[0] == Close[0] ? 1 : 0);
}
Any suggestions on how I can resolve this would be much appreciated.
My apologies if this question has been raised and answered before in the forums, I did search for it, but could not find an answer.
Cheers
Michael
Comment