I had an ea coded, to 'open a new position when the terminal floating equity is at certain negative levels', but it does not work very well.
I am including it here, as some of the code may be useful.
I will first explain how I currently trade for clarity. Its not too complicated :)
1. I open 2 positions at the same time. ( I call this a SET; I currently use an EA to open the positions, and it works pretty well )
2. When terminal drawdown gets to a specific equity drawdown level ( -$ 10 for example) > I open the SAME SET again. I do this manually
* ( I cannot monitor the dd all the time so this is the main reason why I need an EA > to open a new SET at the specific equity drawdown level ( of terminal)
4. If the terminal drawdown goes down more ( to $ -20 for example) > the EA ( or me) must open the SAME SET again.
This carries on unlimited,,,until step 5 below.
5. If the floating equity goes into profit , I have a ea that closes it.This EA can also disable autotrade once all positions are closed.
6. If the disable function is not used, no1 ( 2 position = a SET) starts again
I need the EA for the reason at * above.
I need to know what will work the best in terms of the logic , to get everything to work the way it should:
For example : The EA must know the values of the SET it must open ; The SET is always 2 pairs
SET = Pair ; Buy or Sell ; Lot size
Example : of a SET :
Pair 1 : USDCAD , sell , 0.1 lot
Pair 2 AUDUSD, buy , 0.1 lot.
I have a separate ea hat opens the trade on launch, Currently I attach the ea to a chart of each pair and switch on autotrade to open 2 positions at the same time.
Maybe ONE EA should do this ?
Why I say this : Point 2 above refers: The SAME 2 positions, with the same values ( buy / sell ; lot size) must open at the specified DD level of the MT4 terminal
So to me its logical that the EA that opens the first SET (2 pairs) , must also open the 2nd SET ( same 2 pairs with same values) on trigger ( - negative DD level reached) agian
....and I guest one EA could also close ALL open trades at a certain floating equity PROFIT level ; and disable any further trading
How I used the EA attached :
I attached the EA to 2 charts ( the 2 pairs trade) . It is suppose to monitor the floating equity and open another position( of each pair) when the Floating P?L reaches the levels on the INPUTS. But it does not work correctly. EA on chart 1 sees dd of $-10 and same EA on chart 2 sees $-10 dd > so 2 positions are opened at that dd level.
If you can advise what the best way would be to do this I will appreciate it ; to me there are the following options:
A Fix the EA attached so it can execute point * 2 above effectively
B-Build one EA that 'does it all'
- Open 2 position with on launch at the same time;
- open the 2nd, 3rd, 4th etc SETs ( same 2 pairs with same trade values as opening pairs )- when equity drawdown reaches ... minus $ ...; and again when equity reaches ..- minus ,,,, etc
- Close all open positions when floating Equity profit reaches $ ....;
- True / false option to disable all further trading when all positions close at specified profit , (if NOT not selected EA must start a new cycle ( as per point 1)
above)
note : The ea should only open the 2 positions ONCE at the specified level ( Example : if the level to open a SET is -$10 and the 2 positions is opened ; if price then turns and goes to - $8 and the back to -10 , it must not open the same 2 positions again , it must only open the 2 positions at the next specified level again ( $- 20 for example)
I appreciate your advice on best way to do this
Regards,Mike
Ordini simili
I would like an EA that implements the strategy below: 1. It requires a 6 EMA, 18EMA, 50EMA and 200SMA 2. Trend filter: 50 is above 200 for a buy. 50 below 200 for a sell 3. FOR A BUY: After candle close, if 6 has crossed above 18 and trend filter is a buy: a. if the last candle was a pin bar (body is less than 50% of candle size, and upper wick is less than 10% of candle size) b. check if the candle is within 10
Title: Custom M5 Gold (XAUUSD Cent) Scalper EA with Daily Profit Target and Strict Risk Control 1. OVERVIEW & OBJECTIVE We need an Expert Advisor (EA) developed for MT4 and MT5 to trade XAU/USD Cent (XAUUSDc on HFM / HF Markets). The EA must operate fully autonomously on M5 charts, targeting micro-pips (3 to 5 cent movements) per trade. The core philosophy is "set-and-forget" with absolute risk protection to prevent
Hi, I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I’m not looking to build one from scratch at this stage. I would like to first test the EA on a **demo account** to see how it performs under live market conditions and
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
Hi there I need an developer to create a ea for mt5 and mt4 but the ea should be an fast connect ea meaning by taping the ea then automatically it connect to mt5 chart same in mt4 It should place order using invisible buy and invisible sell when the bid price breakout in 1 point Automatically it place an order depends on which direction and invisible stop loss in points , please reply if you can
Project Title: Development of a Custom Breakout Expert Advisor (EA) with Dynamic Trailing Stop, Advanced Security Filters, and On-Screen Dashboard for MT5 Project Description: Overview: I am looking for an experienced MQL5 developer to build a fully automated Trading Robot (Expert Advisor) for MetaTrader 5 based on a pending orders breakout strategy with strict dynamic risk management and customized time/profit
I need a TradingView Pine Script (v6) indicator that gives BUY and SELL signals in real time on the live chart. MAIN REQUIREMENT – NO REPAINTING: 1. Signals must appear only when the candle closes (barstate.isconfirmed). Example: on 1-min chart, signal for the 10:35 candle must appear at 10:36 and never disappear or move. 2. Signals on historical bars must look exactly the same as they looked live. 3. No lookahead
Project Title: Development of a Custom Breakout Expert Advisor (EA) with Dynamic Trailing Stop and On-Screen Dashboard for MT5 Project Description: Overview: I am looking for an experienced MQL5 developer to build a fully automated Trading Robot (Expert Advisor) for MetaTrader 5 based on a pending orders breakout strategy with strict dynamic risk management. The EA must be highly optimized, bug-free, and follow the
I am looking for an experienced developer to build a professional web-based trading performance dashboard connected to an MT5 trading account and/or FX Blue. The dashboard should automatically collect trading data and display: • Daily P&L calendar – profitable days green, losing days red and no-trade days grey • Equity/growth curve • Drawdown curve • Initial capital and current balance • Net profit and percentage
Hi, I’m looking for an experienced MQL5 developer to convert my TradingView Pine Script into an MT5 EA. Here are the main requirements: **MBS BREAKOUT** * Buy when price breaks the Green Line * Sell when price breaks the Red Line **TIMEFRAMES** * Strategy 1 = M1 * Strategy 2 = M5 * Strategy 3 = M15 * Strategy 4 = M30 * Strategy 5 = H1 * Strategy 6 = H4 * Strategy 7 = D1 * Strategy 8 = W1 * Strategy 9 = MN1 Each