工作已完成
指定
Hey guys,
I need a very simple martingale single order EA. Budget for this is super low since is a very simple EA that probably is not gonna take longer than 1-2 hours to code.
SOURCE CODE IS NEEDED WITH THE EA DELIVERY
Settings:
1. Time = From and To
2. Initial Trade (First Trade) = Long or Short
3. Lot size
4. Lot Multiplier
5. Stop Loss
6. Take Profit
7. Daily Target in % or $
8. Magic Number
9. Comment
10. Account Panel Info = like in the source code I can provide.
EA MUST BE BACKTEST FRIENDLY!
-
The EA's concept is straightforward: it begins by setting the initial trade direction, which can be either LONG (buy) or SHORT (sell). The first trade the EA opens will align with this initial direction and occur immediately when the specified time is reached.
-
Assuming the initial LONG trade is successful and results in a profit, the EA will continue opening new LONG trades one after another until a loss occurs.
-
Once a loss is encountered in a LONG trade, the EA will change its direction and attempt a SHORT trade. If the SHORT trade is profitable, the EA will continue opening new SHORT trades until a loss occurs in a SHORT trade.
-
If a loss is experienced in a SHORT trade, the EA will switch back to the LONG direction and resume opening new LONG trades.
-
This alternating pattern of trading, switching between LONG and SHORT, will continue indefinitely.
To summarize, the EA starts with an initial trade in either LONG or SHORT. It keeps opening trades in the same direction as long as they are profitable. If a loss occurs, it switches to the opposite direction and continues opening trades until a loss is experienced again. This cycle of alternating directions repeats endlessly.
I DO HAVE A SOURCE CODE OF THE EXACT EA MORE OR LESS BUT IS VERY SLOW IN THE BACKTEST AND ONLY TAKES SOME TRADES SO IS BUGGY BUT IT WORKS LIKE A CHARM ON LIVE. I CAN SHARE THE CODE FOR YOU TO MAKE A NEW.
I WOULD NEED THE JOB DONE TODAY!