Page 1 of 1

RSI Divergence Candles V2

PostPosted: Thu Oct 17, 2019 1:41 pm
by Fernas
Hi

could you please code the following indicator:

RSI Divergence Candles V2

the full description and output is found in the following link:

https://www.tradingview.com/script/4VKd ... andles-V2/

best regards

Re: RSI Divergence Candles V2

PostPosted: Thu Oct 17, 2019 3:20 pm
by Apprentice
Your request is added to the development list.
Development reference 208.

Re: RSI Divergence Candles V2

PostPosted: Fri Oct 18, 2019 11:25 am
by Apprentice

Re: RSI Divergence Candles V2

PostPosted: Sat Oct 19, 2019 10:28 am
by Fernas
many thanks for your kind efforts. The indicator is working perfectly.

However, I require please, if that is possible, to have the data source for the indictor (H+L)/2, or even better to have the data source modifiable. Please see the attached photos for explanation.

best regards

Re: RSI Divergence Candles V2

PostPosted: Sun Oct 20, 2019 3:48 am
by Apprentice
To be able to draw candles, the complete bar is needed.

Re: RSI Divergence Candles V2

PostPosted: Sun Oct 20, 2019 7:58 am
by Fernas
yes, you are correct, however, the "Source of Series" in the indicator and in the request above is referenced to the "price bar" not RSI Candles. At any point of the trading session, at any time frame, you do have the "Open, High, Low, Close" price data. The close price will be changing as long as the price bar time frame has not ended.

src = input(title='Source Series:', type=source, defval=close)

instead of "close" in the above line, it can be "(High + Low)/2 " .. or it can be modifiable

best regards

Re: RSI Divergence Candles V2

PostPosted: Mon Oct 21, 2019 5:07 am
by Apprentice
Try it now.

Re: RSI Divergence Candles V2

PostPosted: Mon Oct 21, 2019 6:25 am
by Fernas
perfect ... many thanks for your help