This indicator will draw the median renko boxes directly on price chart. Just like the normal renko bricks construction, this one is not time dependent and top/bottom prices of bricks can last some times before a new one could be built upon the price change. The default brick size is 50 points, it can be adapted to any instrument with the parameter built in.
Coded by a request on the German forum.
The classic renko bricks indicator on chart can be download here in the library : http://www.prorealcode.com/prorealtime-indicators/renko-boxes-on-price-chart/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
//parameters : // boxsize = 50 once topprice = close once bottomprice = close - boxsize*ticksize*2 if(close > topprice + boxsize*2) THEN topprice = close bottomprice = (topprice[1] + bottomprice[1])/2 ELSIF (close < bottomprice - boxsize*2) THEN bottomprice = close topprice = (topprice[1] + bottomprice[1])/2 ELSE topprice = topprice bottomprice = bottomprice ENDIF RETURN topprice as "box top", bottomprice as "bottom box" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
hello,
i have the good trading for dax 30 5 min,i can send to you all information,you can organize the EA for this ?
Hello, yes of course. For any custom programming request, you can fill the form on this page : http://www.prorealcode.com/trading-programming-services/
and I’ll get back to you very shortly.
Hi Nicolas,
I have tried to import on current V10.2 and it may not work as an overlay ? Unless I am doing it wrong as I am new to this.
Is it possible to do the renko calculation from a fixed date in history, as opposed to calculating from current candle of which it will give slightly different values each time?
Thanks in advance
Nicolas Hello, I have recently started using this platform, I would like to test a system that opens a position (long to 50 points from minimum) and (50 short of the maximum) (about), but I have problems with the code. dax 5 minthank you
Please use forums for trading strategies queries. Many thanks.
Salut Nicolas,
Je regarde cette indicateur très intéressant par le fait qu’il est superposé sur le graph, je trouve cette approche intéressante.
Merci pour ton partage et ton travail 😉