Moving Average Expert Advisor

명시

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)

응답함

1
개발자 1
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
2
개발자 2
등급
(346)
프로젝트
543
32%
중재
24
67% / 8%
기한 초과
15
3%
무료
3
개발자 3
등급
(236)
프로젝트
418
34%
중재
53
36% / 40%
기한 초과
153
37%
바쁜
4
개발자 4
등급
(14)
프로젝트
14
21%
중재
1
0% / 100%
기한 초과
1
7%
무료
5
개발자 5
등급
(251)
프로젝트
400
54%
중재
9
67% / 22%
기한 초과
36
9%
무료
6
개발자 6
등급
(126)
프로젝트
160
36%
중재
4
25% / 50%
기한 초과
13
8%
무료
7
개발자 7
등급
(38)
프로젝트
50
10%
중재
1
0% / 0%
기한 초과
8
16%
무료
8
개발자 8
등급
(132)
프로젝트
170
18%
중재
17
47% / 18%
기한 초과
0
작업중
9
개발자 9
등급
(439)
프로젝트
545
25%
중재
21
38% / 38%
기한 초과
83
15%
무료
10
개발자 10
등급
(3)
프로젝트
5
0%
중재
0
기한 초과
0
무료
11
개발자 11
등급
(57)
프로젝트
72
22%
중재
13
46% / 15%
기한 초과
5
7%
무료
12
개발자 12
등급
(568)
프로젝트
641
41%
중재
21
57% / 29%
기한 초과
47
7%
작업중
13
개발자 13
등급
(92)
프로젝트
132
35%
중재
13
38% / 31%
기한 초과
32
24%
무료
14
개발자 14
등급
(219)
프로젝트
370
42%
중재
145
17% / 41%
기한 초과
124
34%
무료
15
개발자 15
등급
(52)
프로젝트
97
24%
중재
10
20% / 20%
기한 초과
12
12%
작업중
16
개발자 16
등급
(126)
프로젝트
151
48%
중재
6
83% / 17%
기한 초과
2
1%
무료
17
개발자 17
등급
(66)
프로젝트
143
34%
중재
10
10% / 60%
기한 초과
26
18%
무료
18
개발자 18
등급
(56)
프로젝트
175
71%
중재
4
100% / 0%
기한 초과
1
1%
무료
19
개발자 19
등급
(8)
프로젝트
13
31%
중재
1
100% / 0%
기한 초과
0
무료
20
개발자 20
등급
(563)
프로젝트
932
47%
중재
301
59% / 25%
기한 초과
124
13%
작업중
21
개발자 21
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
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

프로젝트 정보

예산
40+ USD
개발자에게
36 USD