=============
Hedge EA Version 4.0
=============
1) Readjust Horizontal Lines = Yes/No
* When this parameter is set on Yes, then the EA will need to readjust the Entry Pending Order, Hedge Entry Order, TP or SL whenever i move any of the Horizontal Lines.
* When this parameter is set to No, then any readjustments made to the Horizontal Lines shouldn't be done, like how the EA is at the moment.
* When this parameter is set from Yes to No, and there was a readjustment done to the Levels then the EA will need to readjust back to the EA settings.
* Now let's say that I've made readjustments by dragging the Horizontal Lines, and now I decide to make changes to the EA setting in real time then the EA will need to readjust the levels again according to the new settings. Now again I decide to make changes to the Horizontal Lines than the EA should continue to make the required changes. so basically I require the EA to be very customisable.
* If the Hedge Entry Order is changed manually then the new Hedge Distance should be applied to all new hedge orders opened for that basket. Unless I change the EA Hedge Distance input settings manually then the EA will need to readjust accordingly.
* Please Note that if the Horizontal Lines of the "Initial / Hedge Order" , "Take Profit" or " Stoploss" are removed the EA should then remove the required function.
======================================================================================================
2) Readjusted Hedge TP and SL Default = Yes/No
When this parameter is set on Yes, and If the Hedge Take Profit or Stoploss Horizontal Lines were readjusted than these changes should apply for all future Hedge Orders in the basket, so for example if i made changes to Hedge Order 1 Take Profit and Stoploss the same pip distance should be used for the remaining Hedge Orders in the basket.
When this parameter is set on No, then the EA should only apply these changes to Hedge Order 1. So therefore Hedge Order 2 will continue to use the Imputed EA settings, unless changed manually again.
When this parameter is set from Yes to No, then the next Hedge Order in the basket should revert back to the EA Input settings. So for example if the next Hedge Order is 4 then the EA must use the Take Profit or Stoploss of Hedge Order 6
* Please Note that this parameter should only work if the "Readjust Horizontal Lines" parameter is set on Yes.
======================================================================================================
3) Initial Stoploss Type =
(i) Pips Amount
(ii) Distance Amount
(iii) Disable Stoploss
4) Initial Take Profit Type =
(i) Pips Amount
(ii) Distance Amount
(iii) Disable Take Profit
5) Initial Stoploss Amount
6) Initial Take Profit Amount
--------------------------------------
7) Hedge Stoploss Type =
(i) Pips Amount
(ii) Distance Amount
(iii) Disable Stoploss
8) Hedge Take Profit Type =
(i) Pips Amount
(ii) Distance Amount
(iii) Disable Take Profit
9) Hedge Stoploss List Amounts
10) Hedge Take Profit List Amounts
--------------------------------------
* I should be able to choose between having the Initial / Hedge Order Take Profit or Stoploss at a specific Pip Amount or at a specific Distance Amount.
* The Distance Amount should be based on the distance between the Initial Orders entry price and the next Hedge Orders entry price, so for example if the distance between the entries is 100 pips and I set the Take Profit distance as 1 than the EA will place the Take Profit as 100 pips.
======================================================================================================
11) Initial Buy Market Order
* When a Horizontal Line is set with a specific text it will remove the previous Buy Initial Pending Orders and make this Horizontal Line as the new and only Initial Buy Pending Order open at the current time.
12) Initial Sell Market Order
* When a Horizontal Line is set with a specific text it will remove the previous Sell Initial Pending Orders and make this Horizontal Line as the new and only Initial Sell Pending Order open at the current time.
======================================================================================================
13) Initial Candle Close Buy Order
* When a Horizontal Line is set with a specific text it will it should replace it with a Initial Pending Order Horizontal Line and than place a Buy Market Order only once the first candle that closes above or below the horizontal line, this should only happen once.
14) Initial Candle Close Sell Order
* When a Horizontal Line is set with a specific text it will it should replace it with a Initial Pending Order Horizontal Line and than place a Sell Market Order only once the first candle that closes above or below the horizontal line, this should only happen once.
======================================================================================================
15) Only 1 Initial Buy Pending Order
* When a horizontal line is set with a specific text it will remove the previous Buy Initial Pending Orders and make this as the only Initial Buy Pending Order.
16) Only 1 Initial Sell Pending Order
* When a horizontal line is set with a specific text it will remove the previous Sell Initial Pending Orders and make this as the only Initial Sell Pending Order.
======================================================================================================
17) Reactivate Initial Stoploss
18) Reactivate Hedge Stoploss
19) Reactivate Initial Take Profit
20) Reactivate Hedge Take Profit
* When a horizontal line is set with a specific text for the above parameters it will reactivate either the Initial / Hedge Take Profit or Stoploss which was previously removed manually by the user.
======================================================================================================
21) Initial Breakeven Plus
This is the amount of pips to move the SL to once the Initial Breakeven Function has been activated.
======================================================================================================
22) Place Horizontal Pending Lines = Yes/No
This will place the Hedge Order, Take Profit and Stoploss Horizontal Lines once the Initial Pending Order is placed onto the account,
so that the User can readjust them before the activation of the Initial Pending Order.
======================================================================================================
23) OCO for Initial Pending Orders = Yes/No
So when enabled, the EA will delete all other Initial Pending Orders once the first Initial Pending Order gets activated.
So for example lets say that we have an Initial Buy Stop and a Initial Sell Stop before NFP, and the Buy Stop gets activated the EA should then remove the Initial Sell Stop.
======================================================================================================
Commandes similaires
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Subject: Looking for an Experienced MQL Developer for Long-Term Collaboration (Mechanical Strategy) Hello everyone, I am reposting my request from last year. Due to work commitments, I couldn't dedicate time to this project back then, but now I am fully ready to move forward. I am looking for a highly experienced, verified MQL4/MQL5 programmer to automate my trading strategy. About the project: Rule-based &
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
Need an MQL5 Expert Advisor for MT5 that automates my manual trading strategy. Entry logic: Enter only when trend direction, support/resistance level, and RSI all align (Triple Confirmation). Extra confluence from Smart Money Concepts (order blocks, Fair Value Gaps, BOS/CHoCH). Risk rules: 1% risk per trade, minimum 1:2 risk-reward, stop-loss at structure levels (not fixed pips). Must-haves: Works on Islamic