Help on programming on the Renko trading system
Forums › ProRealTime English forum › ProBuilder support › Help on programming on the Renko trading system
- This topic has 7 replies, 4 voices, and was last updated 3 years ago by Nicolas.
Tagged: renko
-
-
01/29/2020 at 9:18 PM #118224
Ok, well lets give it a try, maybe someone here can help me with programming.
I would like an indicator where its possible to adjust the code here and there. And where its possible to do a backtest over the 100k bars..
A possible trade idea is that we should try to get ridd of the time.., the timefactor make all the graphs and indicators confusing with eachother. So what’s next? Let’s try to make an indicator/system purely on the move a graph is making independent of the factor time.. Therefore i use Renko as a basis.
Renko-tradingsystem (lets try this for example on the emini Dow), who can help me here with the programming?
Setup:
– RenkoBlocks on the high and low of the Dow, so we have set the Renkobricks defined on the intra-block movement of the Dow on the high and low.
– lets do a 1% brick value on the dow (would be nice if its adjustible) as a renkobricksize of the dow.
– lets use daily bricks, but preferably it must work on intraday data as well with the same setup below:
Setup:
– Intraday position: only if the week-renko and the day-renko are aligned with the intraday position, only then we take a intraday position.. For example, lets say we want to go long on an intraday renko chart? it must having a weekly long renko signal (1%/ highlow bricks) and a daily long renko signal (1% / high low bricks). When going short it’s the way around.
Signals Renko Long and Short:
– Longsignal renko: IF the renko-brick is above the 40-brick exponential moving average (40-ema) of that timeframe . THEN Open longtrade at the opening of the next normal graphbar after 2 successive renko longbricks (here I take 2)
– Shortsignal renko: IF the renko-brick is below the 40-brick exponential moving average (40-ema) of that timeframe. THEN Open shorttrade at the opening next normal graphbar after 3 soccesssive renko shortsbricks (here I take not 2 but 3)
Exit’s Renko:
Exit Long Renko: After 3 successive renko shortbricks have formed (against the renko long trend of that timeframe), close at the opening of the next normal graphbar as soon as possible. OR close as soon as possible if a renko brick closes below the renko ema-40
Exit Short Renko: After 2 successive renko longbricks have formed (against the renko short trend of that timeframe), close at the opening of the next normal graphbar as soon as possible. OR close as soon as possible if a renko brick closes above the renko ema-40
Re- enter Renko:
Re-enter Long Renko: IF the renkobrick closes above the ema-40 renko, AND have 2 new successive renko longbricks THEN Re-enter long at the opening of the new bar of normal graph as soon as possible
Re-enter Short Renko: IF the renkobrick is below the ema-40 renko, AND have 3 new successive renko shortbricks.. THEN Re-enter short at the opening of the new bar of normal graph as soon as possible
Looking forward to see if someone here make this indicator/system visually to see as arrows long and short in prorealcode and show the results of the backtest of this indicator/system.. 🙂
02/05/2020 at 9:49 AM #118703There are many adjustments to be made to make it possible.
- you don’t need to set 2 timeframes, since renko are built upon a percentage of price movement! 1% on a weekly TF is exactly the same as 1% on the daily one!
- different timeframes are not possible in an indicator
- we will have to use simulated renko bricks and calculating an exponential moving average on a non linear data serie is a nightmare. Preferably, use a SMA instead. (in v11 we’ll soon be able to use variable arrays and will be way much easier..)
02/06/2020 at 9:49 PM #118898Ok, well if its much easier we could try to make it for the daily, and wait when V11 comes around to make it a intraday-indicator as well (that is aligned with the daily & weekly Renco) 😉 when will v11 come around?
09/03/2020 at 9:51 PM #143326Tradingrob, did you reach anywhere with this please? I cam help but before we spend eons on coding and testing, need to figure out if strategy works.
One of the challenges in Renko is to decide correct bricksize (we can customise at will for different timeframes and different instruments), and secondly, Renko bricks are not time dependent, and can eat up all the swings….for example, the price may move 500 points either side of opening price but if it closes within bricksize(lets say price closes at open+20 for bricksize 100) on daily timeframe, no brick will be formed even if the price has swinged 1000 points during the day.
06/08/2021 at 1:27 PM #171389Bonjour Nicolas,Merci pour ta réponse sur l’autre sujet sur le PRTB. J’ai des questions sur le Renko que j’affectionne, actuellement sur le v11:Tous les indicateurs en affichage Renko fonctionnent remarquablement bien. Tout s’adapte à merveille, y compris les Williams et les MACD en bas. Cependant, yes , un mystère demeure.Le Renko PRT se modifie via un ATR et pourtant renvoie des hauteurs fixes. Est-ce une moyenne plafonnée sur la période? Impossible à reconstituer. Dans mon cas, ATR 13, il renvoie ATR = 3.5, + ou moins 6 boites pour 20 points. En période 12 (affiché atr = 1.9) ou 15, les boites changent d’une façon très équilibrées et très pertinemment. Impossible à reconstituer.Quelle est la formule magique?Si je fais par exemple une reconstitution d’une moyenne mobile sur Renko, tel ton code d’antan, sur un TF 1mn, (c’est mon truc, je fais mes fins de mois avec), je dois la mettre au moins à 15(1/4 H) pour obtenir à peu près en beaucoup moins bien la même, sous affichage Renko natif mais en période 9. Avec un résultat, calculé à la main, qui laisse rêveur. Du pur nectar. Et le ExtraTrend, zéro déchet. C’est donc alléchant. Enfin la Martingale… 🙂Pourrais-tu éclairer ma lanterne stp?Merci d’avance si tu peux : )1 capture reconstitution (boxes non colorisées = ATR/2) sur écran TF1 avec SMA15 et un Renko avec SMA
Hello Nicolas, Thank you for your answer on the other subject on the PRTB. I have questions about the Renko I like, currently v11: All indicators in Renko display are working remarkably well. Everything fits wonderfully including the Williams and MACDs at the bottom. However, yes, a mystery remains.
- The Renko PRT modifies via an ATR and yet returns fixed heights. Is it a capped average over the period? Impossible to reconstruct. In my case, ATR 13, it returns ATR = 3.5, + or minus 6 boxes for 20 points. In period 12 (displayed atr = 1.9) or 15, the boxes change in a very balanced and very relevant way. Impossible to reconstruct.
- What is the magic formula?
- If I do for example a reconstruction of a moving average on Renko, like your code of yesteryear, on a TF 1mn, (it’s my thing, I make my end of the month with), I must put it at least at 15 (1/4 H) to obtain more or less the same, under native Renko display but in period 9. With a result, calculated by hand, which leaves you dreaming. Pure nectar. And the ExtraTrend, zero waste. So it’s enticing. Finally the Martingale … 🙂
- Could you light up my lantern please?
- Thanks in advance if you can 🙂
- 1 reconstitution capture (uncolored boxes = ATR / 2) on a TF1 screen with SMA15 and a Renko with SMA9
06/08/2021 at 2:30 PM #171399Only post in the language of the forumthat you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
Thank you 🙂
06/08/2021 at 2:42 PM #17140006/14/2021 at 9:02 AM #171713 -
AuthorPosts
Find exclusive trading pro-tools on