명시
Protection function:
This protoection Function I will add in the future in several source codes of EAs - so I need the code inthis EA and separate file aswell
All changes should be made in source code upest.
- Date till EA does working or is active- If not active, Error Message (with information) in Chart and EA should be deleted from chart.
- in Chart should shown till which Month EA is active..Not the Day, only the month.
- EA does only handle orders form following EAs Magic Numbers - EA dos not handle market orders and orders from other EAs
- On account number - EA is only active and trading on that MetaTrader Account- if not correct Error message in Chart.
- Only live Account or demo account to edit in source code - EA is trading only on live or Demo Account
- EA is only active till Equity - if equity is reached, all order in terminal in market and pending will be deleted. EA has to check if all orders are closed… may in the time of closing a pending was executed… and stay in market - all orders has to be closed.
- License code which is in source code (can be changed), which must be imputed in set, to set EA active
- EA is only active, if following magic EAs are also run in the terminal. Example - magics 99887,445567,88643,86436,8675 - can I only changed in sets - if one magic is missing - error message in chart - EA is missing and has to install
- If EA is active, there should be sent an E-Mail with the following information. SMTP Email of user, Broker, Account number, balance, equity, live or demo account, Name of holder, leverage. For this email to send, License code must be not inputted. After E-Mail is sent, Customer gets license code. Only after inputting license code and email was send EA start trading.
- Email Update After xdays - interval to definite after 15 days. So every 15 days, EA sends email with the above information.
- Sets of EA can not be seen and not changed if pressing F7 - if pressing F7 there can be only add Licenses code
Note if customer has deactivated the SMTP function. EA has to delete all orders in terminal and do not open any more orders. Only if Set is again correct
Message in chart
There should be also made this Change:
EA should not open orders on Friday after 21 server time (where platform is running) - show in Chart information at what Time Trading is finished.
Set: Do not open Trades after XX:XX hour - only on Friday
Error messages in chart, what’s not correct. Also with information if it is activ or correct
Source code, I will deliver after selection.