EA develop on basis on candle chart

MQL4 Asesores Expertos

Tarea técnica

I'm looking for an EA which is opening after definated candle numbers in a row and trend,  Pendings orders, which will be then good for xhours (example 23 hours after orders are placed- the pending will be deleted - if they are not executed).
For orders which will be executed in Market, if they executed with profit, they will be replaced as pending direct after TP - the expiry hours work again for the new pending order.

If orders in Market, EA does not restart. only if there is no order in Market - EA does check candels and place pendings if criterias are there.
Only if orders are executed or expired (so no order in Terminal) - EA is trade new next candle if there is still the minimum candles in a row.

If candle trend change, EA does restart and wait for the next possible candle numbers in the row.

EA should have a magic number.



Explanation first candle definition

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 will be placed on high and low, +xpips after Xcandles ore more were in a row.

Parameter:
Xcandels - placing buy and sell order - if more than definated candle in a row were. EA is active - example set is 2 candles - so pendings will be placed on opening of 3 candle. EA does open on high and low + xpips an order - on High a buy on low a sell.

So if on 3 candle Pendings all orders are executed and pendings expired - EA will place on 4th candle if there is no order in Terminal and Trend is also there on hihg and low of candle 3 each +xpips the buy and sell pendings.


Xpips - example 5 pips so buy order will be placed 5 pips higher as high of the candle - sell just the other way
Pending are good for x hours - works for every pending which will be placed on time when placing


Second candel defination
there should be a second candle defination be there were only on one side will be placed the pending.If second candle defination is activ  first candle defination does not work.

First candle definatin was after 2 candels. So if second candle set is 4 candel. On the 5 candel there will be only placed the pendings but only on side against trend. So if we have a buy trend the pendings will be only placed on low +xpips.<

So abter 4 candel if the trend goes xx candels ther will be only placed the pendings on one side. and the side is against trend.



Placing of the pending orders starts always with new opening of candle and if there is no Order open in Terminal.



Button in Chart -
I want an button in Chart - if this button will be pressed, EA should place the Pendings under above criterias. If there were before 2 candels in a row (first candel defination) EA should place the pendings above and below candle before.
If second candel defination is activ EA should only place if ther were (4) definated candels in a row and the pendings should be placed an low of candle before.
Always if button is pressed:
EA is placing orders on criterieas but only if there is no orders under pending or in market.


Reopening

If an order is closed with TP - this order will be replaced +xpips pips better direct again as pending. So every reopening will be xpips better.


Lot definition:
Fix lot - EA is always using the fix lots only for normal mode
The definated Lots at fix  - I want a partial closing or if not Possible EA should place the fix volume /in 4 pending orders. Fix Lots / 4 - is Volume for each pending order.

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 - is at the beginnen Low or high of candel before and will be always updated after actual candle is closed +xpips. So SL is moving with every candl


After first candl trade is done: SL will updating to next candel (high or low +xpips).

Expiere of pending order - xhours- After no orders in Terminal EA does restart-





Han respondido

1
Desarrollador 1
Evaluación
(64)
Proyectos
93
37%
Arbitraje
11
27% / 45%
Caducado
14
15%
Libre
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(7)
Proyectos
14
21%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
Solicitudes similares
I'm looking for an experienced developer to convert a TradingView indicator script into an MT4 (MetaTrader 4) compatible format. The script, written in Pine Script version 5, includes custom indicators and graphical elements such as lines, boxes, and labels that we need to be accurately replicated in MT4
I already have a Fibonacci based indicator which give precise entry as well as take profit and stop loss levels without repainting. I want to convert this to an EA so as to enable it pick trades automatically. Pay attention to the attached Images for entry and exit description. The EA will be protected with password or any other security protocols. THE EA OUTPUT will be in MQ4 & MQ5
I need help with a specific issue in NinjaTrader 8. I'm using Strategy Builder to automate my setup, but it's ignoring some of my conditions for shorts, and not placing long trades at all. I've set up many other Strategies, and never had issues like this, so I suspect the cause is the indicator I'm using, which is the Ichimoku Cloud from the NT User App Share. So what I need is a new version of the indicator that
// Define the properties input int ShortPeriod = 12; input int LongPeriod = 26; input double LotSize = 0.1; // OnTick function is called every time there is a price update void OnTick() { double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo. Necesito algo agresivo, constante pero que no exponga el capital... prefiero una estrategia de smc
Modify existing EA 50 - 70 USD
Hi, The task involves adding functions to an existing EA and correcting an error. The developer must have a thorough understanding of the following: Trailing Take Profit function Calculating a decreasing distance between orders Ability to code a function for Global Profit decrement/increment size in percentage Ability to correct error 10015 Thank you in advance
Looking for experienced programmer to create a trend line breakout and trend line bounce indicator that send alert with arrow on screen without open trades multiple currency pairs time frame M15 H1 H4 D1 W1 MN
Hello programmers, I need a coding assistance to do the following job. Currently the EA opens two different trades one has a comment "Originial" and another has comment "Series" The job is if the Original trade is negative by x pips, open a hedge trade(Hedge1#-OrderTicket of the soruce trade) along with one buystop and a sell stop order and the comment of the trade will be "Recovery#1-+OrderTicket() of the original
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Dashboard I want to add is 1974 lines of code Indicator Changes I want to change the indicator The

Información sobre el proyecto

Presupuesto
30+ USD
IVA (19%): 5.7 USD
Total: 35.7 USD
Para el ejecutor
27 USD