I require a MT4 Custom Indicator which will operate on the standard MT4 Stochastic Indicator, and in the indicator window. It's purpose is to sound an alert when a user-specified value for the Stochastic fast line is hit.
When I load this custom indicator for a currency pair chart a user menu should appear to allow me to enter a value (numeric range 0 - 99.9) for the Stochastic fast line (default value is 50). That value should be printed in red on the stochastic indicator at the time when it is input, at around the 50 level (not critical and it does not need to be at the exact value position either), and will remain there until the indicator is cancelled. The Custom Indicator becomes "live" once that value has been input.
If that value is subsequently hit by the Stochastic fast line the Custom Indicator should sound an Alert, once only. The Sound file is a user input also - default is MT Alert Sound. The Custom Indicator is cancelled once the Alert has been triggered. I do not need the normal Alert message in the Price Window.The alert should only be triggered once a price bar has closed and a new bar has opened.
Thank you Fedor.