Rsi of current Ask price.

 

Hi

I was wondering is it possible to display the rsi of the current candle plus the current spread.

So basically I can see what the rsi value would be after the price as moved the value of the spread.

Thanks

Antony

 
tonyjms2005:

Hi

I was wondering is it possible to display the rsi of the current candle plus the current spread.

Yes, but why would you want to?

tonyjms2005:


So basically I can see what the rsi value would be after the price as moved the value of the spread.

 I have no idea what this means

 

Hi

Sorry for the delay it is for a small project, any ideas how this can be achieved, I can code quite well but I am a bit stuck with this one.


Thanks


Antony

 
tonyjms2005: any ideas how this can be achieved,
  1. There is no need. Unless the spread changes dramatically, between bars the RSI would show the same value, because it displays relative strength and the relative strength of the Ask is the same as the relative strength of the Bid.
  2. So get the RSI code, and where you see Close[x] - Close[x+1] substitute (Close[x] + Ask-Bid)  - (Close[x+1] +  Ask-Bid)
Reason: