Работа завершена
Техническое задание
The Trade Maker is an EA that only takes trades based on the logic below, parameter settings are in the attachment. The EA does not manage or close any trade, that will be done by another EA. This EA will run on a single chart on the MT4 Platform and should be coded to execute trades on up to 6 pairs at a given time as per settings specified.
The most anticipated virtue of the EA is its efficiency in taking trades with no delay. It will look for trade taking opportunities based on the chart it runs on. If on 1m chart then every 1 min or 5m chart every 5 min. On opening of a new candle.
So, this EA is intended to be a part of a martingale based system. This EA’s job is as follows;
The EA constantly checks for Buy and Sell trades in the specified pairs. The moment it does not find either buy or sell trades for any specified pair as the case may be it springs to action by executing trades based on the parameters.
How it makes trades?
Once it establishes that, let’s say eurusd has no buy trades.
It checks the account balance, if balance is $6000, and parameter says 3,000 for every 0.01 lot
It makes the first buy eurusd 0.02 lot
Since maximum trades is set to 10, it takes 1 or all trades immediately or takes First trade and waits for price to move in the opposite direction (down) taking an additional trade every X pips specified in the Grid Step parameter. If grid step is 6, it will take the second trade when price moves 6 pips below the first trade. And 6 pips below second trade for the third trade. If Grid step is Zero it will take all the trades specified in parameter all at once.
Lot size calculation is as below for each successive lot using Lot Multiple:
Trade 2 > First Trade (0.02) + First Trade (0.02) x Lot Multiple (2) = 0.06
Trade 3 > Second Trade (0.06) + First Trade (0.02) x Lot Multiple (2) = 0.10
Trade 4 > Third Trade (0.10) + First Trade (0.02) x Lot Multiple (2) = 0.14 son on.
Each Currency Pair will have its own magic no.
It will only take trades based on a start and end time. Once it is done, it will wait for the same of a different currency to have no trades either buy or sell and trigger again.