Breakout & Hedge with Trailing Pending Stop Order

MQL4 Experten

Auftrag beendet

Ausführungszeit 3 Tage
Bewertung des Kunden
This guy is FANTASTIC in terms of understanding requirements, technical coding, meeting deadlines and communication. I would highly recommend him to you.
Bewertung des Entwicklers
Nice working with him! Thank you!

Spezifikation

This EA strategy is simple and will be pretty easy for an experienced developer to code and uses TRAILING PENDING STOP BUY & SELL ORDERS to lock in profit and protect trades so you must know how to code these.  If you do a good job and there will be other EA strategies to work on for me.  

INPUT BOXS REQUIRED

Standard Inputs

Lot Type

Fix Lot

Equity Risk % for lot

Stop Loss [If 0 disabled)

Take Profit (If 0 disabled)

Magic Number

Strategy Related Inputs (PSO = PENDING STOP ORDER)

[1] # PSO PIPS FROM LIVE TRADE PRICE

[2] # PSO TRAILING PIPS

[3] TRADE COMMENT [ hedging trade number will be added automatically plus some space for me to write brief strategy details for trade analysis)

When the EA is dragged onto whichever chart timeframe is chosen (e.g. 1 Hour, 4 Hour, 1 Day, 1 Week, 1 Month) it will:

1. Open a BUY or SELL trade when the current High of Low of the timeframe is breached. 

2.Open a TRAILING BUY STOP ORDER or TRAILING SELL STOP ORDER  order in the opposite direction.  The EA will use the criteria based on input boxes [1]

3. The TRAILING STOP ORDER OPEN PRICE will will trail the open live trade price by the value entered into input box [2]

4. When the Live trade price starts to move in the opposite direction the TRAILING STOP ORDER will eventually trigger so there will be another live trade open.  At this point the EA will open another TRAILING PENDING STOP ORDER in the opposite direction and will close the original trade (opened in 1 above)

IMPORTANT INFORMATION

1. There will only ever be 1 open trade at any one time

2. Any open trade will be protected by a buy or sell stop order in the opposite direction 

3. I need this EA to test by midday (GMT) on 6 March 2020 

4. I will use this EA on FOREX and Indices (e.g. GBPUSD/EURUSD/JPYGBP S&P500, NASDAQ100, DAX)

5. I require both the source code AND EA files to be provided to me.  I’M LEARNING TO CODE AS A BEGINNER SO PLEASE MAKE NOTES WITHIN THE CODE SO I CAN SEE WHICH BIT OF CODE RELATES TO WHICH FUNCTION.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

WORKING EXAMPLES

EXAMPLE 1  [PSO = PENDING STOP ORDER]

[1] PSO OPENING TRADE PIPS FROM LIVE TRADE PRICE  - 10

[2] PSO TRAILING PIPS - 10

