Develop EA on basis of Candl Chart

MQL4 Asesores Expertos

Tarea técnica

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


Han respondido

1
Desarrollador 1
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(74)
Proyectos
121
43%
Arbitraje
12
33% / 50%
Caducado
17
14%
Libre
3
Desarrollador 3
Evaluación
(16)
Proyectos
20
0%
Arbitraje
9
0% / 78%
Caducado
6
30%
Libre
4
Desarrollador 4
Evaluación
(4)
Proyectos
6
0%
Arbitraje
5
0% / 80%
Caducado
2
33%
Libre
5
Desarrollador 5
Evaluación
(34)
Proyectos
60
23%
Arbitraje
11
73% / 9%
Caducado
3
5%
Libre
Solicitudes similares
Pinescript to MQL5 100 - 200 USD
READ IT URGENT, i need to complete this job in 1-2 day so APPLY it only if can do it, if some requirement is not clear tell me, im here, please be careful, i need this in 1-2 days, if you are not sure, not apply it, i dont want leave BAD FEEDBACKS please
Create hedging grid EA with my own logic. Add a Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Add Profit loss Dashboard Virtual all trade close Button
Hi There, my name is Jordan and I’m based in Australia. I’m looking to get an EA developed through freelance work and I’ve outlined some rough details of the intended EA, which is a similar concept to an existing EA by Andrii Hurin called “Time Range Sweep EA”. There are quite a lot of similarities to the reference EA and these include: · Trade on any market and instrument or on several pairs at the same time
Hello, Looking to create an arbitrage EA for MT5. The EA will run on two local MT5 instances (ex. 2 different accounts) and keep track of a certain pair price every 10 seconds. The EA will send data from instance #1 to instance #2 and vice versa. The EA will execute trades on the two accounts if a set of conditions are met. Apply if you have the experience and knowledge
I have an algo that is running on ProRealTime, they have their own language. It is a simple strategy with 5 conditions + SL/TP settings, very basic. I need someone that can convert or just create a functional MT5 algo (EA) from these conditions for me, if you do a good job I have around 10+ more algos that need to be transferred to MT5
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators. Posted earlier
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Good day i will need a developer to create an EA for me using existing trading view indicator .The EA will open after the indicator has given signal and will close if altenate signal comes.The trading view indicator will be shared and improvement is welcome
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators

Información sobre el proyecto

Presupuesto
60+ USD
IVA (19%): 11.4 USD
Total: 71.4 USD
Para el ejecutor
54 USD
Plazo límite de ejecución
a 6 día(s)