Tutorial05

Stochastic w/ Crossover Alerts (by WJ)

Tutorial05 Telah dikemas kini   
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)
Nota Keluaran:
Changed alerts to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
Nota Keluaran:
Changed to both K and D line as it seems to be the best solution
Nota Keluaran:
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into account
Nota Keluaran:
Added middle line
Nota Keluaran:
Added toggleable background colour change when k line crosses 50
Nota Keluaran:
Added new alerts for non-OBOS crossovers
Nota Keluaran:
MA checking was slightly wrong (used OPEN instead of CLOSE), fixed
Nota Keluaran:
Updated some stuff
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?