A hedging EA for breakouts

MQL4 Experten

Spezifikation

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #454545} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #454545; min-height: 14.0px} li.li1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #454545} ol.ol1 {list-style-type: decimal} ul.ul1 {list-style-type: hyphen}

A hedging EA that works on any time frame and any pair


Inputs:

One trade at a time

One trade per day: toggle yes/no

Fixed lot - standard 0.1

Max spread - standard 5

Gap (pip difference between buy and sell orders): standard 10 pips

TP: standard 20 pips

SL: standard 30 pips


Strategy:

Setup:

    - Open a buy_stop_order_1 at price + “Gap/2” pips

    - Open a sell_stop_order_1 at price - “Gap/2” pips 


    First move:  

      - If buy_stop_order_1 is executed, cancel sell_stop-order_1, and open sell_stop_order_2 at same price with lot size x2

      - If sell_stop_order_1 is executed, cancel buy_stop_order_1, and open buy_stop_order_2 at same price with lot size x2

      - If any order hits TP directly, cancel other pending order.


      Here, if the buy order is executed and price goes up to TP, all good. If price comes down, we have a new sell stop order with added lot size to cover the buy order. Same idea if the sell stop order activates first and price doesn’t hit TP.


      Next moves, while TP is not hit in any direction and price floats inside SLs range:

      - If buy_stop_order_2 is executed, cancel sell_stop-order_2, and open sell_stop_order_3 at same price with lot size x2
      - If sell_stop_order_2 is executed, cancel buy_stop_order_2, and open buy_stop_order_3 at same price with lot size x2



      Example:


      Price is 1.0050

      - Set BSO_1 at 1.0055, Lot 0.1, TP 1.075, SL 1.025
      - Set SSO_1 at 1.0045, Lot 0.1, TP 1.025, SL 1.075


        If Price moves up and executes BSO_1:

        - Cancel SSO_1
        - Set SSO_2 at 1.0045, Lot 0.2, TP 1.025, SL 1.075


        Now, price can either:

        (1) hit TP:

        - Cancel pending SSO_2

          (2) or execute SSO_2:

          - Set BSO_2 at 1.0055, Lot 0.2, TP 1.075, SL 1.025


            Now, again, price can either:

            (1) hit TP:

            - Cancel pending BSO_2

              (2) or execute BSO_2:

              - Set SSO_3 at 1.0055, Lot 0.2, TP 1.075, SL 1.025


                Strategy repeats until price hits TP, with lot size increasing for the opposite pending order by 2 lot sizes every time. In this case, if price goes down and hit SSO_3, it would trigger a new BSO_3:

                - Set BSO_3 at at 1.0055, Lot 0.2, TP 1.075, SL 1.025


                  The direction of the last executed order always carries 1 lot size more than the opposite direction. If the trade changes direction, the pending order keeps the same balance over and over until TP hits.


                  Bewerbungen

                  1
                  Entwickler 1
                  Bewertung
                  (27)
                  Projekte
                  27
                  26%
                  Schlichtung
                  0
                  Frist nicht eingehalten
                  0
                  Frei
                  2
                  Entwickler 2
                  Bewertung
                  (77)
                  Projekte
                  241
                  73%
                  Schlichtung
                  7
                  100% / 0%
                  Frist nicht eingehalten
                  1
                  0%
                  Frei
                  3
                  Entwickler 3
                  Bewertung
                  (617)
                  Projekte
                  1427
                  59%
                  Schlichtung
                  31
                  81% / 0%
                  Frist nicht eingehalten
                  10
                  1%
                  Frei
                  4
                  Entwickler 4
                  Bewertung
                  (17)
                  Projekte
                  17
                  18%
                  Schlichtung
                  5
                  20% / 60%
                  Frist nicht eingehalten
                  2
                  12%
                  Arbeitet
                  Ähnliche Aufträge
                  I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
                  EA for mt4 30+ USD
                  I'm looking for an experience developer that can help develop an EA based Strategy below into EA itself no issues if used martingale & fix lot . Symbol: XAUUSD i will explain to the developer more datils before doing the EA. i will send the indicator and the set point. 1- indicator extreme 2- stochastic Oscillator can you add lots of features to your EA which will be so much useful such as 1- Trailing stop 2-Break
                  Looking for an ea that pass prop firm accounts. Can be any instrument forex or indices. Proof must be provided either with an account it’s running on or a trial period EA. No screenshots
                  HFT MT5 EA - US30 150 - 250 USD
                  Job Offer: MQL5 Developer Needed for Prop Firm Challenge MT5 EA (US30 I am looking for an experienced MQL5 programmer to build a high-performance trading bot for MT5, designed to pass prop firm challenges with selected providers. The EA should be focused on index trading , specifically US30 (Dow Jones) Requirements: Proven expertise in MQL5 and algorithmic trading Development of a fast, automated
                  PAIR : EURUSD ONLY TIMEFRAME: M1 SESSION:LONDON SESSION ONLY(CONFIGURABLE START / END TIME) TREND FILTER: - USE VWAP AS MAIN TREND FILTER - BUY ONLY WHEN PRICE IS ABOVE VWAP - SELL ONLY WHEN PRICEIS IS BELLOW VWAP STRUCTURE CONDITION : - TRADE ONLY AFTER A VALID BOS (BREAK OF STRUCTURE) - BOS MUST BE IN THE SAME DIRECTION AS VWAP TREND -IGNORE COUNTER-TREND BOS ENTERY CONDITION (ORDER BLOCK ): - AFTER BOS , WAIT FOR
                  Hi, I’m looking for an experienced MT5 developer to build a manual trade copier EA (Master → multiple Client accounts). I trade manually on my master MT5 account, and whatever I do (open, close, SL/TP change, partial close, pending orders) should be copied automatically to my clients’ MT5 accounts through a server-based system (clients can be anywhere, any broker). I want to be honest: I already tried developing the
                  I am looking for an experienced developer to create an automated trading bot on the Quantower platform based on my trading rules. The bot should execute trades automatically. Kindly bid for it if it is what you can code for me
                  Jadyne hassan 30+ USD
                  This is to push trading to another level no much words if you want to improve the stage of your art in trading Thier is no need to look back because its an empowered account manager as well the generation development ai robot never challenged but it always require the tap and the rest it's own businesss
                  MT5 Expert Advisor – XAUUSD Opening Range Breakout I am looking for an experienced MQL5 developer to build a robust MT5 Expert Advisor. STRATEGY DETAILS • Instrument: XAUUSD • Timeframe: M30 • Broker: Pepperstone (Spread Betting) • Trading days: Monday–Friday only OPENING RANGE • Opening range candle: 07:00 – 07:30 UK time • EA must automatically convert UK time to broker server time • Record OR High and OR Low from
                  I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree

                  Projektdetails

                  Budget
                  30 - 50 USD
                  Ausführungsfristen
                  von 2 bis 10 Tag(e)