AUDIO INDICATOR CROSSOVER ALERTS DAS TRADER PRO CODE
You can ask the indicator's author for the source code if you only have a compiled file (.ex4 or .ex5). You will not be able to add alerts to an indicator if you lack its source code. Sometimes indicators use more than one file for their source code. mq4 file for MetaTrader 4 and .mq5 file for MetaTrader 5. You will need an access to the indicator's source code .Conditions can be simpler or more complex, but you should already know what you want to be alerted about if you are looking to add alerts to an indicator.īefore you proceed, make sure that the prerequisites listed below are met: For example, a classic condition for MACD buy alert could be formulated as: current MACD Signal below current MACD Main and previous MACD Signal above previous MACD Main and both current MACD Signal and MACD Main are below zero. Formulate conditions for alerts to fire up.Identify indicator buffers that are used by an indicator and contain the data you want to be alerted about.Add input parameters for turning alerts on/off and adjusting some alert settings - all entirely optional but it is better to have some easy way of configuring things than to re-code everything each time your needs shift.
![audio indicator crossover alerts das trader pro audio indicator crossover alerts das trader pro](https://i2.wp.com/tradejanis.com/wp-content/uploads/2019/09/01.png)
![audio indicator crossover alerts das trader pro audio indicator crossover alerts das trader pro](https://pbs.twimg.com/media/FQVRfjeXMAAk_Uj.jpg)
You have to do three things to add an alert to an indicator: The good thing is that what you will require is so simple that even a 5-year old could do it after reading this post. One important thing to understand is that it isn't possible to add alerts to indicator without at least some coding. You can learn some basic MQL4/MQL5 coding by reading our guides on MQL programming.