Specification
//@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 )
Responded
1
Rating
Projects
21
10%
Arbitration
4
25%
/
75%
Overdue
0
Free
2
Rating
Projects
492
23%
Arbitration
59
54%
/
25%
Overdue
57
12%
Loaded
3
Rating
Projects
5
0%
Arbitration
3
0%
/
100%
Overdue
1
20%
Working
4
Rating
Projects
89
28%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
5
Rating
Projects
31
32%
Arbitration
8
50%
/
25%
Overdue
3
10%
Working
6
Rating
Projects
715
34%
Arbitration
34
71%
/
9%
Overdue
22
3%
Free
7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Rating
Projects
2
100%
Arbitration
1
0%
/
0%
Overdue
0
Free
9
Rating
Projects
83
28%
Arbitration
9
33%
/
56%
Overdue
9
11%
Free
Published: 1 code
10
Rating
Projects
403
28%
Arbitration
40
40%
/
50%
Overdue
1
0%
Free
11
Rating
Projects
822
62%
Arbitration
33
27%
/
45%
Overdue
23
3%
Free
Published: 1 code
12
Rating
Projects
1
0%
Arbitration
4
0%
/
50%
Overdue
0
Working
13
Rating
Projects
435
54%
Arbitration
21
52%
/
14%
Overdue
30
7%
Loaded
14
Rating
Projects
105
60%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
66
12%
Arbitration
12
58%
/
42%
Overdue
1
2%
Free
16
Rating
Projects
1428
59%
Arbitration
31
81%
/
0%
Overdue
10
1%
Free
17
Rating
Projects
5
40%
Arbitration
2
0%
/
50%
Overdue
1
20%
Free
18
Rating
Projects
220
75%
Arbitration
0
Overdue
0
Free
19
Rating
Projects
5
20%
Arbitration
2
0%
/
100%
Overdue
1
20%
Free
Published: 3 codes
20
Rating
Projects
333
35%
Arbitration
66
12%
/
58%
Overdue
87
26%
Free
21
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
22
Rating
Projects
197
59%
Arbitration
10
80%
/
0%
Overdue
0
Working
Published: 1 code
23
Rating
Projects
2
0%
Arbitration
5
0%
/
80%
Overdue
1
50%
Free
24
Rating
Projects
67
43%
Arbitration
8
0%
/
100%
Overdue
3
4%
Free
25
Rating
Projects
80
10%
Arbitration
38
8%
/
58%
Overdue
6
8%
Free
26
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
Similar orders
Semi Automated Gold Trading Signal System for MT5
300 - 800 USD
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
I am looking for an experienced MQL5 developer to build a professional Expert Advisor with the following specs: TECHNICAL REQUIREMENTS: - Platform: MetaTrader 5 (MT5) - Pairs: GBPUSD and EURUSD - Broker suffix support (e.g. GBPUSD@, EURUSD@) - Primary timeframe: M5 -Higher timeframe bias: H1 and H4 (for trend direction only) - One chart setup — manages both pairs from one chart STRATEGY: - Price action based: BOS
OBJETIVO Criar um Expert Advisor MT5 profissional para XAUUSD focado em: Consistência Baixo drawdown Scalping profissional Proteção da conta Crescimento sustentável Compatibilidade com conta micro e prop firms NÃO utilizar: Martingale Grid Hedge agressivo Recovery system Multiplicação de lotes após perda --- ATIVO XAUUSD apenas --- TIMEFRAMES Timeframe principal M5 Confirmação tendência M15 Confirmação macro opcional
Advanced ICT + CRT Smart Money Expert Advisor for MT5
300 - 1000 USD
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH
An EA based on my INTRADAY TRADE NINJA system
30 - 35 USD
Intraday Trade Ninja EA — Complete Logic Structure This document maps the full architecture, execution logic, signal flow, trade management, and safety structure of the Intraday Trade Ninja MT4 Expert Advisor. 1. Core Indicators · ©Price Border (TMA bands) · MA-X Arrows · MA-Y Arrows · LeManSignal · EMA 49 & 89 - Per Candle Color Switching 2. EA Entry Architecture ·
I have a 90% completed project with the execution part left to complete, I have been struggling to complete this section and I need help from someone expert in MQL5 with knowledge on forex trading and ICT Concepts coding. Contact me for further details
High frequency scalping bot wanted
1000+ USD
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
Automated trading system
30+ USD
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
Automated trading system
30+ USD
Auto trading system with hi probability win rate. Trades and auto trading system works well on gold and forex most important risk reward ratio. It must be 1:3 or more then that
Project information
Budget
30+ USD