chkOnlineStatus shows the three relevant items of the online status of the terminal:
Is send you an email if for a longer period (MinutesWaitMail) the server seems to be unavailable.
prev_calculate set to zero again and again might become important if you want to code an indicator on OOP base. A (re-) declaration of all the classes might take quite some time and can cause a warning: "Your indicator is to slow..."
The setup window offers you:
If the indicator show the status on the chart you will see:
Each item of the status can use 6 lines ([0..5]). The latest entry is always in top of its group. Here you can see that for prev_calculated the latest and actual entry has the highest number of rets_total: 2'048. This shows you as well that the mt4 several times sets prev_calculated to zero until the available history is loaded.
You can start it beside other indicators or together with an EA. In this case you should better de-activate the comments.
You need only ONE for each terminal (I guess).
I hope it helps you!
Translated from German by MetaQuotes Software Corp.
Original article: https://www.mql5.com/de/code/19455
This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index indicator crosses above oversold.Multi Timeframe Triple Moving Averages
This indicator allows you to see the Moving Averages from different timeframes on the same chart. It helps you to spot the dynamic levels of support and resistance. It uses a custom window with check boxes to show/hide the different Moving Averages without need to access the indicator settings window.