Spécifications
//@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 )
Répondu
1
Évaluation
Projets
21
10%
Arbitrage
4
25%
/
75%
En retard
0
Gratuit
2
Évaluation
Projets
480
23%
Arbitrage
58
55%
/
24%
En retard
55
11%
Occupé
3
Évaluation
Projets
5
0%
Arbitrage
3
0%
/
100%
En retard
1
20%
Travail
4
Évaluation
Projets
85
27%
Arbitrage
24
13%
/
58%
En retard
7
8%
Travail
5
Évaluation
Projets
31
32%
Arbitrage
8
50%
/
25%
En retard
3
10%
Travail
6
Évaluation
Projets
692
34%
Arbitrage
34
68%
/
9%
En retard
22
3%
Travail
7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Évaluation
Projets
2
100%
Arbitrage
1
0%
/
0%
En retard
0
Gratuit
9
Évaluation
Projets
83
28%
Arbitrage
9
33%
/
56%
En retard
9
11%
Gratuit
Publié : 1 code
10
Évaluation
Projets
398
27%
Arbitrage
39
41%
/
49%
En retard
1
0%
Gratuit
11
Évaluation
Projets
784
63%
Arbitrage
33
27%
/
45%
En retard
23
3%
Gratuit
Publié : 1 code
12
Évaluation
Projets
1
0%
Arbitrage
4
0%
/
50%
En retard
0
Travail
13
Évaluation
Projets
405
53%
Arbitrage
20
55%
/
15%
En retard
29
7%
Travail
14
Évaluation
Projets
105
60%
Arbitrage
0
En retard
0
Gratuit
15
Évaluation
Projets
66
12%
Arbitrage
12
58%
/
42%
En retard
1
2%
Gratuit
16
Évaluation
Projets
1427
59%
Arbitrage
31
81%
/
0%
En retard
10
1%
Gratuit
17
Évaluation
Projets
5
40%
Arbitrage
2
0%
/
50%
En retard
1
20%
Gratuit
18
Évaluation
Projets
218
75%
Arbitrage
0
En retard
0
Gratuit
19
Évaluation
Projets
5
20%
Arbitrage
2
0%
/
100%
En retard
1
20%
Gratuit
Publié : 3 codes
20
Évaluation
Projets
333
35%
Arbitrage
66
12%
/
58%
En retard
87
26%
Gratuit
21
Évaluation
Projets
552
49%
Arbitrage
57
40%
/
37%
En retard
228
41%
Travail
22
Évaluation
Projets
190
57%
Arbitrage
10
80%
/
0%
En retard
0
Gratuit
Publié : 1 code
23
Évaluation
Projets
2
0%
Arbitrage
5
0%
/
80%
En retard
1
50%
Gratuit
24
Évaluation
Projets
67
43%
Arbitrage
8
0%
/
100%
En retard
3
4%
Gratuit
25
Évaluation
Projets
80
10%
Arbitrage
38
8%
/
58%
En retard
6
8%
Gratuit
26
Évaluation
Projets
945
47%
Arbitrage
309
58%
/
27%
En retard
125
13%
Gratuit
Commandes similaires
Robot Requirements Specification
30 - 100 USD
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
Henryy999
30 - 3000 USD
The Ai robot must help me with forex and I don't have money soon can the Ai robot give me some money and I will pay it back if the Ai robot does a good job making me rich
SpikeEnginePro EA
30+ USD
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Writing of an Expert Advisor
30+ USD
A trading expert that relies on specific signals such as price breaking a peak or trough, liquidity withdrawal, and retesting the signal. Lock the expert advisor with a code and create a subscriber base with a separate key for each subscriber
EA grid hunter
30 - 200 USD
1. Platform & Environment Platform: MetaTrader 5 (MT5 ONLY) Language: MQL5 Account type: ECN / Netting or Hedging Designed for broker rebate/commission return programs No DLLs, no external dependencies 2. Strategy Overview The EA is a high-frequency scalping Expert Advisor focused on maximizing the number of trades with minimal price movement, where the main source of profitability is broker rebate rather than market
Informations sur le projet
Budget
30+ USD