// 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 indicator which I have added some stuff for visual aid:
- Added middle line (50)
- background turns green when K line crosses D line UPWARDS, K line is below the 50 level, and price is above 200
- background turns red when K line crosses D line DOWNWARDS, K line is above the 50 level, and price is below 200
- Alert notification on the crossover candle with background colour change conditions met
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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.