Tarea técnica

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





































Han respondido

1
Desarrollador 1
Evaluación
(22)
Proyectos
21
10%
Arbitraje
4
25% / 75%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(387)
Proyectos
499
23%
Arbitraje
60
55% / 25%
Caducado
59
12%
Trabaja
3
Desarrollador 3
Evaluación
(2)
Proyectos
5
0%
Arbitraje
3
0% / 100%
Caducado
1
20%
Trabaja
4
Desarrollador 4
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
5
Desarrollador 5
Evaluación
(19)
Proyectos
31
32%
Arbitraje
8
50% / 25%
Caducado
3
10%
Trabaja
6
Desarrollador 6
Evaluación
(454)
Proyectos
720
34%
Arbitraje
35
71% / 9%
Caducado
22
3%
Libre
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(2)
Proyectos
2
100%
Arbitraje
1
0% / 0%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
10
Desarrollador 10
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
11
Desarrollador 11
Evaluación
(549)
Proyectos
835
61%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
Proyectos
1
0%
Arbitraje
4
0% / 50%
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(365)
Proyectos
441
55%
Arbitraje
22
50% / 14%
Caducado
30
7%
Trabajando
14
Desarrollador 14
Evaluación
(102)
Proyectos
105
60%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(43)
Proyectos
66
12%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
16
Desarrollador 16
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
17
Desarrollador 17
Evaluación
(3)
Proyectos
5
40%
Arbitraje
2
0% / 50%
Caducado
1
20%
Libre
18
Desarrollador 18
Evaluación
(209)
Proyectos
220
75%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(4)
Proyectos
5
20%
Arbitraje
2
0% / 100%
Caducado
1
20%
Libre
Ha publicado: 3 ejemplos
20
Desarrollador 20
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
21
Desarrollador 21
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
22
Desarrollador 22
Evaluación
(160)
Proyectos
205
60%
Arbitraje
10
80% / 0%
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
23
Desarrollador 23
Evaluación
(4)
Proyectos
2
0%
Arbitraje
5
0% / 80%
Caducado
1
50%
Libre
24
Desarrollador 24
Evaluación
(52)
Proyectos
67
43%
Arbitraje
8
0% / 100%
Caducado
3
4%
Libre
25
Desarrollador 25
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
26
Desarrollador 26
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
Solicitudes similares
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Мне нужен простой торговый бот, написанный исключительно на Python. Бот должен подключаться к терминалу MetaTrader 5 через официальную библиотеку Python "MetaTrader5". Объем кода невелик (около 250 строк). КРИТИЧЕСКИ ВАЖНЫЕ ТРЕБОВАНИЯ: 1. НЕТ КОДА MQL5: Весь проект должен быть написан только на Python. 2. ВНЕШНЯЯ КОНФИГУРАЦИЯ: У бота должен быть внешний конфигурационный файл (config.ini или settings.json). Я должен
I am looking for an experienced MQL4 or MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for cryptocurrency trading between LMAX and IC Markets. I need someone who understands low-latency execution, price feeds, slippage, spreads, and fast order execution. The basic idea is that LMAX acts as the leading price feed while IC Markets is the execution broker. The EA should constantly
Title: Need 5 Years Historical Trading Central Analyst Views Data for Backtesting Hello, I need historical Trading Central Analyst Views data for at least the past 5 years. This is not only a tool to record new signals from today. I need past historical data already available from previous years. The data I need should include, if available: Symbol : XAUUSD / GOLD Date and time of the Analyst View Timeframe: 30 MIN
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'

Información sobre el proyecto

Presupuesto
30+ USD