Develop EA on basis of Candl Chart

MQL4 Esperti

Specifiche

I'm looking for an EA which is trading and handle the orders on basis of candle chart trend formation.
EA should work always on the time Frame which he is installed

EA should trade Forex and indices on basis Information of candle chart.

How EA should work:
EA should check if he is active and which traded Lots size he should use for opening Trade:
EA is only active if existing long and short already open in market (open orders in Terminal) are equal - or difference is not bigger than xlots - can be defined under parameter. If Difference is not bigger than xlots - EA is work on equal - so difference is not bigger is also equal
If EA is equal, ea does open fix lots in Sets
Or EA does only open orders in Hedge direction (hedge function can be set active or inactive under parameter) - If active EA does only trade the Hedge size or if this lot amount is  less than fix or Equity lots but EA does use the bigger size. 
Example
 Hedge is active so if there are 3 lots long and 5 Lots short EA does open only (if hedge is active) a Long position. Note if the Hedge Lot size is less than selected Fix or Equity lot calculation amount, EA uses the bigger lot size (but only in Hedge direction if hedge is active) - if Inactive, EA does open orders on standard basis fix lots ore Equity lot calculation.
EA has to calculate Hedge Lot size (if hedge set active) if there are already open Positions in Market. If hedge is active EA does only open in Hedge direction - if equal or no open orders in market, EA does open the fix lots or on Equity lot calculation amount if definated in Parameters.
So again if there are 3 lots long and 5 Lots short - the Hedge Size is 2 lots - calculation update should be every x minutes done. Hedge Lots and direction should be shown in chart.
If this calculated Hedge Lots since is smaller than Fix lots or if selected equity lot since calculation - EA is using fix lots or Equity lots
If now selected Equity or fix lot since for example 6 lots - but Hedge is only 2 lots (both sizes are shown in chart) EA is using the bigger one, so EA is using 6 lots - or if hedge size is bigger then EA is using of course the Hedge size.

If Hedge is activ and an trend is also activ but trend actuall goes against hedge - EA does not open a position. But does close if trend is broken the order which is alredy in System and does have the most profit under EA criterias.


Opening of orders - on base of candle chart
If there are more than x candles in a row shows an trend (can be defined under parameters how many candles it should be) if this minimum candles in the row are done (trend) and the intraday candle breakout (over high or low of last candle +xpips can be definated under sets) over or under (depends on trend)  - EA does open the order market if price of intraday candle goes over high (on a long trend) or below (on a short Trend) + or - xpips Market  - with defined lot size - If Hedge is selected, or if equal both on fix lots or Equity lot calculation - order does not go if open defined Trend does not go in Hedge direction (if Hedge is selected).
Example - Minimum candles in a row 6 is selected - so EA is active if there are 6 candles same trend in a row has closed (EA is active and active is shown in chart) - If now the intraday candle (is candle 7) is breakout over high or low in trend of the candle before (candle 6) order will be placed market with Hedge lots size or if smaler than fix lots or Equity lot calculation with this lot size. 
If candle 7 has not breakout and does close in other direction (agianst trend) - EA has to wait again the dfinated candles to be active, if still candle is in trend, EA waits with next candle for breakout (opening is high or low of candle befor + or minus xpips). If not, EA has to definite 6 new candles in a row - EA is inactive, and this information is shown in Chart till the candles in trend are reached. 
Note, EA does only open a Position if breakout comes (high or Low of candel before +xpips) in trend direction after Minimum candles in a row.

Opening of orders on special Days
On selected days, If criterias above are there EA should place on definated High or Low a Pending order Xpips better. If we have an entry Signal a Pending order has to be placed Xpips better.
This order should be good for xhours
If order is in Market - handling will be with normal strategy

Note - hedge is active - EA does only open order in Hedge direction if criteria of Candles are done. 
If Hedge is not activated (or no orders in Market) EA does open in every direction the order under Candle trend criterias on base of fix lots or equity lot calculation.
If hedge lots smaler than fix lots or Equity lot calculation - EA is using the biger lot size.

