I have been working with the iWPR indicator quite a bit, and have
discovered that it sometimes returns nonsense values not at all related
to the position of the indicator line on the visual charts. This of
course upsets the program logic. My analysis so far is leading me to
believe that it might be related to the "calculate on first trade of
the bar" (typically implemented as {volume[0]<=1} ) qualifier.
Has anyone else experienced this issue? Is there a workaround? And
is there a better way perhaps to force a trade decision to occur only
once per bar?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have been working with the iWPR indicator quite a bit, and have discovered that it sometimes returns nonsense values not at all related to the position of the indicator line on the visual charts. This of course upsets the program logic. My analysis so far is leading me to believe that it might be related to the "calculate on first trade of the bar" (typically implemented as {volume[0]<=1} ) qualifier.
Has anyone else experienced this issue? Is there a workaround? And is there a better way perhaps to force a trade decision to occur only once per bar?