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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?