Script to close all trades based on custom indicator

Termos de Referência

Please I need a script to close all trade when price break below or above moving average and also allows trade to continue in the new direction
For example: buying when price is above moving average, when price go below moving average close all running trades and start selling.. vice versa  

Respondido

1
Desenvolvedor 1
Classificação
(333)
Projetos
543
66%
Arbitragem
53
21% / 40%
Expirado
169
31%
Livre
Publicou: 1 código
2
Desenvolvedor 2
Classificação
(56)
Projetos
92
62%
Arbitragem
0
Expirado
4
4%
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(44)
Projetos
60
5%
Arbitragem
6
0% / 67%
Expirado
5
8%
Livre
5
Desenvolvedor 5
Classificação
(39)
Projetos
50
18%
Arbitragem
6
33% / 50%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(29)
Projetos
49
22%
Arbitragem
14
29% / 21%
Expirado
13
27%
Livre
7
Desenvolvedor 7
Classificação
(618)
Projetos
1429
59%
Arbitragem
31
81% / 0%
Expirado
10
1%
Livre
8
Desenvolvedor 8
Classificação
(55)
Projetos
66
58%
Arbitragem
1
0% / 0%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(17)
Projetos
17
18%
Arbitragem
5
20% / 60%
Expirado
2
12%
Trabalhando
10
Desenvolvedor 10
Classificação
(322)
Projetos
499
67%
Arbitragem
5
40% / 0%
Expirado
4
1%
Livre
Publicou: 8 códigos
11
Desenvolvedor 11
Classificação
(7)
Projetos
14
21%
Arbitragem
1
0% / 100%
Expirado
3
21%
Livre
12
Desenvolvedor 12
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
14
Desenvolvedor 14
Classificação
(568)
Projetos
641
41%
Arbitragem
25
48% / 36%
Expirado
46
7%
Trabalhando
15
Desenvolvedor 15
Classificação
(493)
Projetos
1022
58%
Arbitragem
30
27% / 23%
Expirado
133
13%
Trabalhando
16
Desenvolvedor 16
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
17
Desenvolvedor 17
Classificação
(453)
Projetos
566
26%
Arbitragem
24
42% / 38%
Expirado
85
15%
Livre
Publicou: 6 códigos
18
Desenvolvedor 18
Classificação
(619)
Projetos
722
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
19
Desenvolvedor 19
Classificação
(78)
Projetos
246
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
20
Desenvolvedor 20
Classificação
(2)
Projetos
4
50%
Arbitragem
0
Expirado
2
50%
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
24
Desenvolvedor 24
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(2)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
GALAXYGOLD EA 30 - 36 USD
I am looking for a developer to build an Expert Advisor (EA) with strict performance and delivery standards. The EA must demonstrate at least 85%+ win rate in backtests or demo runs. Delivery must be completed within the agreed timeframe (the days we set together). If you cannot meet these requirements, please do not apply. If you foresee delays, you must inform me beforehand — not after deadlines have passed. The EA
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
I am looking for an experienced MQL5 developer to develop a custom Expert Advisor (EA) for MetaTrader 5, primarily for XAUUSD (Gold) . The EA will be based on a proprietary price-action trading strategy that I have already defined. The objective is to translate this strategy into a fully automated, precise and reliable trading system without modifying its underlying logic. The strategy involves specific
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it

Informações sobre o projeto

Orçamento
30 - 50 USD