指定

//@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 code
10
開発者 10
評価
(274)
プロジェクト
403
28%
仲裁
40
40% / 50%
期限切れ
1
0%
仕事中
11
開発者 11
評価
(566)
プロジェクト
863
61%
仲裁
33
27% / 45%
期限切れ
24
3%
暇
パブリッシュした人: 1 code
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 codes
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 code
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