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
(401)
Proyectos
519
24%
Arbitraje
61
57% / 25%
Caducado
60
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
(457)
Proyectos
724
34%
Arbitraje
35
71% / 9%
Caducado
23
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
(556)
Proyectos
850
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
(369)
Proyectos
458
55%
Arbitraje
24
58% / 17%
Caducado
31
7%
Trabaja
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
3
0% / 67%
Caducado
1
20%
Libre
18
Desarrollador 18
Evaluación
(234)
Proyectos
245
78%
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
(161)
Proyectos
209
61%
Arbitraje
10
80% / 0%
Caducado
0
Libre
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
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
An expert trading bot 250 - 350 USD
I have a working MetaTrader 5 Expert Advisor already coded and running -- this is not a "build from scratch" job. The EA trades a smart-money-concepts style model (structure breaks, liquidity sweeps, order blocks, fair value gaps, optimal trade entry retracement). Exact parameters and the rest of the underlying logic are proprietary and will only be shared once we're under a working agreement. To check you actually
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough

Información sobre el proyecto

Presupuesto
30+ USD