Specification

//@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 )





































Responded

1
Developer 1
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
2
Developer 2
Rating
(401)
Projects
519
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Working
3
Developer 3
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
4
Developer 4
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
5
Developer 5
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
6
Developer 6
Rating
(457)
Projects
724
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(2)
Projects
2
100%
Arbitration
1
0% / 0%
Overdue
0
Free
9
Developer 9
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
10
Developer 10
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
11
Developer 11
Rating
(556)
Projects
850
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
12
Developer 12
Rating
Projects
1
0%
Arbitration
4
0% / 50%
Overdue
0
Working
13
Developer 13
Rating
(369)
Projects
458
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Working
14
Developer 14
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
16
Developer 16
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
17
Developer 17
Rating
(3)
Projects
5
40%
Arbitration
3
0% / 67%
Overdue
1
20%
Free
18
Developer 18
Rating
(234)
Projects
245
78%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(4)
Projects
5
20%
Arbitration
2
0% / 100%
Overdue
1
20%
Free
Published: 3 codes
20
Developer 20
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
21
Developer 21
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
22
Developer 22
Rating
(161)
Projects
209
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
23
Developer 23
Rating
(4)
Projects
2
0%
Arbitration
5
0% / 80%
Overdue
1
50%
Free
24
Developer 24
Rating
(52)
Projects
67
43%
Arbitration
8
0% / 100%
Overdue
3
4%
Free
25
Developer 25
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
26
Developer 26
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
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

Project information

Budget
30+ USD