john_everist

MTF Stochastic with automatic divergence

john_everist Mis à jour   
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.





Notes de version:
fixed background highlight for non white screens
Notes de version:
stronger signal filter
option to make upper stochastic grey
Notes de version:
bug fix
Notes de version:
bug
Notes de version:
.
Notes de version:
the script stopped working - must be a pine update

I 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...
Notes de version:
j
Notes de version:
d
Notes de version:
d
Notes de version:
choose any currency and can see 3 timeframes up
Notes de version:
I FORGOT TO ADD REVERSE JPY OPTIONS
Notes de version:
THIS TIME I GOT IT
Notes de version:
READDED JPY
Notes de version:
.
Notes de version:
Various updates. The auto divergence is long gone.
Notes de version:
gygtuyg
Notes de version:
vhgvhgv
Notes de version:
improved bgfill
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?