I'm new to Ninja Script and what I need is a piece of code which I could insert to a custom indicator in NinjaScript editor. I need EMA_Slope_Color indicator (or any other indicator as well) to play a sound alert when it turns from up to down or from down to up (= when it changes color). Staring monitor makes my eyes sore and you can't do that for a long time. Can anybody please help me with this? I have tried this myself for 2 days now but haven't been able to figure it out.
Thanks
Comment