Correlation Indicator code help
Posted: Thu Feb 23, 2017 12:32 am
Dear Mladen,
The NeutralHedge Overlay_v5 indicator works without errors in the chart.
But when I try to do backtesting there is a division error by zero in the line (line 181) below.
Could you correct this bug?
Thank you,
Rogério
The NeutralHedge Overlay_v5 indicator works without errors in the chart.
But when I try to do backtesting there is a division error by zero in the line (line 181) below.
Code: Select all
PipsRatio = ( CurRangeHigh - CurRangeLow ) / ( SubRangeHigh - SubRangeLow );
Thank you,
Rogério