When copying this strategy for 6E I am not getting the code to work - it compiles but does not show any trades on the chart.
Does Ninjascript have a problem with decimal places?
For example:
SetStopLoss ("SHORT", CalculationMode.Price, ((Math.Max(0.005, (DailyATR(5)[0]*0.3))) + CurrentDayOHL().CurrentOpen[0]), false);
Being an FX contract with small decimal values for stops etc will that cause calculation problems for the code?
Regards and thx
Comment