Spécifications
//@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 )
Répondu
1
Évaluation
Projets
21
10%
Arbitrage
4
25%
/
75%
En retard
0
Gratuit
2
Évaluation
Projets
519
24%
Arbitrage
61
57%
/
25%
En retard
60
12%
Travail
3
Évaluation
Projets
5
0%
Arbitrage
3
0%
/
100%
En retard
1
20%
Travail
4
Évaluation
Projets
90
29%
Arbitrage
24
13%
/
58%
En retard
7
8%
Travail
5
Évaluation
Projets
31
32%
Arbitrage
8
50%
/
25%
En retard
3
10%
Travail
6
Évaluation
Projets
724
34%
Arbitrage
35
71%
/
9%
En retard
23
3%
Gratuit
7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Évaluation
Projets
2
100%
Arbitrage
1
0%
/
0%
En retard
0
Gratuit
9
Évaluation
Projets
83
28%
Arbitrage
9
33%
/
56%
En retard
9
11%
Gratuit
Publié : 1 code
10
Évaluation
Projets
403
28%
Arbitrage
40
40%
/
50%
En retard
1
0%
Gratuit
11
Évaluation
Projets
850
61%
Arbitrage
33
27%
/
45%
En retard
24
3%
Gratuit
Publié : 1 code
12
Évaluation
Projets
1
0%
Arbitrage
4
0%
/
50%
En retard
0
Travail
13
Évaluation
Projets
458
55%
Arbitrage
24
58%
/
17%
En retard
31
7%
Travail
14
Évaluation
Projets
105
60%
Arbitrage
0
En retard
0
Gratuit
15
Évaluation
Projets
66
12%
Arbitrage
12
58%
/
42%
En retard
1
2%
Gratuit
16
Évaluation
Projets
1429
59%
Arbitrage
31
81%
/
0%
En retard
10
1%
Gratuit
17
Évaluation
Projets
5
40%
Arbitrage
3
0%
/
67%
En retard
1
20%
Gratuit
18
Évaluation
Projets
245
78%
Arbitrage
0
En retard
0
Gratuit
19
Évaluation
Projets
5
20%
Arbitrage
2
0%
/
100%
En retard
1
20%
Gratuit
Publié : 3 codes
20
Évaluation
Projets
333
35%
Arbitrage
66
12%
/
58%
En retard
87
26%
Gratuit
21
Évaluation
Projets
553
50%
Arbitrage
57
40%
/
37%
En retard
227
41%
Travail
22
Évaluation
Projets
209
61%
Arbitrage
10
80%
/
0%
En retard
0
Gratuit
Publié : 1 code
23
Évaluation
Projets
2
0%
Arbitrage
5
0%
/
80%
En retard
1
50%
Gratuit
24
Évaluation
Projets
67
43%
Arbitrage
8
0%
/
100%
En retard
3
4%
Gratuit
25
Évaluation
Projets
80
10%
Arbitrage
38
8%
/
58%
En retard
6
8%
Gratuit
26
Évaluation
Projets
945
47%
Arbitrage
309
58%
/
27%
En retard
125
13%
Gratuit
Commandes similaires
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
Maximas e Minimas + Super Trend
35+ USD
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
Connect chatgpt to ninjatrader
30+ USD
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
Informations sur le projet
Budget
30+ USD