Indicators: PercentageCrossover

 

PercentageCrossover:

A Moving indicator that does not use averaging in its code.

Fig.1 The PercentageCrossover indicator

Author: Nikolay Kositsin

 

there is a bug in the code that doesnt allows me to compile

 

Make a beep when it changes colour. Please
and maybe attach an arrow when it changes colour and sound.
Is there anyone who knows how to do this? I really need it.