SwingTradeProfits

$EURUSD 1 Minute Chart Strategy

1124 3 87
You must be using the renko chart with traditional settings with the block size set at .0001. This can be done by going to settings. Style at the bottom should be changed from ATR to traditional. The set the block size as .0001.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy("MovingAvg Cross", overlay=true)
length = input(9)
confirmBars = input(1)
price = close

strategy.exit ("trail_points", loss= 1)

ma = ema(price, length)

bcond = price > ma
bcount = bcond ? nz(bcount[1]) + 1 : 0

if (bcount == confirmBars)
    strategy.entry("MACrossLE", strategy.long, comment="MACrossLE")

scond = price < ma
scount = scond ? nz(scount[1]) + 1 : 0

if (scount == confirmBars)
    strategy.entry("MACrossSE", strategy.short, comment="MACrossSE")

//plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)
hello SwingTradeProfits, just fyi, and not a criticism of your work, but any strategy that uses renko in a backtest isn't tradable because it uses future data.

The results of this test speak to this. Whenever you get extremely high PF in a backtest, its a virtual certainty that the reason is due to using future data that couldn't have been known at the time the supposed signal was hypothetically taken.

reference - https://futures.io/ninjatrader-programming/4768-tip-backtesting-renko-charts.html
Reply
nevermind ;)
Reply
script doesn't work..
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out