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
20
10%
Arbitrage
2
50%
/
50%
En retard
0
Travail
2
Évaluation
Projets
401
21%
Arbitrage
44
61%
/
23%
En retard
46
11%
Chargé
3
Évaluation
Projets
5
0%
Arbitrage
1
0%
/
0%
En retard
1
20%
Travail
4
Évaluation
Projets
35
14%
Arbitrage
6
33%
/
50%
En retard
5
14%
Gratuit
5
Évaluation
Projets
25
28%
Arbitrage
8
38%
/
25%
En retard
3
12%
Travail
6
Évaluation
Projets
563
33%
Arbitrage
24
67%
/
8%
En retard
17
3%
Gratuit
7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Évaluation
Projets
78
26%
Arbitrage
9
33%
/
56%
En retard
8
10%
Gratuit
10
Évaluation
Projets
246
22%
Arbitrage
17
65%
/
18%
En retard
1
0%
Chargé
11
Évaluation
Projets
776
63%
Arbitrage
33
27%
/
45%
En retard
23
3%
Gratuit
12
Évaluation
Projets
1
0%
Arbitrage
2
0%
/
0%
En retard
0
Travail
13
Évaluation
Projets
108
36%
Arbitrage
3
0%
/
0%
En retard
4
4%
Travail
14
Évaluation
Projets
14
36%
Arbitrage
0
En retard
0
Gratuit
15
Évaluation
Projets
62
8%
Arbitrage
12
58%
/
42%
En retard
1
2%
Gratuit
16
Évaluation
Projets
1344
59%
Arbitrage
28
82%
/
0%
En retard
10
1%
Gratuit
17
Évaluation
Projets
3
0%
Arbitrage
1
0%
/
0%
En retard
1
33%
Travail
18
Évaluation
Projets
109
57%
Arbitrage
0
En retard
0
Gratuit
19
Évaluation
Projets
4
0%
Arbitrage
0
En retard
0
Travail
20
Évaluation
Projets
320
35%
Arbitrage
64
13%
/
56%
En retard
83
26%
Gratuit
21
Évaluation
Projets
542
50%
Arbitrage
55
40%
/
36%
En retard
225
42%
Travail
22
Évaluation
Projets
122
39%
Arbitrage
9
89%
/
0%
En retard
0
Travail
23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Évaluation
Projets
36
31%
Arbitrage
0
En retard
1
3%
Travail
25
Évaluation
Projets
80
10%
Arbitrage
36
8%
/
53%
En retard
6
8%
Travail
26
Évaluation
Projets
933
47%
Arbitrage
302
59%
/
25%
En retard
125
13%
Chargé
Commandes similaires
Hello there, am in need of an expert pinescript programmer who can work on an existing code to add some indicators and features. Please bid if you understand pinescript well and can work on existing code
Mbeje fx
50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
Lucy spontenious trade
50+ USD
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
NRTR - indicator for MetaTrader 5 NRTR (Nick Rypock Trailing Reverse) - indicator for MetaTrader 4 NRTR WATR - indicator for MetaTrader 4 NRTR GATOR - indicator for MetaTrader 5 X2MA NRTR - indicator for MetaTrader 5 NRTR - indicator for MetaTrader 5 NRTR GATOR - indicator for MetaTrader 4 NRTR - indicator for MetaTrader 4 Stalin_NRTR - indicator for MetaTrader 5 NRTR Color Line - indicator for MetaTrader 5 NRTR Rosh
Martingale Strategy EA
50 - 300 USD
Dear , I hope this message finds you well. I would like to request the development of a trading robot (Expert Advisor) that incorporates the following strategies and features: Strategy Requirements: 1. Martingale Strategy: The robot should include a Martingale system to increase trade sizes after losses in order to recover losses and generate profit. 2. Trend-Following: It should also be able to detect and follow
Create EA for JPY and USD in mql5
50 - 110 USD
Hi developer, I need a EA bot with forex news filtering for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). That's no problem if you can share your own profitable ea to me for 100 usd. I don't have any idea about ea strategy. But, I need profit in this ea Please share backtest, strategy, how ea works and ea's features
Create EA for usd pairs in mt5
30 - 1000 USD
Hi developer, I need a scalping EA bot with forex news filtering for USD currency pairs (usdjpy, audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd) for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy). Please share backtest, strategy, how ea works and ea's features
Goodtrade Expert Advisor
30+ USD
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
My requirements are the following. I am ordering, I need an expert consultant on EA matters and an indicator in the trade pairs of XAUUSD and XAGUSD, we also need powerful robots for changing prices in the market. the market conditions, i.e. flexibility, then the business should be beneficial for all I need high and low line python line position to work thank you
Informations sur le projet
Budget
30+ USD
Pour le développeur
27
USD