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
Developer 1
Rating
(22)
Projects
21
10%
Arbitration
2
50% / 50%
Overdue
0
Free
2
Developer 2
Rating
(368)
Projects
474
24%
Arbitration
52
60% / 19%
Overdue
54
11%
Loaded
3
Developer 3
Rating
(2)
Projects
5
0%
Arbitration
1
0% / 100%
Overdue
1
20%
Working
4
Developer 4
Rating
(50)
Projects
73
21%
Arbitration
11
18% / 27%
Overdue
6
8%
Working
5
Developer 5
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
6
Developer 6
Rating
(417)
Projects
658
33%
Arbitration
31
74% / 6%
Overdue
20
3%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(2)
Projects
2
100%
Arbitration
1
0% / 0%
Overdue
0
Free
9
Developer 9
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
10
Developer 10
Rating
(255)
Projects
378
25%
Arbitration
23
57% / 22%
Overdue
1
0%
Loaded
11
Developer 11
Rating
(516)
Projects
784
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
12
Developer 12
Rating
Projects
1
0%
Arbitration
3
0% / 33%
Overdue
0
Working
13
Developer 13
Rating
(283)
Projects
335
51%
Arbitration
12
42% / 0%
Overdue
19
6%
Busy
14
Developer 14
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(43)
Projects
65
11%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
16
Developer 16
Rating
(612)
Projects
1422
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
17
Developer 17
Rating
(3)
Projects
5
40%
Arbitration
1
0% / 0%
Overdue
1
20%
Free
18
Developer 18
Rating
(184)
Projects
195
72%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(4)
Projects
5
20%
Arbitration
0
Overdue
1
20%
Free
Published: 3 codes
20
Developer 20
Rating
(206)
Projects
332
35%
Arbitration
64
13% / 56%
Overdue
87
26%
Working
21
Developer 21
Rating
(270)
Projects
550
49%
Arbitration
56
39% / 36%
Overdue
227
41%
Working
22
Developer 22
Rating
(140)
Projects
172
53%
Arbitration
10
80% / 0%
Overdue
0
Working
Published: 1 code
23
Developer 23
Rating
(4)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
1
50%
Free
24
Developer 24
Rating
(52)
Projects
67
43%
Arbitration
1
0% / 100%
Overdue
3
4%
Free
25
Developer 25
Rating
(72)
Projects
80
10%
Arbitration
35
9% / 54%
Overdue
6
8%
Free
26
Developer 26
Rating
(574)
Projects
945
47%
Arbitration
303
59% / 25%
Overdue
125
13%
Free
Similar orders
Here's a detailed description of a Trend Following and Mean Reversion strategy-based Expert Advisor (EA): Strategy Overview The EA will implement a hybrid strategy combining trend following and mean reversion techniques. It will identify trending markets, ride the trend, and also capitalize on mean reversion opportunities
Overview Create a MetaTrader 5 (MT5) indicator that: Pulls live sentiment data from multiple broker APIs. Calculates Net Sentiment (Long% – Short%) and plots each broker as a moving average line on the chart. Displays a weighted average line when ≥2 feeds are active. Saves all data to CSV files per broker for efficient historical loading and performance. Supported Brokers Broker Abbr. Color OandaFX
I Have A project done dusted For sale; Title: Strong Reversal Indicator [No Repaint, No Offset, Low Lag] 17 minutes ago MQL5 Indicators Design Forex Trading robot/indicator debugging Strategy optimization Statistics and mathematics Strategy modules Uploading data to a website Specification EN Overview: A professional MT5 reversal indicator designed to detect market turning points with no repainting, no
Hi Devops, Convert Trading View indicator into MT4/MT5 EA.This EA has simple Buy/Sell trades based on TV indicator.It has basic inputs such as lot size:fixed/adding lot type,tp,SL,magic Number etc.More details will be discussed in private chat
Manage my live forex account with a disciplined, low-risk approach that produces steady monthly income. My priority is capital protection, so each trade must be sized conservatively, anchored by firm stop-loss orders, and designed to keep drawdown minimal. High-risk tactics such as martingale, grid systems, or excessive leverage are off the table; a measured, rules-based strategy is essential. I will connect the
Indicator that finds zones. All details in word document Ask questions if need I’d also like to to change from finding bullish marker and main candles to bearish marker and main candles if price crosses past inputted price The document is showing zones for bullish price action. Id like to also change manually in setting for it to show bearish price action ( it will look for bullish candle markers and main) Zones
I already have an Expert Advisor coded in MQL4, but it refuses to trade anything other than its hard-coded symbol. I want that filter gone so the same strategy can fire on any instrument—forex, indices, metals such as XAUUSD—across any timeframe. The trading logic, money management and inputs must stay exactly as they are; I simply need universal symbol support. After the MT4 file is fixed and compiles cleanly, I
Description: Gildepak is a purchasing cooperative for packaging materials. We need a program to calculate and fairly distribute the annual bonus (received from preferred suppliers) among our member companies (partners and members). The program should work with a set of predefined tables and data flows, and it must be able to import and export Excel files. Main Tables: Member Companies Company ID Company Name Partner
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
Fractal Multi-Timeframe Strategy (H4→M15→M2) — Developer Spec Abstract This document specifies a fractal trading workflow leveraging H4 for regime identification, M15 for Area of Value (AoV) location, and M2 for execution using CHoCH-based triggers. The goal is a robust, developer-friendly specification that minimizes ambiguity and matches the operational style already discussed (Liquidity → Order Block →

Project information

Budget
30+ USD
For the developer
27 USD