Moving Average Expert Advisor

Specifiche

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)

Con risposta

1
Sviluppatore 1
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(455)
Progetti
721
34%
Arbitraggio
35
71% / 9%
In ritardo
23
3%
Gratuito
3
Sviluppatore 3
Valutazioni
(319)
Progetti
571
35%
Arbitraggio
83
31% / 45%
In ritardo
206
36%
Gratuito
4
Sviluppatore 4
Valutazioni
(14)
Progetti
14
21%
Arbitraggio
1
0% / 100%
In ritardo
1
7%
Gratuito
5
Sviluppatore 5
Valutazioni
(251)
Progetti
400
54%
Arbitraggio
9
67% / 22%
In ritardo
36
9%
Gratuito
Pubblicati: 2 codici
6
Sviluppatore 6
Valutazioni
(132)
Progetti
178
39%
Arbitraggio
4
25% / 50%
In ritardo
14
8%
Gratuito
7
Sviluppatore 7
Valutazioni
(38)
Progetti
50
10%
Arbitraggio
1
0% / 0%
In ritardo
8
16%
Gratuito
8
Sviluppatore 8
Valutazioni
(211)
Progetti
274
21%
Arbitraggio
24
54% / 17%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(453)
Progetti
566
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
10
Sviluppatore 10
Valutazioni
(3)
Progetti
5
0%
Arbitraggio
0
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
(57)
Progetti
72
22%
Arbitraggio
13
46% / 15%
In ritardo
5
7%
Gratuito
12
Sviluppatore 12
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
25
48% / 36%
In ritardo
46
7%
In elaborazione
13
Sviluppatore 13
Valutazioni
(93)
Progetti
133
35%
Arbitraggio
13
38% / 31%
In ritardo
32
24%
Gratuito
14
Sviluppatore 14
Valutazioni
(219)
Progetti
370
42%
Arbitraggio
145
17% / 41%
In ritardo
124
34%
Gratuito
Pubblicati: 38 codici
15
Sviluppatore 15
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
16
Sviluppatore 16
Valutazioni
(126)
Progetti
151
48%
Arbitraggio
6
83% / 17%
In ritardo
2
1%
Gratuito
17
Sviluppatore 17
Valutazioni
(69)
Progetti
146
34%
Arbitraggio
13
8% / 62%
In ritardo
26
18%
Gratuito
Pubblicati: 6 codici
18
Sviluppatore 18
Valutazioni
(78)
Progetti
246
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo
19
Sviluppatore 19
Valutazioni
(13)
Progetti
18
44%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
40+ USD