Forum: NinjaTrader
February 17th, 2019, 08:51 AM
|
Replies: 3
Views: 795
this is a common mistake of first time coder...
this is a common mistake of first time coder make, you need to wait for the bar data to be there first
In this case you need to wait for bar[1] before the code can be executed successful
thus;
...
|