EA on base of candle chart

MQL4 EA

명시

I'm looking for an EA which is opening after definated candle numbers in a row and trend, on a definated Mode (there are 3 possible modes) a Pending or Pendings orders, which will be then good for xhours (example 23 hours- after that Pending orders will be deleted - if not executed).
EA should then restart and wait for the next possible candle numbers in the row. EA is trading just the mode which is in setup.
EA should have a magic number to trade other modes on other chart.

We have three different order modes on which EA is placing the orders under defenated criteria:

EA should not open Trades on Thursday

Order mode should be selected in sets
Normal Mode 
Hedge mode

Third mode is place orders against trend

Note, on all order modes, orders will be placed as pending orders and there will be good for xhours.


Normal Mode

EA is opening after defined candles "x numbers of candles in a row in trend" in direction (+xpips over high or low) a pending order.
Order must be placed in trend direction.  on Higho or Low (depends Trend) +xpips
And a second order, in direction of candle trend but xpips better (but only in the trend direction). If this order xpips better is in market, the first order stays. Only if the normal order (first order) is executed, the order xpips better will be deleted.
A third order can be set activ or inactiv will be placed just on High or Low +xpips on basis of candle before,  in other direction
So if we have a buy trend, EA is placing on High +xpips a buy order - and a second order buy + xpips better order. So if third order is executed - orders stay under pending till Order will be canceled of hours expire.

If the normal order is executed, the order xpips better should be deleted.

Pharamters for Normal Mode:
Candels in trend - Number
+xpips on first order
Xpips better second order - entry should be (price high and low of candle befor /2 = xpips better)

set activ or inactiv third order

Expire hours can be defined for each mode.
After Expire or orders are done, EA starts again with strategy and does wait for new placing of the three pending orders.

Example for Normal Mode - set 3 candels in trend (for example buy trend) - so EA is using the last candel (third high) High was 1.2020 
We have plus Xpips example 5 pips EA is placing a pending buy at 1.2025 and a buy order Xpips better if we have normal mode with fix lots.
So a buy order example 40 pips better . So 1.1985- this is second order.

The first buy order is executed, the second buy order (in this example) will be deleted.

If second order Xpips better is executed - first order stay


Second Mode - EA should also have a Hedge mode - so order will be only open in Hedge direction, with the same second order as in Normal mode and same handling  (xpips better) and always only in Hedge direction. After definated candls in a row. Order is not only in Trend direction and good for xhours.
EA is placing if there is xcandles in a row if there are already orders in Market (only the Hedge volume). EA is placing the hedge volume in open Hedge direction +xpips better or worse on basis of candle before.

If we have Hedge mode, EA is placing the right amount as Pending order on definated limits in Hedge directionon high or low +xpios of candle before.

Order is good for x hours.

Plus second order first as pending xPips better as in Normal mode. Also if second order is executed the first order stay in Market - but if the first order is executed the Second order will be deleted.

Again Hedge Mode:Note EA does placing a Pending order in Hedge direction (if there is a Hedge - plus the order xpips better) if there are already a volume in Terminal. If nothing in Marke - so no order.
Note - EA is also placing a Order Xpips better. If the order Xpips better is executed - the first order stay in Markegt till god as. If first order is in the Market, the second order must be deleted.

Parameter: same candles in a row - example 2 Candles - EA placing after the definated candles a pending order in direction with fewer Lotsorder in direction of lower order sice (hedge) Order will be placed on High or Low on candle before +xpips . On side depends on where is fewer lot amount. Placing on high xpips better, or on low xpips worser - on low always a sell and on high always a buy.

Example: We have 6 lots long and 4 Lots short - the order volume is 2 lots If now 2 candles long in a row came - EA does open an low of candle befor 2 lots short. And second Order on bais of this order xpips better.

If second order will be executed - first order stay in market - Pending orders ar good for xhours.


Third mode is place against trend
This mode has no SL - does work as normal mode, but places order after definated Rows against trend.
Same as normal mode - EA is placing the order just against trend.
If we have an trend of xcandels- can be definated under sets.

EA is placing on High or low (depends on existing candl trend) xlots against trend of trend candels.
Pending orders are good till - xhours


Example - we have 3 candles logng in a row - on high of 3 candel high EA is placing a sell order




Lot definition:
Fix lot - EA is always using the fix lots only for normal mode
Or Hedge amount - EA checks all open trades and does placing the right size for hedge - updating every x hoursUpdating ever x hours
EA does only place the pending order in direction of fewer lots - so if the order is in Market, the orders in Terminal are hedged.

Depends on Pips candle before - If candel before opening order High low is in range of Xpips. EA should juse second lots. 

The definated Lots at fix or Hedge - I want a partial closing or if not Possible EA should place the volume /4
For each closing I want to definated the TP

Closing of the Order:
We have partial close of the order. If we can not make partial closing - EA has to open for fix lots just 4 orders - were I can definated in sets the Percent of Fix lots for each order.

  1. Closing 20 Percent of the order at xpips TP
  2. Closing 20 Percent of the order at xpips TP
  3. Closing 20 Percent of the order at xpips TP
  4. Closing 20 Percent of the order at xpips TP
SL - will be updated after actual candle is closed

Is other side High or Low of candle - +xpips - but minimum xpips - so for example 60pip
Only third mode does have no SL
After first candl trade is done: SL will updating to next candel (high or low +xpips.

EA does also close orders on closing of candle before. - Set activ or inactiv


Expiere of pending order - xhours


Pharameter:

Mode selection 1, 2 or 3
Hours which will be pending good till -xhours

Mode activafter xcandles - number of candles
Xpips better normal mode - xpips

Minimum SL - xpip

Xpips which will be calculated on the order high and low - so if low ist - 1.2020 - sell liit will be placed 1.2020 - xpips 



응답함

1
개발자 1
등급
(10)
프로젝트
4
0%
중재
11
0% / 82%
기한 초과
0
무료
2
개발자 2
등급
(75)
프로젝트
111
50%
중재
26
31% / 50%
기한 초과
9
8%
무료
게재됨: 1 기고글
3
개발자 3
등급
(9)
프로젝트
19
16%
중재
3
67% / 0%
기한 초과
0
무료
비슷한 주문
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| 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
Gold robot 30+ USD
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 -

프로젝트 정보

예산
50+ USD