EA is placing the order after activation (so trend in the row xcandel) as pending order with low or high price or xpips worser if definated.

Trend is also not any more active and does start new if:
Candele in other direction has closed - new trend starts and wait for xcandles to be activ


Activation and closing an order:
Trend is broken if the intraday candel is not closing more than xpips higher (for long Trend) or lower (for short trend) than as trend candle before. On a Long Trend intraday candle has to close xpips higher then high of candel before (only than trend is still activ). 
Or intraday trading does close xpips differenz between opening and closing of this intraday candle
Or intraday candle does close xpips range near closing of candle before - xpips - over and under high or low of candle before - depends on trend.

We have on above szenarios than 4 closing szenarios.

always the SL - SL will be always the low or high of candle before, depends on trend plus or minus xpips (can be definated under sets). If an order is in Market SL will be definated on each new intraday candle on basis of candle before +xpips.
Closing on next candle opening + range pips. If intraday cande does close in a pip range Xpips differenz between there own (intraday) Opening and closing (of intraday candel) - pips for range can be definated under parameter - than closing next candle opening or new definated SL is low or high (depends on trend) of candle before. - order will be closed on opening on next candel. 
or If Intraday candle is closed in near xpips of closing of candel before - xpips range can be definated - order will be than closed on opening on next candel.

last closing possible - intraday candel is closed against trend and not in xpip range of intraday range or range of candel before - EA does close the order with TP Limit on opening price of candle before or on new definated SL.

So in Total we have 4 closing possibilities

If there is hedge active and EA has not opend a position - EA does close the order which biggest profit on definated closing criterias.

Example for closing in Range on basis candle before - Closing in range (xPips definated) so closing of candle in trend long (candle before) was 1.2005, pips range is 5pips. So range ist from 1.2000 to 1.2010. In this range closing of intraday candel, closing is direct on opening of next candle.
If we have an long trade and candle befor intraday candle high was 1.2000 so if x pips range is definated 5 pips. The indraday candle has to close for confirming the trend over 1.2005 if not (closing is below or up and sown range) trend is broken. So EA has to close the order on opening price of next candle direct market.
candel before (this is the TP) also SL will be the low (it is a long trend) of candle before. short trend just the other way.

If we have an long trend and intraday candel does close below candel before so not in xpips range so closing is lower than range. Closing will be placed as TP of opening price of candle befor and SL

Closing can also be if SL is reached - note SL will always be definated on xpips below or above high or low of candel befor - depends on the trend and will be calculated on every new intraday Candel. - if it is a Long trend SL will be x pips under low of candel before - on a short trade SL just the other way after an order has been closed EA has to wait for next opening the Minimum candels in a row. Pending will be placed every day new because of may lot has changed.

Partial closing of Orders:

If EA does trade 3 lots. If pips are reached EA should close xpercent of the order. Stratgý of handling the order should be still activ.
30 Percent for example on 100 pips TP
Remaining Lots 50 Percent, for example on 200 pips

All other criterias should stay the same


Chart information:
EA Activ - and if activ Hedge is activ or Equal - If Hedge EA should give Information only Long or Short positions opening
Differenz Lot size - hedge size and direction should shown in chart - update every xminutes
Trade Strategy
Used lots size fix or Equity lot calculation - sice shown ind chart
Activ Traded lot size of EA

Also Info in Chart - the buy and sell order in market trading with the biggest profit - updated every xminutes

Closing information in Chart:
Trend - Long Trend is always a High, on the short trend is always the low of candel before
Closing of last candle -
Information of last closed order - Lots and Price will be stay for Xdays.  than If we have no open position - nothing will shown in chart.



//+------------------------------------------------------------------+
//|               Input Parameters                                   |
//+------------------------------------------------------------------+
static input string Miscellaneous; // <<       Miscellaneous  Settings           >>
input   int             Magic_Number         = 37476;
input   string          EA_Name              = "Candl";
input   bool            Use_Comment          = true;
input   Stratergy       Method             = Trade alway (also when only xlots open) - trade only Hege size or if to smale fix lots or Equity lot caculation


