john_everist

MTF Stochastic with automatic divergence

john_everist 已更新   
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.





版本注释:
fixed background highlight for non white screens
版本注释:
stronger signal filter
option to make upper stochastic grey
版本注释:
bug fix
版本注释:
bug
版本注释:
.
版本注释:
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...
版本注释:
j
版本注释:
d
版本注释:
d
版本注释:
choose any currency and can see 3 timeframes up
版本注释:
I FORGOT TO ADD REVERSE JPY OPTIONS
版本注释:
THIS TIME I GOT IT
版本注释:
READDED JPY
版本注释:
.
版本注释:
Various updates. The auto divergence is long gone.
版本注释:
gygtuyg
版本注释:
vhgvhgv
版本注释:
improved bgfill
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?