Job finished
Specification
Good afternoon,
I have a model that I use for manual trading in Amibroker. It's written using AFL language, which might be specific for Amibroker. I'd like to ask if anyone would be willing to translate that code into something usable in Metatrader 5 and automate it so it's capable to trade on its own using my account. The model is an Elliot Wave/Fibbonaci combination.
In addition of translating the AFL code, I'd like to request some additional inputs:
Each trade will use only 25% of available equity (please make this modifiable). Before placing any orders, the model needs to check what is the current available equity and take 25% of that. I call "available equity" the amount in the account that is not invested into any position. Basically, loose cash.
Every time the model scans and find a signal for an instrument, check if an order/position is already set for that instrument AND signal (buy, sell, etc). If it is, then do nothing; position is already opened. If not, then take the position.
The system is supposed to be self-sufficient. If manual trading is done, the system should ignore all manual trades done but still consider the available equity in the account to make a trade (point 1).
Be able to change the model from daily to hourly
Make it possible to use the model in several symbols at once, like a portfolio
The model is to be used with stocks and leveraged ETFs. No FX, futures, or any other instruments.
No Short positions. Only longs.
No margin account. Everything is 1:1
If possible to code, I'd like to receive an email notification every time the model places an order. I'd like to be able to turn this on or off.
If possible to code, I'd like to receive an email in case of a critical error
If possible, please place a button on the chart to which the EA is attached to turn the EA on or off. Trading can only start after manually switching ON and it will stop if manually switched OFF. When switched OFF, do not close opened positions or pending orders.
The EA must work on a real account. All of the necessary checks and alerts must be placed to ensure normality can be restored as soon as possible.
The EA should be able to restore its normal work after a temporary disconnection, reconnection to the account, or a reset of the client terminal.
The model was tested in Amibroker with Daily charts. If the model gets an entry or exit signal, it's more important to me that the trade is placed and executed before the market closes (let's say, 5 minutes before the close) at the current market price rather than having a limit order placed at the "optimal price" but that price isn't reached before the market closes. The leveraged ETFs I trade swing a lot in the opening gap, so I I'd rather take position at market close price and catch the opening gap of the next day than miss the swing entirely.
Please let me know if you would be willing to take this request. I'm more than happy to discuss further details or even adjust the budget if needed. The AFL code and performance statistics will be provided later but some screenshots are already attached. I would also like to have the source code of the system. Below a summary of what I hope to achieve using this system:
Goal 1: achieve a P&L performance on the strategy tester inside Metatrader 5 that is very similar (as close as possible) or equal to the one tested in Amibroker for my specific set of instruments individually
Goal 2: achieve a P&L performance on a demo account very similar or equal to the one tested in Amibroker for my specific set of instruments individually
Goal 3: Use this Expert Advisor in a real account. Funding is very small and the EA will be tracked closely during 2-3 weeks. Absolutely no manual interferences allowed.
Thank you very much.