OPEN-SOURCE SCRIPT

[fikira] MACD & RSI+Stoch + Divergences

Aggiornato
This is a new version of my "Divergences"

Compared to my "Divergences (Pivots)", this is calculated totally different

There are 3 options:
- MACD
- RSI
- Stoch RSI
istantanea

Since this script is very heavy in calculation it is limited in time (= inspired from a script of "Che_Trader")
Also it uses "max_bars_back" (=1000)

For MACD and Stoch RSI there is a "custom Divergences Period", which compares more then 7 Pivot Points,
the higher the number, the less reliable, it is not necessary to use this, but it is there,
also you can change the "leftbars" and "rightbars", again, it is not necessary to change, but you can...

Linewidth and style of the Divergences lines can be changed

Thank you!

Note di rilascio
The lines tend to make the script very heavy

I've added the option "Just show Arrows (No Lines)"
It is now set default as true, so standard NO LINES are shown
istantanea

This makes it a bit lighter, you can make the lines visible by enabling the
"Just show Arrows (No Lines)" button, just wait a bit until it deploys.

When the message "Calculation timed out.Remove the indicator and reapply it to the chart" is visible,
try to refresh or pick another TimeFrame (and return to the previous TF), normally it will work then.

Since it still is a heavy script, in the near future I will add 3 separate "RSI", "Stoch RSI" and "MACD"
scripts with Divergences to see if it is lighter and faster in use,

Thank you very much!
Note di rilascio
Updated small changes
Note di rilascio
Added more options, also loads quicker and more efficient,
possibly could still be a bit slower than the separate MACD, RSI, RSI + Stoch + DIV scripts,
it is what you prefer,

Thank you very much!
Note di rilascio
Added alerts
Note di rilascio
Completely revised script
Note di rilascio
🔸 Settings

istantanea

The old RSI / Stoch & MACD divergence scripts are deprecated.
DivergencedivergencesMoving Average Convergence / Divergence (MACD)Relative Strength Index (RSI)Stochastic RSI (STOCH RSI)

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?


PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -

Declinazione di responsabilità