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.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.