指定

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





































反馈

1
开发者 1
等级
(22)
项目
21
10%
仲裁
4
25% / 75%
逾期
0
空闲
2
开发者 2
等级
(406)
项目
524
24%
仲裁
62
58% / 24%
逾期
60
11%
繁忙
3
开发者 3
等级
(2)
项目
5
0%
仲裁
3
0% / 100%
逾期
1
20%
工作中
4
开发者 4
等级
(62)
项目
90
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
5
开发者 5
等级
(19)
项目
31
32%
仲裁
8
50% / 25%
逾期
3
10%
工作中
6
开发者 6
等级
(457)
项目
725
34%
仲裁
35
71% / 9%
逾期
23
3%
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(2)
项目
2
100%
仲裁
1
0% / 0%
逾期
0
空闲
9
开发者 9
等级
(64)
项目
83
28%
仲裁
9
33% / 56%
逾期
9
11%
空闲
发布者: 1 代码
10
开发者 10
等级
(274)
项目
403
28%
仲裁
40
40% / 50%
逾期
1
0%
工作中
11
开发者 11
等级
(566)
项目
863
61%
仲裁
33
27% / 45%
逾期
24
3%
空闲
发布者: 1 代码
12
开发者 12
等级
项目
1
0%
仲裁
4
0% / 50%
逾期
0
工作中
13
开发者 13
等级
(371)
项目
462
56%
仲裁
24
58% / 17%
逾期
32
7%
工作中
14
开发者 14
等级
(102)
项目
105
60%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(43)
项目
66
12%
仲裁
12
58% / 42%
逾期
1
2%
空闲
16
开发者 16
等级
(619)
项目
1430
59%
仲裁
31
81% / 0%
逾期
10
1%
空闲
17
开发者 17
等级
(3)
项目
5
40%
仲裁
3
0% / 67%
逾期
1
20%
空闲
18
开发者 18
等级
(246)
项目
257
79%
仲裁
0
逾期
0
空闲
19
开发者 19
等级
(4)
项目
5
20%
仲裁
2
0% / 100%
逾期
1
20%
空闲
发布者: 3 代码
20
开发者 20
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
21
开发者 21
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
22
开发者 22
等级
(162)
项目
210
61%
仲裁
10
80% / 0%
逾期
0
空闲
发布者: 1 代码
23
开发者 23
等级
(4)
项目
2
0%
仲裁
5
0% / 80%
逾期
1
50%
空闲
24
开发者 24
等级
(52)
项目
67
43%
仲裁
8
0% / 100%
逾期
3
4%
空闲
25
开发者 25
等级
(72)
项目
80
10%
仲裁
38
8% / 58%
逾期
6
8%
空闲
26
开发者 26
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
相似订单
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
PROJECT: BYBIT PUMP & DUMP EARLY DETECTION ENGINE Fixed Budget: USD $1,000 – Complete Project I am looking for an experienced quantitative trading developer to design, develop, validate and deliver a professional standalone Python 3.12 module for detecting early pump and dump movements on Bybit USDT perpetual futures. IMPORTANT: This is NOT an MT4/MT5 indicator, Expert Advisor or a request to build a complete trading
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5

项目信息

预算
30+ USD