Consecutive UP/DOWN bar buy/sell EA

MQL5 Asesores Expertos

Tarea técnica

Hi - I have a 90% finished EA that needs to be fixed (the last coder did not finish it), below is the description and I will send bidders the MQ5 file so they can look at it.


I want an EA that opens a buy trade after "x" consecutive negative day closes; or enters a sell after "x" consective positive previous bars.. e.g. if I entered "x=5" into the parameter, the EA would buy after 5 negative bars (at the open of the 6th bar) and sell after 5 positive bars (at the open of the 6th bar).


Also the EA continues to open trades until it wins e.g. if "5" consecutive positive bars occured, the EA would Sell, then if the next bar was Positive it would sell again - The EA carries on selling until the next bar is negative and the EA wins.


The EA wil have a "first order lot" system and then a "Secondary multiple order system" - this is for any new orders that are opened after the first trade if the trend continues e.g. if "1" is entered for the "first order lot" parameter and "2" is entered into the "Secondary multiple order system", this means the EA will "x2" every further order. So if there was 3 orders before winning, the order lots would be: 1lot, 1x2=2lots, 2*2=4lots.


The EA continues selling with all orders open and closes all open trades in the martingale once a daily close is positive


The EA will have two  TP/SL systems.

1. The TP = the close of the first positive bar, no SL is used

2. the SL= the close of the CURRENT bar so the SL will not be active until the "now" bar has closed e.g. after 3 consecutive up bars close at $110, the sell order is executed at the open of the 4th bar, if the 4th bar rises and closes at 120, the SL for the order will be 120.

the TP = % retracement of the consecutive up/down candles e.g. if 3 consecutive up bars close at up at $100 (from $90), a sell is entered at the open of the 4th bar at $100 and the TP is a % of the $10 gains that the symbol has made. For example, if the TP = 50%, the sell position at $100 would have a TP of $95 - as 50% of $10 (the gains from the consecutive wins) is $5. So the TP is 5%. And there is an "open price" TP that sets the TP to a % of the open price e.g. if the trade is opened at $100 and the TP is 10% then it means the TP = $110.#



Attached is the code.

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(13)
Proyectos
24
42%
Arbitraje
3
33% / 0%
Caducado
4
17%
Libre
2
Desarrollador 2
Evaluación
(54)
Proyectos
64
42%
Arbitraje
5
20% / 60%
Caducado
4
6%
Libre
Solicitudes similares
I want a programmer to create me a trading robot that can open an close trades that works from a 5m time frame to daily time frame that trades all currencies an it should work in all brokers. The bot should trade the minimum amount of $10 an more it should trade both MT4 an MT5
Hello there!! I need a professional ninjatrader developer who can code my specifications to an EA .kindly bid and all the necessary informations will be sent via chat box..Thank you
The EA should have the input of both indicators for i will be putting my own settings Buy/sell order conditions to be met before an order is executed 1. BUY ORDERS; a weak/strong low signal appears (from smart money concept indicator) and must be touching/sitting on a previous buy order block which is constant or doesn't disappear/vanish and the other indicator Bheurekso must have given an arrow signal of opposite
I want to develop a trade copier that copies trades from master account to client and also from client account to master account. It should be working on computer or VPS
Wirtschaftskalender 50 - 200 USD
1) Einbinden des Wirtschaftskalender ( https://www.mql5.com/de/economic-calendar ) 2) Unterschiedliche Gewichtung der Ereignisse erkennen (Farbe rot/orange/grau) 3) Je nach Gewichtung unterschiedliche Wartezeiten vor und nach dem Ereigniss Der Sourcecode muss dokumentiert sein. Die Bezahlung des vereinbarten Betrages läuft in 33% Schritten ab. 33% bei Vergabe 33% bei Endabnahme (Version 1.0) 33% nach Abgabe des
Hi, This is my demand: Enhancement to an existing robot with the ability to modify the main time frame and indicators settings. Buy/Sell Stops are placed depending on candle positioning and a positive/negative Bulls Power. Trades are supplemented after reaching 10 points of profit. The robot should also support a balance option for propfirm accounts, switchable to use real account balance when needed. I will send
algo trading application want to developed Prerequisites for ordering a trading robot Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading
I have list of free indicators in tradingview and i would like to convert them into an mt4 ea, But the EA will have and work based on the indicators features The list of the are listed as follows :> 1. Market Structure Break And Order block. By EmreKb 2. Rainbow Adaptive RSI by LuxAlgo 3. Multiple MA (21,50,100) 4. SuperTrend Please don't apply if can't do this, So we won't ourselves time
Hi I do not know why but my other order have been deleted and it's not me... I do not know what i did wrong, let me explain again. I dont want you to crack a code or decompile. I want to create a scalper EA with the option I do ask. I had somebody built a EA called Drawdown manager for me that I do use to manage risk of any EA that I test and I have the built code. My problem is that I cannot back test this EA Fast
CHAPTER 1: BASICS 1.THE BASICS 1.1. EXPANSION AND RETRACEMENT Expansion =>occurs when there is an impulse movement towards a direction. Retracement => is the correction movement after an impulse movement. 1.2. FIBBONACCI RETRACEMENT USED TO DETERMINE THE END OF THE RETRACTION MOVEMENT, USUALLY THE PRICE RETRACTS TO 50% OR UNTIL OTE (0.62, 0.705, 0.79) BEFORE ANOTHER IMPULSE MOVEMENT OCCURS. 1.3. BMS - BREAK IN MARKET

Información sobre el proyecto

Presupuesto
20- USD
Plazo límite de ejecución
a 5 día(s)