Attachments forums

List of attachments posted on this forum.


All files on forums: 136229

Correlation Indicator code help

borgesr, 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.

 

Code: Select all

PipsRatio = ( CurRangeHigh - CurRangeLow )  / ( SubRangeHigh - SubRangeLow );
Could you correct this bug?

Thank you,
Rogério
All files in topic