EA who trades on basis of candl chart

MQL5 エキスパート

指定

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 open market orders in Terminal are equal - or difference is not bigger than xlots - can be defined under parameter.
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.

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.


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.


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

Chart information updating every xminutes




応答済み

1
開発者 1
評価
(9)
プロジェクト
8
0%
仲裁
9
0% / 67%
期限切れ
3
38%
類似した注文
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
I need someone to build an EA for me based on Trend and Pivot levels from custom Pivot and Trend indicators. I will provide more information to the selected programmer
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details

プロジェクト情報

予算
50+ USD
VAT(付加価値税) (19%): 9.5 USD
合計: 59.5 USD
開発者用
45 USD