Tutorial05

Stochastic RSI w/ Crossover Alerts (by WJ)

Tutorial05 מעודכן   
NOTE:
// STOCH RSI CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT

This is the normal default built-in Stochastic RSI indicator which I have added some stuff for visual aid:
  • Added middle line (50)
  • Stoch RSI background turns green when K line crosses D line UPWARDS, K line is below the 50 level, and price is above 200 EMA
  • Stoch RSI background turns red when K line crosses D line DOWNWARDS, K line is above the 50 level, and price is below 200 EMA

  • Alert notification on the crossover candle with background colour change conditions met
הערות שחרור:
- Added OB/OS only crossover alerts (remember to disable the one you don't want as both are on by default)
הערות שחרור:
FIxed a mistake in upper and lower band value
הערות שחרור:
Fixed alert naming
הערות שחרור:
1. Better way to toggle alerts on/off now
2. You can now choose alerts to display with different MA filters: EMA, WMA, SMA, None.

Please let me know if there are any bugs especially on the Alerts itself.
הערות שחרור:
K line filter changed to D line instead to give a more accurate signal
הערות שחרור:
Changed it back to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
הערות שחרור:
Changed to both K and D lines as it seems to be the best solution
הערות שחרור:
Added toggleable background colour change when k line crosses 50
הערות שחרור:
Re-publishing as I accidentally updated this with the Stochastic instead.
הערות שחרור:
Updated some stuff
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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