EA based on New York Previous Day High/Low

MQL4 Asesores Expertos

Tarea técnica

EA based on New York Previous Day High/Low, suitable for backtesting:

- To work on any timeframe. Will probably be used between 5-15 minutes.

- Firstly it must get server time, and convert to New York time, and take into account Daylight Savings Time. Do not use Local computer time to do the conversion, as I want to be able to backtest this, so you must do the conversion based off of server time. I suggest you use this:

https://www.mql5.com/en/articles/9926

https://www.mql5.com/en/articles/9929

- Look at the previous day New York Session between 9.30am and 4pm. I might want to change these times in future, so these should be configuarable. Find the Max/Min High Low of the candles and also a 20SMA and 200SMA from within this time period. Take the high lows of these 4 items (high low of candles, high low of 20 SMA, and high low of 200 SMA). From these Items create a high low box, and project/draw it onto the next day session.

- Once the Next Day session starts (opening candle at 9.30am), check if the open of the opening candle was above or below the high and the low.

- If it opened above the high take a long. If below the low take a short. You should enter above or below the high/low of the opening candle, and you should also add a small distance to the entry of say 1 tick. (this additional entry amount should be a variable input that we can customize).

- Also add an optional filter that only takes the trade if the opening candle was in the direction of the trade. So for exaaple, the opening candle opens above the high of the previous days data, so we want to go long at the high of the opening candle (+ 1 tick). Only take the trade if the opening candle is bullish. This directional confirmaiton filter we should be able to switch on and off.

- I want the Stop size to be configurable input by ticks...so for example 4 ticks

- Max percent risk should be configurable to. For example 1% of equity

- Risk to reward should be configurable, for example 3 RR, and the TP target price calculated based off of that.
- Slippage should be configurable - for example 3 ticks.
- For risk management I want the option to move the Stop to a given RR, omce reahcing a give RR. So for example, once we reach 0 RR move Stop loss to -0.5 RR.
- No pyramiding. Only 1 position at a time. 
- Configurable starting equity balance (e.g $1000)
- I want to backtest this with Tick Data, so please take this into account when building the EA, so that this is possible.
- I would like this to visually plot on the chart the High Low of the previous range, and then also an visible indicaiton of trades taken, with entry, stop and TP levels on the chart.


Han respondido

1
Desarrollador 1
Evaluación
(167)
Proyectos
192
11%
Arbitraje
37
38% / 35%
Caducado
5
3%
Trabajando
2
Desarrollador 2
Evaluación
(92)
Proyectos
109
34%
Arbitraje
5
40% / 20%
Caducado
5
5%
Trabaja
3
Desarrollador 3
Evaluación
(362)
Proyectos
504
40%
Arbitraje
147
18% / 72%
Caducado
98
19%
Ocupado
4
Desarrollador 4
Evaluación
(135)
Proyectos
192
42%
Arbitraje
17
29% / 59%
Caducado
28
15%
Libre
5
Desarrollador 5
Evaluación
(376)
Proyectos
398
31%
Arbitraje
62
19% / 69%
Caducado
50
13%
Trabaja
6
Desarrollador 6
Evaluación
(68)
Proyectos
77
8%
Arbitraje
33
9% / 55%
Caducado
6
8%
Trabaja
7
Desarrollador 7
Evaluación
(45)
Proyectos
51
51%
Arbitraje
1
0% / 100%
Caducado
1
2%
Libre
8
Desarrollador 8
Evaluación
(12)
Proyectos
15
40%
Arbitraje
2
50% / 50%
Caducado
0
Trabaja
9
Desarrollador 9
Evaluación
(475)
Proyectos
504
53%
Arbitraje
10
60% / 20%
Caducado
3
1%
Libre
10
Desarrollador 10
Evaluación
(126)
Proyectos
160
36%
Arbitraje
4
25% / 50%
Caducado
13
8%
Libre
11
Desarrollador 11
Evaluación
(6)
Proyectos
6
33%
Arbitraje
2
0% / 100%
Caducado
0
Trabaja
Solicitudes similares
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it

Información sobre el proyecto

Presupuesto
100+ USD
Para el ejecutor
90 USD