[3] TRADE COMMENT [ADDED AUTOMATICALLY BASED ON TIMEFRAME, AND VALUES ABOVE

I drag this EA onto the GBPUSD H4 chart.    The LOW of the timeframe is 1.38583  and the HIGH of the H4 timeframe is 1.39748

The price rises to 1.39749 so the EA opens a BUY trade at 1.39749 and a PENDING SELL STOP ORDER at 1.39649  (THIS IS BECAUSE THE VALUE OF INPUT BOX 1 IS 10 MEANING THAT THE PENDING SELL STOP ORDER IS PLACED 10 PIPS BELOW THE OPEN BUY TRADE PRICE)

The open BUY TRADE price moves up 10 pips so the PENDING  SELL STOP ORDER open price moves to 1.39749 (THIS IS BECAUSE THE VALUE OF INPUT BOX [2] is 10 MEANING THAT THE  PENDING SELL STOP ORDER OPEN PRICE TRAILS THE OPEN BUY TRADE BY 10 PIPS) The price moves up another 10 pips so the PENDING STOP ORDER open price moves  to 1.39849 

The open BUY TRADE price starts to fall and hits 1.39849 so the PENDING SELL STOP ORDER is triggered and the EA opens a SELL TRADE at 1.39849.  It also opens a PENDING BUY STOP ORDER at 1.39859 and closes the open BUY trade.

This process just repeats and repeats until I remove the EA from the chart


EXAMPLE 2  [PSO = PENDING STOP ORDER]

[1] PSO OPENING TRADE PIPS FROM LIVE TRADE PRICE  - 10

[2] PSO TRAILING PIPS - 10

[3] TRADE COMMENT [ADDED AUTOMATICALLY BASED ON TIMEFRAME, AND VALUES ABOVE

I drag this EA onto the GBPUSD H4 chart.    The LOW of the timeframe is 1.38583  and the HIGH of the H4 timeframe is 1.39748

The price rises to 1.39749 so the EA opens a BUY trade at 1.39749 and a PENDING SELL STOP ORDER at 1.39649  (THIS IS BECAUSE THE VALUE OF INPUT BOX 1 IS 10 MEANING THAT THE PENDING SELL STOP ORDER IS PLACED 10 PIPS BELOW THE OPEN BUY TRADE PRICE)

The open BUY TRADE price immediately starts to fall and hits 1.39649 so the PENDING SELL STOP ORDER is triggered and the EA opens a SELL TRADE at 1.39649.  It also opens a PENDING BUY STOP ORDER at 1.39749 and closes the open BUY trade.

This process just repeats and repeats until I remove the EA from the chart


     


    Bewerbungen

    1
    Entwickler 1
    Bewertung
    (174)
    Projekte
    200
    12%
    Schlichtung
    39
    38% / 33%
    Frist nicht eingehalten
    5
    3%
    Frei
    Veröffentlicht: 2 Beispiele
    2
    Entwickler 2
    Bewertung
    (401)
    Projekte
    519
    24%
    Schlichtung
    61
    57% / 25%
    Frist nicht eingehalten
    60
    12%
    Beschäftigt
    3
    Entwickler 3
    Bewertung
    (298)
    Projekte
    478
    40%
    Schlichtung
    105
    40% / 24%
    Frist nicht eingehalten
    82
    17%
    Beschäftigt
    Veröffentlicht: 2 Beispiele
    4
    Entwickler 4
    Bewertung
    (87)
    Projekte
    114
    26%
    Schlichtung
    7
    29% / 57%
    Frist nicht eingehalten
    5
    4%
    Frei
    Ähnliche Aufträge
    MT5 Trading EA — EMA/RSI Strategy with Risk Management and Trade Protection Hello, I'm looking for an experienced MQL5 developer to build a reliable Expert Advisor for MetaTrader 5 based on a simple trend-following strategy. My main priority is not adding as many features as possible. I want a clean, dependable EA that follows the specified rules consistently in both Strategy Tester and live/demo trading. 1. Trading
    MT5 to DxTrade, MT5 to NinjaTrader 8, MT5 to Tradovate - Does anyone have a working copy trading system for this - like already existing system for any of this platforms, don’t want dev saying they will build one, I want copier already working - MT5 to DxTrade (Good), To Tradovate and NT8 might be complex as they are future based. That is why I asked for working system and code. Deliver demo - with a week limit if
    To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
    Mt5 35+ USD
    //+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for
    Hi All, I am looking for a EA which makes good profit, If any having please share it for TEST, After proper TESTING only I will make the payment, no cheating no fraud, Please do not waste the time also
    Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
    Mt5 to mt5 copier 30 - 50 USD
    Hi Team i am looking for the copier, to copy trades to and mt5 broker where the EA Trading is Disabled. when we setup a market trade copiers, it alerts EA Trading is Disabled by the broker. can we develop the copy trading EA which and operate in this environment
    Nayan4602 30+ USD
    """ Market entry on EUR/USD with 0.01 lot, using the account that is ALREADY logged in inside the running MetaTrader 5 terminal. """ import MetaTrader5 as mt5 # ---------------- Config ---------------- SYMBOL = "EURUSD" LOT = 0.01 SIDE = "BUY" # "BUY" or "SELL" DEVIATION = 20 # max slippage in points MAGIC = 234000 SL_POINTS = 0 # 0 = no stop loss, 200 = 20 pips on a 5-digit feed TP_POINTS = 0 # 0 =
    Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
    Scalping bort 30+ USD
    GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is

    Projektdetails

    Budget
    30 - 55 USD
    Ausführungsfristen
    bis 2 Tag(e)