OPEN-SOURCE SCRIPT
Aggiornato MTF Stochastic with automatic divergence

This is a stochastic indicator that show the stochastic in your current timeframe and also the stochastic from the timeframe above (if current is 15 mins - the above is 1 hour etc). When the 2 stochastics align the background colour highlights to emphasise that. The idea being that you have your current stochastic pushing down improving your change of a successful entry and the stochastic from above pushing down showing there is momentum in that direction.
In addition, the indicator will show when positive and negative divergence occurs on the current timeframe. Divergence can be a little subjective but it seems to find the important ones.
Finally, it highlights when the current stochastic crosses. I was finding once you squash it down it gets difficult to see so I made that easier.
For me I don't tend to use the divergence feature (which is ironic as i found it very hard to code) but being able to see what is happening on the timeframe above is a very effective filter saving me from bad trades.
The script is a little scruffy in places but neat enough to adapt to other indicators. Somewhere I have the same principle for MACD - one of these days I'll find it and make it available.
Hope thats useful to people and good luck.




In addition, the indicator will show when positive and negative divergence occurs on the current timeframe. Divergence can be a little subjective but it seems to find the important ones.
Finally, it highlights when the current stochastic crosses. I was finding once you squash it down it gets difficult to see so I made that easier.
For me I don't tend to use the divergence feature (which is ironic as i found it very hard to code) but being able to see what is happening on the timeframe above is a very effective filter saving me from bad trades.
The script is a little scruffy in places but neat enough to adapt to other indicators. Somewhere I have the same principle for MACD - one of these days I'll find it and make it available.
Hope thats useful to people and good luck.
Note di rilascio
fixed background highlight for non white screensNote di rilascio
stronger signal filteroption to make upper stochastic grey
Note di rilascio
bug fixNote di rilascio
bugNote di rilascio
.Note di rilascio
the script stopped working - must be a pine updateI fixed it and modified the input but I've dropped the divergence - its too complicated to fix. Its the previous revision if someone wants to rescue it...
Note di rilascio
jNote di rilascio
dNote di rilascio
dNote di rilascio
choose any currency and can see 3 timeframes upNote di rilascio
I FORGOT TO ADD REVERSE JPY OPTIONSNote di rilascio
THIS TIME I GOT ITNote di rilascio
READDED JPYNote di rilascio
.Note di rilascio
Various updates. The auto divergence is long gone.Note di rilascio
gygtuygNote di rilascio
vhgvhgvNote di rilascio
improved bgfillScript open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.