Strategy with two steps: 1) decide once a day about the next day (e.g. "long") 2) go long if MA rereverses at a lower bollinger band on a smaller time frame

MQL5 Experts

Termos de Referência

I would like the bot to do the following basic checks:

1) Once a day

1.1 Once a day(e,g. at 23:00) compute MA(33) on the 1d time frame.

1.2 The standard deviation of the price difference (p-MA(33)) over N last candles (N is set as the input)

1.3 The current value s=(p[last]-MA(33))/std

1.4 If the result from 1.3 is higher than the input threshold S (s>S), then set "SHORT" as the 1d-direction. if s <S, set "LONG". Else hold on.


2) on the 15m timeframe.

2.1 compute Bollinger(13,1.5) which gives the bands: bol_up=MA(13)+1.5std, bol_down=MA(13)-1.5std

2.2 compute a MA(2)

If the result from 1) was SHORT,  and MA(2)>=bol_up, enter the market with a predefined amount (input variable).

If the result from 1) was LONG, and MA(2)<=bol_down, enter (market order) with a predefined amount (input variable)

If the result from 1) is "stand by", do nothing.


3) Tracking

If we are in the market:

3.1 if the profit is <0: exit if the market entry price (p_e) and the current price (p_c) differ more than 2std from the bollinger:

exit if abs(p_e-p_c)>std

3.2 If the profit increased and abs(p_e-p_c)>std, set the stop exit to p_e+0.1pip

3.3 If the profit increased more than (p_e-p_c)>2std, set the stop to p_c-std

Perform 3.2 and 3.3 only if the "best" price is reached. e.g. in the case of a "LONG" trade, check if p_e >max(p) since the market entry.



Respondido

1
Desenvolvedor 1
Classificação
(584)
Projetos
913
46%
Arbitragem
31
39% / 29%
Expirado
93
10%
Trabalhando
2
Desenvolvedor 2
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
3
Desenvolvedor 3
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(137)
Projetos
167
35%
Arbitragem
11
91% / 0%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(82)
Projetos
86
57%
Arbitragem
25
0% / 84%
Expirado
19
22%
Livre
7
Desenvolvedor 7
Classificação
(250)
Projetos
400
38%
Arbitragem
82
41% / 20%
Expirado
69
17%
Carregado
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(66)
Projetos
143
34%
Arbitragem
11
9% / 55%
Expirado
26
18%
Trabalhando
Pedidos semelhantes
I need someone who can create a copy trading software that has one master account and additional accounts up to 60 or 70 ... Option settings should be able to put different sizes on each other let's just say customize settings on each of them
I have an indicator that gives buy and sell signals and has a panel that shows the statistics. I would like to add three lines as profit virtual and a stoploss line that could be modified in pips and that would be reflected in the statistics
Pappa sefume 30 - 300 USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Hello, I am hoping to automate my trading strategy and have set out the criteria below. Chart: 15m Indicators EMA: 7 period EMA: 14 period ATR: 14 period MACD applied to close: Fast: 7 Slow: 14 Smoothing: 7 Entry criteria for a buy: It is between the hours of 09:00 and 23:00. Price is above both EMAs. The 7-period EMA is above the 14-period EMA, on the previous candle, it was below or equal to the 14-period EMA. The
Modify of my mql5 ea. 30 - 100 USD
Hello. I need to modify my current ea on MT5. At the moment current strategy is based on breakout asian Session box and retest of this box, then ea placing trade. I need to add another function that ea will wait for breakout asian box and wait for pullback and then place trade. Pullback option need to be Set up on how many pips is pullback valid. More info in photo. Also few other small modification. One photo is
Hey, I am looking for an experience trader that also skilled in programming expert advisor for metatrader 4, Please I am only looking for an experience forex trader that also specialized in coding as I need a reliable expert that I can just share the little ideas trading I had in mind with, he/she will then read well with deep understanding of what I wanted to achieved, and be ready to put me on the right
I hope this message finds you well. I am in search of a FREE skilled developer to transform three indicators into a fully functional trading robot. These indicators consist of two MACD indicators, each displaying two colors (red and green), along with a RED arrow signal. Here are the specific requirements for the project: The robot should execute trades only when the RED arrow signal appears and both MACD indicators
i want to add orderblock to my existing ea, there will be a condition that will identify orderblocks and draw an horizontal box to the future. market must touch any of those box and if other condition met the ea will open trade else none, the box can be deleted if a new candle and close below or above it. note: the horizontal box will be drawn from the open of the bearish candle for a bullish order block to the
A developer is sought to modify an existing EA. The changes to be made are on money management, adding an indicator between conditions, and (not essential) in adding a news filter. EA already works correctly but needs to be optimized
Hello here I am in need of an NT8 developer which can create a custom strategy for NT8 Kindly bid on this if you are an Expert in Ninjatrader Thank you

Informações sobre o projeto

Orçamento
30+ USD
IVA (19%): 5.7 USD
Total: 35.7 USD
Desenvolvedor
27 USD