Consecutive UP/DOWN bar buy/sell EA

MQL5 Experts

Termos de Referência

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.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
Projetos
24
42%
Arbitragem
3
33% / 0%
Expirado
4
17%
Livre
2
Desenvolvedor 2
Classificação
Projetos
64
42%
Arbitragem
5
20% / 60%
Expirado
4
6%
Livre
Pedidos semelhantes
I need a custom MT5 EA that can place trades (Buy & Sell) from two Telegram channels. One telegram channel will give the trend signal (Bullish or Bearish) and the second telegram channel will give buy and sell signals
hello i like to have zigzag added to my EA and set orders when it makes a pullback strategy (Higerlow/Lowerhigh) or break of market structure strategy Higherhigh/Lowerlow break set order entry I want it to be able to do these 2 things but one at a time. -Zigzag makes a pullback into an HigherLow/LowerHigh set order entry -Zigzag breaks structure HigherHigh/LowerLow set order entry - For PULLBACK STRATEGY i just want
Looking for a indicator that can show where the majority of retail stop losses are placed Please can someone advise me how best to achieve this but it needs to be accurate
I have a grid trading bot that needs debugging. its perfect apart from a random stop loss I encountered. It’s supposed to have a stop loss at 99% but it one time closed trades at around 25% loss. Here is a list of potential things causing it to bug out (it’s running on MQL VPS MT5, I also want to retain the ability to close positions manually); - Chart change (symbol or timeframe) - Recompiling the EA - Server
Me gustaría poder crear automaticamente varias ordenes que se queden pendientes pudiendo definir los siguientes parámetros: Tipo de orden (Buy y sell stop, buy y sell limit. Precio de compra / venta. Pudiendo entrarlo manualmente o como un numero de puntos a sumar/restar del precio actual de marcado. Numero de puntos que ocuparan en total las ordenes y numero de ordenes a insertar (Ejemplo: 200 puntos, 4 ordenes, es
tardes desarolladores, quiero hacer un sistema semiatomatico, el deberia abrir las operaciones de venta o compra en un punto donde yo haga el analisis cumpliendo siertos criterios, por ejemplo abrir la operacion despues de que tresvelas del mismo color salga de un punto donde yo deje marcado , abriendo una operación 1/1 tenuendo en cuenta dos lineas que yo dejare marcadas
Hi developer, I need a EA bot with forex news filtering for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). That's no problem if you can share your own profitable ea to me for 100 usd. I don't have any idea about ea strategy. But, I need profit in this ea Please share backtest, strategy, how ea works and ea's features
Hello, I’m looking for an experienced MQL5 developer to help integrate cloud-based parameter control for an existing MT5 EA. The goal is to allow EA parameters to be adjusted via a secure web interface. Please reach out via private message for more details and to discuss further
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello mate .. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform integration, please

Informações sobre o projeto

Orçamento
20- USD
Prazo
para 5 dias