A hedging EA for breakouts

MQL4 Experts

Spécifications

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.


                  Répondu

                  1
                  Développeur 1
                  Évaluation
                  (27)
                  Projets
                  27
                  26%
                  Arbitrage
                  0
                  En retard
                  0
                  Gratuit
                  2
                  Développeur 2
                  Évaluation
                  (61)
                  Projets
                  186
                  73%
                  Arbitrage
                  4
                  100% / 0%
                  En retard
                  1
                  1%
                  Travail
                  3
                  Développeur 3
                  Évaluation
                  (549)
                  Projets
                  1332
                  59%
                  Arbitrage
                  28
                  82% / 0%
                  En retard
                  10
                  1%
                  Gratuit
                  4
                  Développeur 4
                  Évaluation
                  (17)
                  Projets
                  17
                  18%
                  Arbitrage
                  5
                  20% / 60%
                  En retard
                  2
                  12%
                  Travail
                  Commandes similaires
                  HFT EA 30+ USD
                  HFT EA should have 2 options to choose from Strategy 1. Direction of the trade to be chosen (only buy, only sell, and both) For example, if both is chosen, EA places buy and sell orders at the same time with given distance, when one is triggered another one gets deleted. Strategy 2. Instant market execution (based on given tick number or any other better recommendation for identifying volume where price is heading
                  I have a trading strategy and I would like to make a bot to automate this strategy and no longer make discipline errors in my trading And it must work on mt5 and any prop firm
                  Need to convert Thinkorswim strategies, indicators, or custom scripts to NinjaTrader. Offering seamless migration and functionality optimization to ensure your trading systems perform effectively on NinjaTrader. Fast delivery and reliable service
                  Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
                  I would like to know if you can turn this indicator to ninjatrader and also help us backtest with 3/4 MNQ entries to find a good strategy and an automated strategy with the indicator. script/WhBzgfDu-Machine- Learning-Lorentzian- Classification/ 1. Convert the Machine Learning Lorentzian Classification indicator to NinjaTrader. 2. Backtest the indicator using: - 4 MNQ contracts per trade - Entry signals from the
                  the ea will be devellope by my dev , a dashboard that sumerise strategy property's and gives a lot of value on how the different magic are performing etc etc please do not apply as i only gonna take my own develloper for that project
                  Formal Software Request Software Title: High-Performance Automated Trading System Requestor: 80485848 Date: 19 August 2024 1. Introduction We seek a sophisticated automated trading system capable of executing trades across Forex, Gold, and Cryptocurrency markets. The primary objective is to achieve a high win rate while operating autonomously. 2. Core Requirements Win Rate: The system must demonstrate a
                  Bling Ultimate Sniper Robot Rules the robot should have - 1. Automatic stop loss, take profit and the stop loss should trail with an approach to Tp. 2. Always risk 10% of my account on every trade, with a 1:5 risk reward ratio. 3. The bot should have Mobile, IOS and Mac and Laptop versions. 4. The bot should trade indexes such XAU/USD, GBP/USD, US TECH (Nasdaq), EUR/USD, US30, BTC/USD and GBP/USD. 5. This is robot
                  Pinescript to MQL5 100 - 200 USD
                  READ IT URGENT, i need to complete this job in 1-2 day so APPLY it only if can do it, if some requirement is not clear tell me, im here, please be careful, i need this in 1-2 days, if you are not sure, not apply it, i dont want leave BAD FEEDBACKS please
                  Create hedging grid EA with my own logic. Add a Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Add Profit loss Dashboard Virtual all trade close Button

                  Informations sur le projet

                  Budget
                  30 - 50 USD
                  Pour le développeur
                  27 - 45 USD
                  Délais
                  de 2 à 10 jour(s)