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 pine script coder to automate my strategy (based on trendline) on tradingview platform. I simply need tradingview to open a position when the price touches the specified trendline with options to buy or sell and SL level. Please let me know if you are interested and I can give you exact details. Thank you
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor for MetaTrader 5. The EA should be a fast “Flipper”-style trading system that detects short-term market movements and opens Long or Short positions accordingly. This must be an original development and not a copy, clone, or decompiled version of any existing commercial EA. I have some videos of the Trading style lets watch and
Looking to Purchase a High-Risk, High-Return Gold Trading EA 9 minutes ago MQL5 Experts Specification EN I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA. I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return
I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA . I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return strategies can experience very large drawdowns and may potentially blow the account . I’m aware of the risks
MT5 EA DEVELOPMENT SPECIFICATION CHANNEL + RSI REVERSAL STRATEGY I need a professional MetaTrader 5 Expert Advisor based on the following exact strategy. 1. Core Strategy The EA must automatically identify a valid price channel using confirmed swing highs and swing lows. The strategy trades reversals from the channel extremes: SELL: Upper channel + RSI above 70 + bearish rejection. BUY: Lower channel + RSI below 40 +
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
============================================================== MT5 XAUUSD GRID / AVERAGING EA FINAL DEVELOPMENT SPECIFICATION ============================================================== IMPORTANT: Please read the complete specification before development. The EA must follow the exact logic below. If any requirement is technically unclear or conflicts with another requirement, please clarify it BEFORE coding. Do
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Looking for an MQL5 programmer to develop an Expert Advisor for MetaTrader 5 targeting Forex currency pairs. Core Logic: Multi-timeframe trend following using Heikin Ashi candles (4H trend filter + 1H execution trigger on new bars, strict anti-repainting logic). Risk & Trade Management: ATR-based initial stop loss with pip normalization, dynamic trailing stop, and partial close functionality. Protections: Includes