Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629
|
ccansonchan,
there is always the possibility that values within a strategy are different compared to values you see on a chart for an indicator (one reason could be a different "maximum bars back" setting). Therefore it can make sense to use the "Print" reserved word to check the values within your strategy code. In Multicharts you can also utilize i_SetPlotValue and i_GetPlotValue to display strategy values using an indicator. This can be helpful in tracking the differences down.
Regards,
ABCTG
|