I first explain the strategy, and then I set up an artificial trading case
1) Market BUY Order comes from the Telegram copier looking like 0.02 lot with Take Profit set to 4 pip, and StoppLoss set to 30 pip.
2) This trigger our new EA that you are programming now to set up to 5 new orders (Quentity to be programmable for me in the EA properties - 1 to 5 orders), all these orders with size 4 pip (To be programable in the EA properties), These 5 orders are to be set just after each other so that next order of this group takes over when the first order goes to TP.
and each of these up to 5 orders have their own TP of 4 pip and its own SL of 30 pip. (To be programmable for me in the EA properties).
3) When any of these orders during their “trading life” hits their set StoppLoss, all of the orders connected to this order; 1 to 5 orders (open order and not yet opened orders) will close.
A “live” study:
1) Incoming XAUUSD BUY Market order from Telegram, at 2700.00 TP set at 2700.40 and StoppLoss set at 2697.00
2) Our new EA detects this, and act at once by setting up 5 new pending orders at:
At 2700.40 at 2700.80 at 2701.20 at 2701.60 at 2702.00
These 5 orders have StoppLoss: at 2697.40 at 2697.80 at 2698.20 at 2698.60 at 2699.00
These 5 orders have Take Profit at: at 2700.80 at 2701.20 at 2701.60 at 2702.00
3) When market goes on, it will reach the TakeProfit of the Order incoming from the Telegram copier at 2700.40
and a new order will at the same time opens at 2700.40 (Our first set order from our new EA out of 5 orders).
Now this new order goes to TP at 2700.80 or it goes to SL at 2697.40
If it goes to SL at 2697.40, all passive as well as this active order will close.
If it goes to TP at 2700.80, a new order number 2 of 5 orders will be opened at 2700.80
4) The sequence will repeat, as now the newly opened order 2 from the EA is open.
This new order either goes to hit TP at 2701.20 where a new order will be created as listed here above.
Or it goes to SL at 2697.80 with the result that our EA closes all trades (these open trades as well as all pending trades connected to this order.
5) This order handling will repeat itself 5 times with 5 orders from this new EA, and after that this order is finished.
Best regards
Erik
Solicitudes similares
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b