$EURUSD 1 Minute Chart Strategy

1841 3
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
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
nevermind ;)
script doesn't work..
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out