I experience again a really weird problem. I use the following code to get cashmarket high/low:
1
2
3
4
5
6
7
iftime=090000then
Cashopen=intradaybarindex
endif
iftime=173000then
CashHigh=highest[intradaybarindex-cashopen](high)
CashLow=lowest[intradaybarindex-cashopen](low)
endif
The code works in an indicator i coded but when i use it in a strategy it works also great except on tuesdays!? On tuesdays it will not update CashLow and CashHigh and i have the whole tuesday still the high/low from fridays session in the variables instead of the values from monday. All other weekdays in works fine.
Yes, i used graph but it only reveals what i already know. Tuesday the variables do not update. All other it works. And this is only for the strategy. The indicator runs fine.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue