New Renko System
Forums › ProRealTime English forum › General trading discussions › New Renko System
- This topic has 55 replies, 9 voices, and was last updated 3 years ago by Nicolas.
Tagged: renko
-
-
03/15/2018 at 10:09 AM #6534303/18/2018 at 1:43 AM #6555303/18/2018 at 10:26 AM #6555803/18/2018 at 12:43 PM #6556703/20/2018 at 2:47 AM #65781
Thanks Nicolas, much appreciated.
Recently I’ve been focusing on volume waves, but I’ve realized a new price level (close > previous swing high or close<previous swing low) will rarely be reached without a strong volume wave anyway. And unless new price levels are reached, there’s no trend. So I’m sort of thinking that volume might be almost irrelevant for momentum/breakout trading.
I’d love to see this as a system.
03/20/2018 at 8:13 AM #65793will rarely be reached without a strong volume wave anyway. […] thinking that volume might be almost irrelevant for momentum/breakout trading
Sorry, but I don’t follow you.. In your opinion, do you think it is still interesting to add a kind of volumes testing in this indicator .. or not?
03/20/2018 at 8:33 AM #65797I’m probably undecided as to the importance of volume. Still looking at it.
Would it be possible to have a cumulative volume for each leg (swing) of the renko, or does that mess up the chart? That might be interesting to look at.
Thanks for the great work.
03/20/2018 at 9:27 AM #6580603/20/2018 at 10:09 AM #6581003/20/2018 at 10:28 AM #6581503/20/2018 at 10:41 AM #65816Renko bricks construction start at the first bar of the history, so indeed, the chart will never look the same if you start your data history 1 day or even 1 minute before the last time you opened it.. But that would not say that backtesting is not possible, it is only about the accuracy of backtests from one user to another one, from one day to another, etc.
1 user thanked author for this post.
03/22/2018 at 10:24 AM #6606303/24/2018 at 6:38 PM #66273Renko bricks construction start at the first bar of the history, so indeed, the chart will never look the same if you start your data history 1 day or even 1 minute before the last time you opened it.. But that would not say that backtesting is not possible, it is only about the accuracy of backtests from one user to another one, from one day to another, etc.
This the main problem with Renko charts. In my eyes, it is only possible to evaluate them statistically : that is to vary first bricks and brick sizes systematically and then to determine an average result for the sum of these systems.
So, for example, you define the first Renko brick yourself by setting it at a precise time in the chart. For example, at TIME = 010000 on date = 20140801. The upper limit of the first Renko brick will then be the closing price at this time, for example 9330 in the DAX. Then you define additional entry points for the first Renko brick : 9330 + 2.5, 9330 + 5, 9330 + 7.5, 9330 + 10 and so on. Maybe up to 9330 + 20, this depends on the timeframe you are trading in.
Then you vary the brick sizes, for example from 15 to 25, step 1, when you trade the DAX in the 30 min chart.
In total, you will have 9 different values for the start position of the first Renko brick, and 11 values for the brick size. Then you run a backtest on all of these 99 Renko systems with the different brick sizes and positions of the first brick as parameters. You will see that the final gain can vary by more than 50 %, seen from the best result down, only by varying the position of the first Renko brick.
In the end, you determine the average gain per system by transferring the backtest result into Excel. Then only you will get a statistically quite reliable evaluation of a Renko system that will not depend on the exact position of the first Renko brick and on the exact brick size.
In reality, you would also have to run a grid of several Renko systems at the same time, with different starting positions and brick sizes. Only this way you can average out the entirely random influence of the first Renko box and the brick size.
1 user thanked author for this post.
03/24/2018 at 8:46 PM #66276Take this system, for example :
Renko bricksize and start brick variation12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849//Renko Chart tradingdefparam cumulateorders = falsedefparam preloadbars = 1000boxsize = BSn = 1ONCE upbox = 4000 + xxONCE downbox = upbox - boxsizeIf barindex >= 1000 thenbuysignal = 0shortsignal = 0IF close >= upbox + boxsize THENnewbricksup = (round(((close - upbox) / boxsize) - 0.5))diffup = newbricksup * boxsizedownbox = downbox + diffupupbox = upbox + diffuptotalbricksup = totalbricksup + newbricksuptotalbricksdown = 0If (totalbricksup[1] = 0 OR totalbricksup[1] = 1) AND totalbricksup >= 2 thenbuysignal = 1endifELSIF close <= downbox - boxsize THENnewbricksdown = (round(((downbox - close) / boxsize) - 0.5))diffdown = newbricksdown * boxsizeupbox = upbox - diffdowndownbox = downbox - diffdowntotalbricksdown = totalbricksdown + newbricksdowntotalbricksup = 0If (totalbricksdown[1] = 0 OR totalbricksdown[1] = 1) AND totalbricksdown >= 2 thenshortsignal = 1endifENDIFIf buysignal = 1 thenbuy n contracts at marketendifIf shortsignal = 1 thensellshort n contracts at marketendifendifI have tested this system in the DAX 30 min chart on 200.000 bars, starting in March, 2009.
The upper border of the first Renko brick (“upbox”) is set to 4000 in the first bar. It can be shifted by adding a quantity xx in line 9.
As an example, we look at the results with a brick size of 25 points (this is called boxsize BS here in line 5) in a DAX 30 min chart (200.000 bars).
The best result with a brick size of 25 points and xx = 14 is 13314 points :
The worst result with a brick size of 25 points and xx = 24 (only the first Renko brick is shifted by 10 points vs. the best result) is 7920 points :
Now, when we vary the brick size between 20 and 30 (step size 1) and shift the position of the first brick in steps of 3 points (up to a total shift of 24 points, see the .itf file), we get results between 14705 points and 6676 points.
The average result determined by Excel of all of these 99 Renko systems with different brick sizes and first bricks is 10265 points.
3 users thanked author for this post.
03/24/2018 at 9:42 PM #66283 -
AuthorPosts
Find exclusive trading pro-tools on