Moving Average Expert Advisor

Termos de Referência

Hi,


I will like to have an expert advisor based on 9 period simple moving average. I want the bot to be able to open a sell order after 8 consecutive candles have close prices above the 9 period simple moving average and also open a buy order after 8 consecutive candles have close prices below the 9 period simple moving average.


I also want the bot to open a maximum of one order in 24 hours or if I can specify how many orders it can open. It also open only one order at a time.


See the pine script I want to convert to forex EA below.


Thanks.


//@version=2 

//@November 26, 2021 

//@Author: Fisayo 

study(title="8barsabove9ema", shorttitle="MAsell", overlay=true)


// Checkbox's for the other 2 MA's

a = input(true, title="Enable 2nd MA")


len = input(9, minval=1, title="Length")



src = input(close, title="Source")



out = sma(src, len)




SellAlert = close > open and close > out and (close - out) > 0.05 and close[1] > out[1] and close[2] > out[2] and close[3] > out[3] and close[4] > out[4] and close[5] > out[5] and close[6] > out[6] and close[7] > out[7]


plotshape(SellAlert, style=shape.arrowdown, location=location.abovebar)


alertcondition(condition=(SellAlert), message="8 bars above 9 ema")


plot(out, title="EMA", color=blue)

Respondido

1
Desenvolvedor 1
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(346)
Projetos
543
32%
Arbitragem
24
67% / 8%
Expirado
15
3%
Livre
3
Desenvolvedor 3
Classificação
(236)
Projetos
418
34%
Arbitragem
53
36% / 40%
Expirado
153
37%
Ocupado
4
Desenvolvedor 4
Classificação
(14)
Projetos
14
21%
Arbitragem
1
0% / 100%
Expirado
1
7%
Livre
5
Desenvolvedor 5
Classificação
(251)
Projetos
400
54%
Arbitragem
9
67% / 22%
Expirado
36
9%
Livre
6
Desenvolvedor 6
Classificação
(126)
Projetos
160
36%
Arbitragem
4
25% / 50%
Expirado
13
8%
Livre
7
Desenvolvedor 7
Classificação
(38)
Projetos
50
10%
Arbitragem
1
0% / 0%
Expirado
8
16%
Livre
8
Desenvolvedor 8
Classificação
(132)
Projetos
170
18%
Arbitragem
17
47% / 18%
Expirado
0
Trabalhando
9
Desenvolvedor 9
Classificação
(439)
Projetos
545
25%
Arbitragem
21
38% / 38%
Expirado
83
15%
Livre
10
Desenvolvedor 10
Classificação
(3)
Projetos
5
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(57)
Projetos
72
22%
Arbitragem
13
46% / 15%
Expirado
5
7%
Livre
12
Desenvolvedor 12
Classificação
(568)
Projetos
641
41%
Arbitragem
21
57% / 29%
Expirado
47
7%
Trabalhando
13
Desenvolvedor 13
Classificação
(92)
Projetos
132
35%
Arbitragem
13
38% / 31%
Expirado
32
24%
Livre
14
Desenvolvedor 14
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
15
Desenvolvedor 15
Classificação
(52)
Projetos
97
24%
Arbitragem
10
20% / 20%
Expirado
12
12%
Trabalhando
16
Desenvolvedor 16
Classificação
(126)
Projetos
151
48%
Arbitragem
6
83% / 17%
Expirado
2
1%
Livre
17
Desenvolvedor 17
Classificação
(66)
Projetos
143
34%
Arbitragem
10
10% / 60%
Expirado
26
18%
Livre
18
Desenvolvedor 18
Classificação
(56)
Projetos
175
71%
Arbitragem
4
100% / 0%
Expirado
1
1%
Livre
19
Desenvolvedor 19
Classificação
(8)
Projetos
13
31%
Arbitragem
1
100% / 0%
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(563)
Projetos
932
47%
Arbitragem
301
59% / 25%
Expirado
124
13%
Trabalhando
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
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
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
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
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Informações sobre o projeto

Orçamento
40+ USD
Desenvolvedor
36 USD