Nicolas

Median renko boxes on price

Category: Indicators By: Nicolas Created: April 29, 2016, 1:00 PM
April 29, 2016, 1:00 PM
Indicators
6 Comments
Median renko boxes on price

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/

//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"

 

Download
Filename: Median-Renko-boxes-on-price.itf
Downloads: 219
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

PassionTrading
9 years ago
#

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 ;-)

Alessio
10 years ago
#

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 min
thank you

Nicolas
10 years ago
#

Please use forums for trading strategies queries. Many thanks. 

davostrader
10 years ago
#

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

edocasa
10 years ago
#

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 ?

 

Nicolas
10 years ago
#

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.

ProRealCode ProRealCode
Loading...