static input string Miscellaneous1; // <<       Position Sizing Settings           >> Lot calculation
input   ENUM_LOT_SIZE   Lot_Type             = STATIC_LOT;
input   double          FixLot               = 0.1;
input   double          Equity_Amount        = 50;
input   double          Lot_Per_Equity       = 0.01;

Criterias of lot calculation 
Calculation of lot or Hedge lots size updating - xminutes
EA is equal or differenz not bigger than use - xLots - above can be activated fix lots or Lot sicze calclulated on base Equity amount - what is selected and the lot sice is shown in chart.
EA opens order only in Hedge direction - so if there 3 lots long and 5 Lots short EA does open only in Long position
Updating if Hedge and Lots every xminutes.


Criterias of opening Order
Minimum candels in a row - 6 candels - can be definated
Xpips range on opening order Placing order xpips worser - this pips should be calculated to the low or high of last candle in Trend if trend is activ. Example - last trend candel long has closed on 1.2020 - xpips range is 3 pips so if price goes over 1.2023 order will go market. Order will be placed with this limit aready as pending and will be updated if needed on next candle.
SL - xpips under high or low from candel before - can be definated Xpips under high low of candel before - so if we had an long trade and the buy is opend - SL will be 30 pips under Low candel before.
Placing the order as Pending as opening price xpips worser or better (depends on trend) with calculated lots - and SL +xpips on basis of candle before.

Opening of orders on special Days
Selecting Days - Monday, xxx

On selected days, If criterias above are there EA should place on definated High or Low a Pending order Xpips better.
This order should be good for xhours- if deleted EA does Start new


Closing criterias. We have 3 closing szenarios
Xpips closing range of intraday candel (opening and closing price of intraday candle differenz) or neare candle before (closing of intraday candel near trend high/low of candle before depends on trend) closing will be Direct on opening (+ or - pips range)

Xpips closing of intraday candle Xpips better then High or low depends of trend - to confirm the trend. If Trend is not confirmed - Opening price (pluse range) is limit for closing on next intraday candle.

SL - of Trend is always high or low (candel before) depens on Trend-  x pips range can be definated - - if not executed SL will be calculated and does change on every new intrada candle
Xpips range for intraday candle or closing of candel before - closing Direct on opening (+ or - pips range) of next candel but only if closing of last intraday candly is in the Range of xpips of Long trade High (xpips below or above the High) or on short trade Xpips below or above the short low. 
Example: we have an long trade and High of candel befor was 1.2025 - so xpips range is 5 pips - closing of intraday candel is in range 1.2020 to 1.2030 so order does close on next opening
Out of this range EA does close on opening of candle befor - SL will be also definated for the new candle. So closing is on SL or on Opening of candel before. Information is in chart.
Pips range for closing on Opening example 3 pips up and down on opening 
closing intraday on opening price of candle before

Xpips range on opening order - last trend candel long has closed on 1.2020 - xpips range is 3 pips so if price goes over 1.2023 order will go market. Order will be placed with this limit aready as pending and will be updated if needed on next candle.

TP

Partial closing of Orders: set activ or inactiv

1 - Percent close 30
1 - On Pips profit xpips

2  - Percent close 50
2 - On Pips profit xpips

3  - Percent close 50
3 - On Pips profit xpips

Chart information updating every xminutes


Con risposta

