Trabajo finalizado
Tarea técnica
Need an EA created to check a gmail account for incoming signal emails and execute them in MT4
To clarify since this seems to confuse...: EA will be entering trades RECEIVED via email to a Gmail account. I'm not wanting an EA that sends email... I want an EA that can execute orders received from a signal provider into a gmail account.
REQUIREMENTS:
1.) Should be able to connect to Gmail to scan for new messages
2.) Should look for FROM email address to ensure someone can't send mail in the correct format and cause trades to execute that aren't from the signal provider
3.) Should allow risk % to be specified and calculated based on current balance or equity depending on Symbol and SL distance from entry price
4.) In email message, read signal trade details content and execute trade in MT4
5.) Once TP1 trade has hit the TP1 price, close it and move TP2 and TP3 trades (if they exist) to break even +5 pips
6.) When placing trades, sometimes signal provider sends "market entry" signals meaning to enter a trade immediately vs a limit or stop order. When this happens, EA needs to check to be sure price is not more than X pips from the entry price received in the signal (in the event an email is delayed, etc)
7.) A few of the brokers I use have a character after the symbol. Example: TradersWay places an ‘i’ so EURUSD is EURUSDi Example2: FinPro and TurnkeyFX add ‘_’ so EURUSD is EURUSD_ EA should either allow me to specific if there is a suffix or adapt to it without issue.
8.) Nice to have but not required would be a dashboard showing trades currently being managed as well as some sort of list of trades skipped because price had moved too much.
9.) Lastly, In the event signal provider changes email format, I will need a way to change what the script pulling or reading the emails or the EA is looking for so that it can continue to work even if they change wording or format of the incoming signal emails.
I know Google has APIs for reading email but I'm good with IMAP or however you want to do it just so long as it can check for new mail every 30-60 seconds and everything can run on the same Windows Server VPS as my MT4 instance.