Termos de Referência
//@version=5
strategy("EMA Crossover Strategy with 1:1.6 Risk-Reward", overlay=true)
// Define the EMAs
shortEma = ta.ema(close, 10)
longEma = ta.ema(close, 20)
// Plot the EMAs on the chart
plot(shortEma, color=color.blue, title="10 EMA")
plot(longEma, color=color.red, title="20 EMA")
// Calculate the crossover conditions
longCondition = ta.crossover(shortEma, longEma)
shortCondition = ta.crossunder(shortEma, longEma)
// Define the risk-reward ratio
riskRewardRatio = 1.6
// Variables for trade management
var float entryPrice = na
var float stopLoss = na
var float takeProfit = na
// Entry and exit conditions
if (longCondition)
entryPrice := close
stopLoss := entryPrice - (entryPrice - longEma)
takeProfit := entryPrice + (entryPrice - stopLoss) * riskRewardRatio
strategy.entry("Long", strategy.long)
strategy.exit("Take Profit", "Long", limit=takeProfit, stop=stopLoss)
if (shortCondition)
entryPrice := close
stopLoss := entryPrice + (shortEma - entryPrice)
takeProfit := entryPrice - (stopLoss - entryPrice) * riskRewardRatio
strategy.entry("Short", strategy.short)
strategy.exit("Take Profit", "Short", limit=takeProfit, stop=stopLoss)
// Plot the stop loss and take profit levels
plot(stopLoss, color=color.red, linewidth=2, title="Stop Loss")
plot(takeProfit, color=color.green, linewidth=2, title="Take Profit")
in this strategy add
1) when 85 % of trade complete then stop loss transfer in 10 % of profit.
2) I change time frame options (main time frame is 15 minute )
Respondido
1
Classificação
Projetos
21
10%
Arbitragem
4
25%
/
75%
Expirado
0
Livre
2
Classificação
Projetos
519
24%
Arbitragem
61
57%
/
25%
Expirado
60
12%
Trabalhando
3
Classificação
Projetos
5
0%
Arbitragem
3
0%
/
100%
Expirado
1
20%
Trabalhando
4
Classificação
Projetos
90
29%
Arbitragem
24
13%
/
58%
Expirado
7
8%
Trabalhando
5
Classificação
Projetos
31
32%
Arbitragem
8
50%
/
25%
Expirado
3
10%
Trabalhando
6
Classificação
Projetos
724
34%
Arbitragem
35
71%
/
9%
Expirado
23
3%
Livre
7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Classificação
Projetos
2
100%
Arbitragem
1
0%
/
0%
Expirado
0
Livre
9
Classificação
Projetos
83
28%
Arbitragem
9
33%
/
56%
Expirado
9
11%
Livre
Publicou: 1 código
10
Classificação
Projetos
403
28%
Arbitragem
40
40%
/
50%
Expirado
1
0%
Livre
11
Classificação
Projetos
850
61%
Arbitragem
33
27%
/
45%
Expirado
24
3%
Livre
Publicou: 1 código
12
Classificação
Projetos
1
0%
Arbitragem
4
0%
/
50%
Expirado
0
Trabalhando
13
Classificação
Projetos
458
55%
Arbitragem
24
58%
/
17%
Expirado
31
7%
Trabalhando
14
Classificação
Projetos
105
60%
Arbitragem
0
Expirado
0
Livre
15
Classificação
Projetos
66
12%
Arbitragem
12
58%
/
42%
Expirado
1
2%
Livre
16
Classificação
Projetos
1429
59%
Arbitragem
31
81%
/
0%
Expirado
10
1%
Livre
17
Classificação
Projetos
5
40%
Arbitragem
3
0%
/
67%
Expirado
1
20%
Livre
18
Classificação
Projetos
245
78%
Arbitragem
0
Expirado
0
Livre
19
Classificação
Projetos
5
20%
Arbitragem
2
0%
/
100%
Expirado
1
20%
Livre
Publicou: 3 códigos
20
Classificação
Projetos
333
35%
Arbitragem
66
12%
/
58%
Expirado
87
26%
Livre
21
Classificação
Projetos
553
50%
Arbitragem
57
40%
/
37%
Expirado
227
41%
Trabalhando
22
Classificação
Projetos
209
61%
Arbitragem
10
80%
/
0%
Expirado
0
Livre
Publicou: 1 código
23
Classificação
Projetos
2
0%
Arbitragem
5
0%
/
80%
Expirado
1
50%
Livre
24
Classificação
Projetos
67
43%
Arbitragem
8
0%
/
100%
Expirado
3
4%
Livre
25
Classificação
Projetos
80
10%
Arbitragem
38
8%
/
58%
Expirado
6
8%
Livre
26
Classificação
Projetos
945
47%
Arbitragem
309
58%
/
27%
Expirado
125
13%
Livre
Pedidos semelhantes
Zwivhuya
100+ USD
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
PHANTOM PROTOCOL V1
35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
I am looking for an experienced MQL5 developer who can BOTH research trading strategies and develop a commercial-quality MetaTrader 5 Expert Advisor. This is NOT simply a coding job. The developer is free to choose the trading logic, indicators, entry method, exit method, timeframe architecture and strategy type. I do not require the EA to copy or resemble any existing commercial EA. My priority is: ROBUST LONG-TERM
MT4/MT5 HFT EA us30
30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
Informações sobre o projeto
Orçamento
30+ USD