EA trades orders on Candle chart

MQL4 专家

指定

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 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.


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

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

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.








反馈

1
开发者 1
等级
(3)
项目
4
0%
仲裁
8
13% / 88%
逾期
1
25%
空闲
相似订单
Order of EA trading only Arrow signals of my indicator in MT4 This EA should trade only the BUY and SELL Arrow signals after 1 added candle AND only if the bricks (blue for blue and red for sell) are in same direction Arrow + a brick Indicator is here attached. Arrow up + 2 Bricks Blue is BUY Arrow down + 2 Bricks Red is SELL Important is to check ONLY CLOSED candels. Sometimes it maybe occur ,that arrow apperase
Je souhaite un Ea advisor, possédants des stratégies combinés tels que : RSI+BB, Stoch+ATR, Fibonacci pattern harmonics, Keiltner+Canal Donchian, EMA+SMMA, support et résistance,zizag Min lots : 0.1 Je rechargerai mon solde une fois qu’un bon robot me sera présenté Je 'ai qu’une centaine d’euro entre mon investissement en votre EA et mon solde métatrader je ne veux pas de calcul de lots en fonction de mon
Pinescript code 60 - 100 USD
i need to convert this pinescript to ea mql4 exactly as original, consider my budget, i have also other project so if you are avalable and have enough time consider to take also other pinescript project
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
Martingle EA 30+ USD
Create martingle grid EA with my own logic. Add Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Profit loss Dashboard Virtual all trade close Button
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. When sending
I need a graphic designer that is good at voice overs and object animation. I have a dialogue project that I intend it to deliver a certain message for marketing purposes. The project is to be done by cartoons and they should be much humanized in terms of graphics. The project has to be in the form of video that lasts up to 3 minutes longest and not less than 2 minutes. Creativity is the most important requirement
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader

项目信息

预算
30 - 60 USD
VAT (19%): 5.7 - 11.4 USD
总计: 35.7 - 71.4 USD
开发人员
27 - 54 USD
截止日期
 6 天