Tutorial05

Stochastic w/ Crossover Alerts (by WJ)

Tutorial05 تم تحديثه   
NOTE:
// STOCHASTIC 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 indicator which I have added some stuff for visual aid:
  • Stochastic background turns green when K line crosses D line UPWARDS, D line is below the oversold level, and price is above selected MA
  • Stochastic background turns red when K line crosses D line DOWNWARDS, D line is above the overbought level, and price is below selected MA
  • Alert notification on the crossover candle with background colour change when conditions are met (MA filter)
ملاحظات الأخبار:
Changed alerts 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 line as it seems to be the best solution
ملاحظات الأخبار:
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into account
ملاحظات الأخبار:
Added middle line
ملاحظات الأخبار:
Added toggleable background colour change when k line crosses 50
ملاحظات الأخبار:
Added new alerts for non-OBOS crossovers
ملاحظات الأخبار:
MA checking was slightly wrong (used OPEN instead of CLOSE), fixed
ملاحظات الأخبار:
Updated some stuff
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