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
評価
(454)
プロジェクト
720
34%
仲裁
35
71% / 9%
期限切れ
22
3%
3
開発者 3
評価
(318)
プロジェクト
565
35%
仲裁
81
31% / 44%
期限切れ
204
36%
4
開発者 4
評価
(14)
プロジェクト
14
21%
仲裁
1
0% / 100%
期限切れ
1
7%
5
開発者 5
評価
(251)
プロジェクト
400
54%
仲裁
9
67% / 22%
期限切れ
36
9%
パブリッシュした人: 2 codes
6
開発者 6
評価
(132)
プロジェクト
178
39%
仲裁
4
25% / 50%
期限切れ
14
8%
7
開発者 7
評価
(38)
プロジェクト
50
10%
仲裁
1
0% / 0%
期限切れ
8
16%
8
開発者 8
評価
(202)
プロジェクト
263
22%
仲裁
23
52% / 17%
期限切れ
0
取り込み中
9
開発者 9
評価
(453)
プロジェクト
566
26%
仲裁
24
42% / 38%
期限切れ
85
15%
パブリッシュした人: 6 codes
10
開発者 10
評価
(3)
プロジェクト
5
0%
仲裁
0
期限切れ
0
11
開発者 11
評価
(57)
プロジェクト
72
22%
仲裁
13
46% / 15%
期限切れ
5
7%
12
開発者 12
評価
(568)
プロジェクト
641
41%
仲裁
25
48% / 36%
期限切れ
46
7%
仕事中
13
開発者 13
評価
(93)
プロジェクト
133
35%
仲裁
13
38% / 31%
期限切れ
32
24%
14
開発者 14
評価
(219)
プロジェクト
370
42%
仲裁
145
17% / 41%
期限切れ
124
34%
パブリッシュした人: 38 codes
15
開発者 15
評価
(54)
プロジェクト
102
23%
仲裁
12
25% / 17%
期限切れ
13
13%
16
開発者 16
評価
(126)
プロジェクト
151
48%
仲裁
6
83% / 17%
期限切れ
2
1%
17
開発者 17
評価
(69)
プロジェクト
146
34%
仲裁
13
8% / 62%
期限切れ
26
18%
パブリッシュした人: 6 codes
18
開発者 18
評価
(78)
プロジェクト
246
74%
仲裁
7
100% / 0%
期限切れ
1
0%
パブリッシュした人: 1 article
19
開発者 19
評価
(12)
プロジェクト
17
47%
仲裁
2
50% / 50%
期限切れ
0
20
開発者 20
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
21
開発者 21
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
類似した注文
<xml xmlns =" https://developers.google.com/blockly/xml " is_dbot =" true " collection =" false " > <block type =" trade_definition " id =" ,VcU^bsl.pJz|i8tPV!Z " deletable =" false " x =" 0 " y =" 50 " > <statement name =" TRADE_OPTIONS " > <block type =" trade_definition_market " id =" {b-dIs(CjCnoSTaWY,Ep " deletable =" false " movable =" false " > <field name =" MARKET_LIST " > synthetic_index </field> <field
I need an experienced MQL5 developer to create an Expert Advisor (EA) based on the trading strategy demonstrated in my video. The EA should accurately follow the entry, exit, risk management, lot size, trailing stop-loss, take-profit, and trade management rules shown. Full source code, backtesting, bug fixing, and clear input settings are required. And it should have option for Buy and Sell, then Sell only, Buy only
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I have an MQL5 expert advisor that i use on MT5 trading platform and it works perfectly. The only issue is that sometimes it hangs. I need to get it fixed so that it does not hang. The code is around 4500 lines in length but i clearly do not want it to be re-written. I know that many of you will approach me to try and convince me to get it redone.... but i simply dont have the budget. - This is a grid system and the
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or

プロジェクト情報

予算
40+ USD