Renko Candlesticks

Renko charts are awesome. They reduce noise by only painting a brick on the chart when price moves by a specified amount up/down. When the price reverses, it must go twice the specified amount before a brick is painted. Time is not a factor, just price movement. Sometimes however, you want the pros of a renko chart, but on a regular candlestick chart. This indicator attempts to do just that.

A band is placed around price action showing the upper and lower bounds of what would be the current renko brick. The band only goes up/down when the price action itself moves up/down by the amount you specify. There are several ways of specifying the amount:

Fixed Price Amount: As the name says, you enter the brick size amount, i.e. the amount the price has to move before being in a new brick.

% of Price: This method will calculate the amount the price has to move as a percentage of the price itself. This way as price goes up/down, your brick size will adjust accordingly. Recommended values would be around 1% or less.

% of ATR: This option will make the brick size a percentage of the Average True Range . You can specify the ATR time frame to be different from your current time frame as well as the ATR length. For instance you could be on a 10 minute chart but specify the ATR to be daily with a length of 3 and a percentage amount of 15. This would make your brick size 15% of the Average True Range for the last 3 days. Recommended values are 10 to 20%.

Use this indicator on any time frame, even the 1 minute as the renko bands span the price action the same way on any time frame easily letting you know whether or not the price has moved appreciably, regardless of how much time has passed.

You can also set alerts easily, simply set the alert to crossing and choose “Renko Candlesticks” instead of “Value”. You will then see the options for the renko upper and lower bounds.

Tested on Bitcoin with the following values:

Fixed Price Amount: 30 ($30)
% of Price: 0.45 (if Bitcoin is $7000 then the brick size would be $31.50)
% of ATR: 15%, ATR Time Frame: 1D, ATR Length: 3 (3 days)
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기


First of all, this indicator is fkin awesome. This is going to make me some PIIIPPPPS.

Question though. I can't seem to get the %ATR option working correctly. No matter the number I put in, there is ultimately no change to it. The only change I can get from it is changing the source. Is there a specific way you have to in put the percentage. I've tried 75, .75, .075 etc. etc. I prefer this method, but the other (fixed price amount) works fine. Unfortunately, I have to change it for each pair I trade. do to different levels of volatility. Any help would be greatly appreciated.
+3 응답
ragamufin tgallenbeck
@tgallenbeck, I've had issues with the atr option myself. I'm making a newer version of the script that will have the % price option be more of a logarithmic price and will fix the atr problem then too. I'll let you know when it's released
+1 응답
Hi, the way you used the security function will cause repainting. Be careful..
+1 응답
ragamufin cyatophilum
@cyatophilum, Thanks! New version coming soon that will avoid this.
is there any update on alert?
Hi ragamufin,

thank you for great job! Do you might have a strategy based on your indicator? I would like to back test it..
@svob, Hi, thanks. This script is a little outdated. Hopefully I can update it soon but I ran into some issues with pine script then got distracted by other things.
In terms of a strategy, you would basically look at a normal renko chart and then try to port a strategy from that over to this. For an idea, look for up brick followed by down brick and call that a high then down brick followed by up brick a low. That creates a range. When price breaks above the previous high go long, and short if it breaks through the previous low. Then you can go from there to add more logic to try to avoid getting chopped
Hello thank you so much for this chart.

i have some questions, purely for my own understanding. up till now what i have read about renko charts, mostly draw it using close price. but in your script there are other options like hl, hlc, and ohlc. can you please point me to some literature or resource that how to consider highs and lows of normal candlesticks in renko charts together with closing price, instead of only closing price.

thank you once again
ragamufin osama33
@osama33, Hi, I personally haven't found any resources on strategies for using candlesticks in a renko style. The best I can say is to play around with it extensively and see if you can come up with something. As you noted you can change the source, not only can you do ohlc but you could point the source to another indicator like a moving average and that creates some interesting effects as well. So play around with it and don't forget to share if you find something valuable
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터
프로화일 프로화일설정 계정 및 빌링 리퍼드 프렌즈 코인 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