Moving Average Expert Advisor

Specification

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)

Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(455)
Projects
721
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
3
Developer 3
Rating
(319)
Projects
571
35%
Arbitration
83
31% / 45%
Overdue
206
36%
Free
4
Developer 4
Rating
(14)
Projects
14
21%
Arbitration
1
0% / 100%
Overdue
1
7%
Free
5
Developer 5
Rating
(251)
Projects
400
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
Published: 2 codes
6
Developer 6
Rating
(132)
Projects
178
39%
Arbitration
4
25% / 50%
Overdue
14
8%
Free
7
Developer 7
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
8
Developer 8
Rating
(211)
Projects
274
21%
Arbitration
24
54% / 17%
Overdue
0
Free
9
Developer 9
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
10
Developer 10
Rating
(3)
Projects
5
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
12
Developer 12
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
13
Developer 13
Rating
(93)
Projects
133
35%
Arbitration
13
38% / 31%
Overdue
32
24%
Free
14
Developer 14
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
15
Developer 15
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
16
Developer 16
Rating
(126)
Projects
151
48%
Arbitration
6
83% / 17%
Overdue
2
1%
Free
17
Developer 17
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
18
Developer 18
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
19
Developer 19
Rating
(13)
Projects
18
44%
Arbitration
2
50% / 50%
Overdue
0
Free
20
Developer 20
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I am looking for an **experienced MQL5/MT5 EA developer** to reverse-engineer an existing demo trading setup and develop a **Gold (XAUUSD) trading EA** based on its trading behavior. ### Requirements: * Reverse-engineer/analyze existing demo trades * XAUUSD only** * Must work with **different brokers** * Automated BUY/SELL trading * Similar entry, exit, lot sizing & trade-management logic * Proper backtesting and
MT5 EA Developer – London Opening Strategy + 3-Hour Rule I’m looking for an experienced MQL5/MT5 EA developer to build an automated XAUUSD London Opening Strategy . Strategy Requirements Use the London session opening as the main setup. Primary setup is based on the first completed M15 candle . If the M15 setup is valid, execute the defined trade. If the M15 setup is not satisfied , activate a 3-hour fallback rule
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference

Project information

Budget
40+ USD