Forum: NinjaTrader
October 27th, 2016, 03:36 PM
|
Replies: 14
Views: 5,822
Another thing helpful in Print statement is...
Another thing helpful in Print statement is Time[0], this gives a timestamp of currently processed bar, eg.:
Print(Time[0] + "blabla" + " rest of the message");
This gives you possibility to track...
|
Forum: NinjaTrader
October 27th, 2016, 03:27 PM
|
Replies: 14
Views: 5,822
|
Forum: NinjaTrader
October 26th, 2016, 06:58 PM
|
Replies: 14
Views: 5,822
1. You are comparing apples to oranges. When...
1. You are comparing apples to oranges. When evaluated it looks something like this:
if (14.25 >= (14.00+100)) which evaluates to:
if (14.25 >= 114.00) which always returns false.
To fix it you...
|