Add 4 functions to expert.
the ea is copier, I want add a function is reverse copier.
How to control?
My computer open two MT4.
Two MT4 is master and slave.
Slave copy master trading order.
part1:
the EA copy times is 2 second above, I want copy time is 1 second.
part2:
Add a usage deadline in the code, for example, the expiration date is 2022/12/31.
part3:
Because the prefix and suffix cannot be copied, for example, EURUSD.a cannot copy to EURUSDm.
part4:
MODE1 Just convert COPY SELL to BUY, without COPY SL and TP.
MODE2 Just swap SL and TP.
MODE3 Calculate the gap between SL and TP.
MODE4 Convert COPY buy stop/buy limit to sell. Convert COPY sell stop/buy limit to buy.
See EXAMPLE in detail below
for example 1:
Original transaction
buy
in 1.19456
sl 1.19450
tp 1.19965
Reverse trade mode1
sell buy reverses sell
in 1.19456 same as in of Original transaction
sl N/A Not need copy
tp N/A Not need copy
Reverse trade mode2
sell buy reverses sell
in 1.19456 same as in of Original transaction
sl 1.19965 copy from tp of Original transaction
tp 1.19450 copy from sl of Original transaction
Reverse trade mode3
sell buy reverses sell
in 1.19456 same as in of Original transaction
sl 1.19472 1.19456+x=1.19472 x=in of Original transaction - sl of Original
transaction = 1.19456-1.19450=+0.00006
tp 1.18947 1.19456+y=1.18947 y=in of Original transaction - tp of Original
transaction = 1.19456-1.19965=-0.00509
for example 2:
Original transaction
buystop
in 1.19456
sl 1.19450
tp 1.19965
Reverse trade mode1
selllimit buystop reverses selllimit
in 1.19456 same as in of Original transaction
sl N/A Not need copy
tp N/A Not need copy
Reverse trade mode2
selllimit buystop reverses selllimit
in 1.19456 same as in of Original transaction
sl 1.19965 copy from tp of Original transaction
tp 1.19450 copy from sl of Original transaction
Reverse trade mode3
selllimit buystop reverses selllimit
in 1.19456 same as in of Original transaction
sl 1.19472 1.19456+x=1.19472 x=in of Original transaction - sl of Original
transaction = 1.19456-1.19450=+0.00006
tp 1.18947 1.19456+y=1.18947 y=in of Original transaction - tp of Original
transaction = 1.19456-1.19965=-0.00509
for example 3:
Original transaction
sell
in 1.19456
sl 1.19466
tp 1.19065
Reverse trade mode1
buy sell reverses buy
in 1.19456 same as in of Original transaction
sl N/A Not need copy
tp N/A Not need copy
Reverse trade mode2
buy sell reverses buy
in 1.19456 same as in of Original transaction
sl 1.19065 copy from tp of Original transaction
tp 1.19466 copy from sl of Original transaction
Reverse trade mode3
buy sell reverses buy
in 1.19456 same as in of Original transaction
sl 1.19446 1.19456+x=1.19446 x=in of Original transaction - sl of Original
transaction = 1.19456-1.19466=-0.00010
tp 1.19847 1.19456+y=1.19847 y=in of Original transaction - tp of Original
transaction = 1.19456-1.19065=-0.00391
for example 4:
Original transaction
sellstop
in 1.19456
sl 1.19466
tp 1.19065
Reverse trade mode1
buylimit sellstop reverses buylimit
in 1.19456 same as in of Original transaction
sl N/A Not need copy
tp N/A Not need copy
Reverse trade mode2
buylimit sellstop reverses buylimit
in 1.19456 same as in of Original transaction
sl 1.19065 copy from tp of Original transaction
tp 1.19466 copy from sl of Original transaction
Reverse trade mode3
buylimit sellstop reverses buylimit
in 1.19456 same as in of Original transaction
sl 1.19446 1.19456+x=1.19446 x=in of Original transaction - sl of Original
transaction = 1.19456-1.19466=-0.00010
tp 1.19847 1.19456+y=1.19847 y=in of Original transaction - tp of Original
transaction = 1.19456-1.19065=-0.00391
Похожие заказы
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I am looking to purchase an existing Multi-Currency MT5 Expert Advisor that is capable of trading multiple currency pairs simultaneously . Please only contact me if you already have a ready-made EA and are willing to sell the full system including the complete source code . ⚠️ Important: If you do not own the EA, do not have the source code, or are planning to ask me build something from scratch, please do
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I would like to convert my MT4 EA to MT5 EA, it should have all the default indicators in it but can remove the custom indicators, it should have the same logic as MT4 EA no chnages at all in the logic
Description: I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) for trading DAX (GER40) based on the confluence of two indicators. I already have both indicators in .ex4/.mq4 format. Key Requirements: Indicators: Use "PivotPoints-All-In-One" and "shved_supply_and_demand" (via iCustom). Entry Logic: Open BUY/SELL only when a Pivot level (PP, S1, R1 etc.) is located inside a "Verified" or
Hello i need an expert advisor for meta trader 5 .Strategy: Trend on H1 using EMA 50. ENTRY on M5 when the price pulls back to EMA 21 or VWAP. BUY after bullish candle confirmation , SELL after bearish candle conformation.STOP LOSS 5- 8 pips ,TAKE PROFIT 10 - 15 pips.include spread filter , no trade on major news and a maximum of 3 trades per day
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy