Looking at the RSI for example, historical values are plotted using the value at the close of each bar. In real time, when I am trading live, if the RSI is at a particular point, say below 30 (oversold) at the open of the currently forming candle (which I can get using 'UpdateOnEachTick') then I want to use that as an entry for my strategy, rather than waiting until the bar closes and observing what the value is at that point in time.
Essentially, what I want to do is change the RSI to plot historical figures using RSI values at the open of each candle rather than the close of each candle. This way my back testing would be accurate as it would mimic what I would be seeing in real time, rather than playing a guessing game as to what the RSI value would be at the open of each candle.
I'm sure that this is achievable but I'm not so sure how I should approach this.
Comment