Trabajo finalizado
Tarea técnica
I have started (but it does not work properly but can share what I have so far) a MT5 indicator in .mql5 format. The indicator should be named MT5 Margin Alert. The indicator should have the following user input variables that can be selected by a user a) Margin Alert % Target, b) Turn Algo Trading Off (if margin % target reached) and c) Monitoring Frequency (in minutes).
The indicator will be placed on a chart within a MT5 account running automated trading algorithms on various charts, including curreny pairs, commodity pairs or crypto pairs. The chart window the indicator runs on will be separate from the chart windows that run the automated trading algorithm EAs but within the same MT5 account.
The indicator will monitor the MT5 account margin % (global value) on the frequency set by the user input. If the margin account % is equal to or less than the Margin Alert % Target set by the user the indicator will send an alert. The alert will alert within the MT5 terminal and I will connect my MT4 iOS app to the MT5 platform through my MetaQuotes ID so that the alert will also alert my phone.
If the user input Turn Algo Trading Off is set to ‘Yes’, the indicator will also turn off the global Algo Trading setting so that no EAs within any chart windows within the MT5 account can place new trades. Existing trades should remain (positions should not be sold) as they are and existing t/p should be unchanged. The user can re-enable Algo Trading manually but the indicator will not re-enable algo trading. If the Turn Algo Trading Off is set to ‘No’, the alert should be generated but the Algo Trading setting should not be turned off and the EAs should continue to trade.
I have built a MT5 Script that uses a .mhq file to disable Algo Trading globally and I can provide. An option to execute the Turn Algo Trading Off is to call this script from the indicator, if that is the easiest. If the script and .mhq files can be consolidated into the indicator easily, that is even better.
Lastly, for the chart window the indicator is placed on, the indicator should plot (based on the timeframe selected by the user input above) the actual Margin % of the account over time in a line chart. In addition, the following text/metrics should be displayed directly in the chart window and update accordingly: a) Actual Margin %, b) Target Margin % (as selected by user) and c) Turn Algo Trading Off (yes or no as selected by user).
The final deliverable should be a MT5 indicator in .mql5 format that will compile and includes the functionality as specified above.
Please estimate a # of hours expected to complete this project and your rate to get to a total fee. Are you proposing a fixed fee or hourly approach? When can this work be started and what is your estimate of when it may be completed? I would like to move this forward as soon as possible upon agreement of the terms and can share those items mentioned above to assist in getting this project started.