I have systems that must be run on daily timeframe, but since ProRealTime don’t have “look inside bar”, I can’t see which SL and TP that works best.
But if I change the code to the following, then maybe I could run the code on any timeframe, and it would still use daily data? Is that correct?