genma01

Divergence Finder (RSI/Price) with Options

genma01 Aggiornato   
Divergence finder used to find BUY or SELL Signal based on a divergence between Price and RSI (Price goes UP when RSI goes down / opposite )

You can configure the script with several Options :

Source for Price Buy Div : you can use the close price of the candle (by default) or use the high price of the candle for exemple.
Source for Price Sell Div : you can use the close price of the candle (by default) or use the low price of the candle for exemple.
Source for RSI Div : you can use the close price of the candle (by default) to calculate the RSI .

Theses settings allow you to set a minimum RSI level to reach to activate the Divergence finder (p1 is the first point in time, and p2 is the second one):
Min RSI for Sell divergence(p1) : this is the minimum RSI level to reach for the first of the 2 points of divergence (Default 70) for the SELL Signal
Min RSI for Sell divergence (p2) : this is the minimum RSI level to reach for the second of the 2 points of divergence (Default 60) for the SELL Signal
Max RSI for Buy divergence (p1) : this is the minimum RSI level to reach for the first of the 2 points of divergence (Default 30) for the BUY Signal
Max RSI for Buy divergence (p2) : this is the minimum RSI level to reach for the second of the 2 points of divergence (Default 40 ) for the BUY Signal

Theses settings allow you to set a minimum margin difference between our two points (p1 and p2) to validate the Divergence
Min margin between price for displaying divergence (%) : Set a minimum margin (in % of the price) before the indicator validate this divergence
Min margin between RSI for displaying divergence (%) : Set a minimum margin (in % of the RSI ) before the indicator validate this divergence

Display Divergence label : Choose to display the price of the candle, and the RSI when a divergence is found
Display tops/bottoms : Display where the tops and bottoms are calculated directly on the chart
Note di rilascio:
re-enabled MinMargin for Sell Divergence (was only used for buy divergence by mistake)
Note di rilascio:
clean the chart
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?