MakisMooz

[STRATEGY] EURUSD 5 RENKO [MakisMooz]

Modification of RicardoSantos
RENKO V0


just added my buy / sell signals.

look inside script for extra signals conditions tested

Happy Trading!
Life is Art & Art is Life
Comment: 3 Scenarios Tested
Net Profit
1. $1651.00
2. $793.00
3. $435.50
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy(title='[STRATEGY] EURUSD 5 RENKO [MakisMooz]', shorttitle='S_EURUSD_5_[MakisMooz]', overlay=true, pyramiding=0, initial_capital=100000, currency=currency.USD)

trade_size = 10000

ro = open
rc = close

// #1 [MakisMooz]
// Net Profit $1651.00
buy_entry = rc[0] > ro[0]
sel_entry = rc[0] < ro[0]

// #2 [MakisMooz] 
// Net Profit $793.00
//buy_entry = rc[0]>ro[0] // [MM]
//sel_entry = rc[4] > ro[4] and rc[3] < ro[3] and rc[2] < ro[2] and rc[1] < ro[1] and rc < ro

// #3 [RS] 
// Net Profit $435.50
//buy_entry = rc[4] < ro[4] and rc[3] > ro[3] and rc[2] > ro[2] and rc[1] > ro[1] and rc > ro
//sel_entry = rc[4] > ro[4] and rc[3] < ro[3] and rc[2] < ro[2] and rc[1] < ro[1] and rc < ro

strategy.entry('buy', long=strategy.long, qty=trade_size, comment='buy', when=buy_entry)
strategy.entry('sell', long=strategy.short, qty=trade_size, comment='sell', when=sel_entry)
Watch chart uses every tick. Then you will realize this strategy is useless.
+6 Reply
pjblabla netproject
@netproject, can you please elaborate?
+2 Reply
Hi, for some reason the renko bars open and close prices do not correspond to the normal candle bar of the same day. Let say your strategy generate a buy signal the 01/01/2015 at price x (renko bar) but price for that day is not x but y. That mean all backtest is biased. I've try different setting of renko like "traditionnal" or "ATR" but it only change the box size, which is normal. I've no idea where tradingview find it's open and close for Renko.
+1 Reply
Thanks for the strategy, however the entries are not always correct. If you have signal, but the next candle goes in the opposite direction, the entry of your trade is drawn in at the Open of the new candle instead of the Close of the previous candle, which is where you would enter the trade). I'm afraid the results of the backtest are unreliable for this reason.
To have a more reliable result, you can use a limit order at the close of the current candle.
Reply
MakisMooz Nico.Muselle
I have noticed that the results are unreliable. I am trying to understand how the strategy scipting finds and set the open and close order points. That was a fast scripting example. I am working to make it more accurate. Thanks for your comment.
+3 Reply
ZAnanas MakisMooz
@MakisMooz,
Hello
Thanks for your script
I got the same exact problem of false entries in my renko strategy. Did you find any solution to solve it ?
Reply
ZAnanas Nico.Muselle
@Nico.Muselle,
@MakisMooz,
Hello
I got the same exact problem of false entries in my renko strategy. Do you heard about any other solutions implemented since then ?
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out