1
Sviluppatore 1
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(75)
Progetti
124
44%
Arbitraggio
14
29% / 50%
In ritardo
17
14%
Gratuito
3
Sviluppatore 3
Valutazioni
(16)
Progetti
20
0%
Arbitraggio
10
0% / 80%
In ritardo
6
30%
Gratuito
4
Sviluppatore 4
Valutazioni
(4)
Progetti
6
0%
Arbitraggio
5
0% / 80%
In ritardo
2
33%
Gratuito
5
Sviluppatore 5
Valutazioni
(34)
Progetti
60
23%
Arbitraggio
11
73% / 9%
In ritardo
3
5%
Gratuito
Ordini simili
This is a reversal strategy based on the range of a 15 minute candle. Functions of the EA · Draw a range (high to low) of a specified 15 minute candle e.g. 15:00 (of course this can be 3 x 5 minute candles. The trade is taken in the 5 minute chart so this might be easier) · Compare the range of this candle to the value of the Daily ATR – the range must be a certain percentage of the Daily ATR e.g. 20%
Mt5 Scalper Ea 100+ USD
Hi i want to make Mt5 scalping ea which works on xauusd and highly profitable who have strategy please dm me and with demo version of ea so i can test and see how it works before buying it
1. Background & MQL5 Journey: ¿Cuéntame un poco sobre tu background en trading algorítmico y qué te emociona de crear EAs de alto rendimiento? 2. Experience: ¿Cuáles son 2-3 EAs destacados que has creado (mercados, Sharpe, PF, señales/backtests)? 3. Institutional Results: ¿Puedes lograr Sharpe ≥3.0, PF >2.5, <10% DD en XAUUSD? ¿Qué te da confianza? 4. Demo EA: ¿Tienes una señal de EA top (MQL5/Myfxbook) con 100+
Project Overview I am looking for an experienced MT5 (MQL5) developer to modify an existing Account Protection EA and, if required, extend it with custom logic. This is NOT a strategy or trading EA . The EA is purely for risk management, drawdown protection, alerts, and trading lock , suitable for prop-firm and managed accounts . Core Requirements 1. Alerts & Monitoring Alert on trade entry and trade exit Alert when
Project description: Development of a high-precision scalping Expert Advisor (EA), optimized for small capital accounts (starting from 50 USD) with 1:30 leverage on the IC Markets broker platform. The EA should be ready for use on both demo and live accounts, with pre-optimized settings, but with the flexibility to adjust all parameters. Mandatory technical requirements (all must be demonstrated in a working demo)
I need an edit and modification done to a deriv bot, who has experience in same, please reach out, Currently I have a system that only martingales on new signal but I want it immediately after a loss and then switch to ping pong
Hello 👋🙂 I need help with a very small finishing task 🧩 A previous programmer almost completed the EA , but stopped right before the finish line 🏁😅 Everything is already prepared and clear — just needs the final touch 🔧✨ This is NOT strategy work ❌🧠 The trading logic is already done, tested and working ✅ Only simple completion / cleanup needed. ✅ What’s already provided: Python source code 🐍 Exact entry &
Need a pro dev to create an MT4 Expert Advisor ("Monitor EA") acting as execution firewall & auto-recovery controller for multiple EAs on XAUUSD (M1). How it works: Runs on blank chart; controls EAs via chart/template actions Closes/reopens charts to manage trades (EAs aren't editable) Targets IC Markets/VT Markets ECN Raw Source code handed over on completion Key Features:* XAUUSD (Gold) focus M1 timeframe
We're looking for a highly professional MQL5 developer to create FX Apex, an advanced scalping EA optimized for small accounts ($50+), 1:30 leverage, IC Markets broker, and ready for demo/live trading. Key Features:_ Scalps XAU/USD & major pairs (M1-M15), option to add more Adaptive TP/SL based on volatility, trend, ATR, momentum Dynamic trailing, breakeven, partial close functionality Configurable risk per trade
We are looking for a highly professional MQL5 developer to create the Ultimate Super Scalper EA, optimized for small accounts starting from $50, with a leverage of 1:30, broker IC Markets and ready for both demo and live trading. This EA should be fully configured for maximum profitability upon delivery, but all parameters should remain modifiable by the user to adapt the risk, frequency of trades and trading

Informazioni sul progetto

Budget
60+ USD
Scadenze
a 6 giorno(i)