Specifiche

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





































Con risposta

1
Sviluppatore 1
Valutazioni
(22)
Progetti
21
10%
Arbitraggio
4
25% / 75%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(373)
Progetti
479
23%
Arbitraggio
58
55% / 24%
In ritardo
55
11%
Occupato
3
Sviluppatore 3
Valutazioni
(2)
Progetti
5
0%
Arbitraggio
3
0% / 100%
In ritardo
1
20%
In elaborazione
4
Sviluppatore 4
Valutazioni
(58)
Progetti
85
27%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
5
Sviluppatore 5
Valutazioni
(19)
Progetti
31
32%
Arbitraggio
8
50% / 25%
In ritardo
3
10%
In elaborazione
6
Sviluppatore 6
Valutazioni
(438)
Progetti
692
34%
Arbitraggio
34
68% / 9%
In ritardo
22
3%
In elaborazione
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(2)
Progetti
2
100%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(64)
Progetti
83
28%
Arbitraggio
9
33% / 56%
In ritardo
9
11%
Gratuito
Pubblicati: 1 codice
10
Sviluppatore 10
Valutazioni
(269)
Progetti
398
27%
Arbitraggio
39
41% / 49%
In ritardo
1
0%
Gratuito
11
Sviluppatore 11
Valutazioni
(516)
Progetti
784
63%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
Pubblicati: 1 codice
12
Sviluppatore 12
Valutazioni
Progetti
1
0%
Arbitraggio
4
0% / 50%
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
(337)
Progetti
405
53%
Arbitraggio
20
55% / 15%
In ritardo
29
7%
In elaborazione
14
Sviluppatore 14
Valutazioni
(102)
Progetti
105
60%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(43)
Progetti
66
12%
Arbitraggio
12
58% / 42%
In ritardo
1
2%
Gratuito
16
Sviluppatore 16
Valutazioni
(617)
Progetti
1427
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
17
Sviluppatore 17
Valutazioni
(3)
Progetti
5
40%
Arbitraggio
2
0% / 50%
In ritardo
1
20%
Gratuito
18
Sviluppatore 18
Valutazioni
(207)
Progetti
218
75%
Arbitraggio
0
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(4)
Progetti
5
20%
Arbitraggio
2
0% / 100%
In ritardo
1
20%
Gratuito
Pubblicati: 3 codici
20
Sviluppatore 20
Valutazioni
(206)
Progetti
333
35%
Arbitraggio
66
12% / 58%
In ritardo
87
26%
Gratuito
21
Sviluppatore 21
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
57
40% / 37%
In ritardo
228
41%
In elaborazione
22
Sviluppatore 22
Valutazioni
(152)
Progetti
190
57%
Arbitraggio
10
80% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
23
Sviluppatore 23
Valutazioni
(4)
Progetti
2
0%
Arbitraggio
5
0% / 80%
In ritardo
1
50%
Gratuito
24
Sviluppatore 24
Valutazioni
(52)
Progetti
67
43%
Arbitraggio
8
0% / 100%
In ritardo
3
4%
Gratuito
25
Sviluppatore 25
Valutazioni
(72)
Progetti
80
10%
Arbitraggio
38
8% / 58%
In ritardo
6
8%
Gratuito
26
Sviluppatore 26
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
Ordini simili
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
// 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
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

Informazioni sul progetto

Budget
30+ USD