Simple MT5 Expert Advisor action based on the previous candle

MQL5 Asesores Expertos C++ Fórex

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Cliente
Very fast and responsive coder. 5 stars!
Comentario del Ejecutor
Dear customer, Thank you for the interesting order! I wish you happiness and good luck!

Tarea técnica

Hi,

I would like simple EA- robot for MT5 platform.

 

On the selected time frame and currency pair I would like for the positions to open regarding the last candle. Meaning if the last candle was red, then at the beginning of the new candle we open SELL position and if the candle at the end of the time frame is green, then the buy is executed at the beginning of the new candle at selected time frame.

So in theory if we use robot on H1 time frame of the selected currency pair, robot would open max 24 trade positions in a day.

 

Opened position is closed :

At take profit –OR-

Trailing stop –OR-

Stop loss –OR-

At the end of the traded candle (selected time frame);

 

Double down strategy

If the closed trade was in loss at the closing the next position that opens doubles the size of lots for the next trade. For example we opened sell position (0,01 LOT) and it hit the selected stop loss. Then on the next position opening we would trade with 0,02 LOT and if that lost again we open at next candle 0,04 LOT, and so on until the opening position is a winner and then the new trade will again use the minimum LOT selected in the EA settings.

 

EA settings:

Lot - Fix lot

Double down strategy on/off

Time to Start Hour - Start hour to open trades

Time to Finish Hour - End hour to open trades

Magic - Magic number

Trailing On Off - Trailing stop on/off

Trailing Start - Trailing start in points

Trailing From - Trailing from in points

Trailing Step  - Trailing step in points

TakeProfit - Take Profit in points

StopLoss - Stop Loss in points

 

Please deliver nicely structured and well commented code, as this is first phase of the robot.

 

Supply also the source code.

 

Thank you for your time.


Han respondido

1
Desarrollador 1
Evaluación
(162)
Proyectos
218
30%
Arbitraje
4
50% / 25%
Caducado
5
2%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(38)
Proyectos
50
10%
Arbitraje
1
0% / 0%
Caducado
8
16%
Libre
3
Desarrollador 3
Evaluación
(2279)
Proyectos
2873
63%
Arbitraje
121
45% / 26%
Caducado
429
15%
Libre
4
Desarrollador 4
Evaluación
(132)
Proyectos
178
39%
Arbitraje
4
25% / 50%
Caducado
14
8%
Libre
5
Desarrollador 5
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
6
Desarrollador 6
Evaluación
(208)
Proyectos
297
54%
Arbitraje
0
Caducado
1
0%
Libre
Ha publicado: 6 ejemplos
7
Desarrollador 7
Evaluación
(7)
Proyectos
12
42%
Arbitraje
1
0% / 100%
Caducado
2
17%
Libre
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(137)
Proyectos
167
35%
Arbitraje
11
91% / 0%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
11
Desarrollador 11
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
I want developer who know how to create bot which immediately transfer specific crypto coin deposit to one crypto address to another specific address in just a second,, if you know about this then only comment on this post
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
Hello Developers, I need ready made MT5 HFT Gold Scalper. Must pass in backtesting lower DD work with minimum $50 if you have ready made scalper than send file for Demo test and than we Final the deal. Thanks
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
can you help me with making a simple tradingview/script that draws boxes labeling consolidation areas according to my specifications? IF anyone can help with this kindly do well to bid to this so we can discuss more about the project thanka

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 3 a 10 día(s)