BetterRenko for Sierra Charts - Sierra Chart Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > Sierra Chart > Sierra Chart Programming

BetterRenko for Sierra Charts
Started:January 25th, 2011 (02:08 PM) by aslan Views / Replies:4,278 / 1
Last Reply:January 25th, 2011 (02:08 PM) Attachments:5

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

BetterRenko for Sierra Charts

Old January 25th, 2011, 02:08 PM   #1 (permalink)
Elite Member
Madison, WI
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
aslan's Avatar
Posts: 613 since Jan 2010
Thanks: 339 given, 1,056 received

BetterRenko for Sierra Charts

I recently switched to Sierra Charts. In doing so, I needed the bar types that I used on my previous platform. So, I ported BetterRenko bars to SC.

BetterRenko differs from classic Renko in two main fashions. First, it only uses/plots real data. So it does not split or insert dummy data in order to fill gaps. Second, it tracks and displays all data outside of the Renko bricks, which are displayed as wicks. With these changes, BetterRenko can be used in the classic sense of removing noise to better see price action, while also still maintaining back-testing integrity.

The code can be found on this SC thread, and it is included in the SC user contrib collection. To install, just grab the dll file and place in your SC data folder. The source is also there if you want to compile it yourself.

The implementation is a custom chart, which is how SC lets users create bar types. A custom chart is applied like an indicator/study, but uses the underlying bar/tick data to form a new set of bars, which are displayed in place of the base data. This has a couple of implications.

First, it is a study, so will lag slightly from base bars, but this can be minimized by setting your update interval to a reasonable value (I use 50 ms). This perceived lag is really only the screen updates.

Second, you need to set up the underlying data correctly. The SC BR implementation can be applied to bar data, but you will likely not get what you expect unless you are using a fairly large brick size. This is because there is no way to look inside of the bar, so it uses the OHLC and the brick size will be as close as possible. To get the renko bricks that most people expect, you need to apply it to a tick chart, so the bricks can be calculated correctly. To do this, requires that you are storing your data as ticks (see Intraday Data Storage Time Unit in Data/Trade Service Settings), and you set your chart interval to 1 tick in the chart settings (see attachment). Both of these actions come at a price, in that you will be storing more data to disk, and your initial load times for a chart are kind of long, especially if you load more than a few days of data. Once data is loaded in a chart, there is no issue.

To apply the study, go to Analysis -> Studies, then Add Custom Study, and select the BetterRenko from the BetterRenko dll.

The following are the inputs:

Brick Size: the size of the renko bricks, specified in number of ticks

Align to brick size: if true, bricks are aligned to the natural brick size at the start of each day (i.e. 5 tick brick on CL would align to prices of .05, and 4 tick brick on ES would align to 1.00 increments).

Show real open: If true, the open of the bar will be the actual open, so the candlesticks will look more like candles then classic Renko bricks (especially for reversal bars). If false, then the open of the bar is changed on the close of the bar to be a classic Renko open, so the candlestick bodies will look like Renko bricks. Note: when false, your back-testing integrity is compromised. There is an extra subgraph that carries the alternate Renko/True Open in case you need it for a study. This is a SC-only BR feature. Second chart shows example vs first chart.

Reverse multiplier: Normally, a classic Renko needs double the brick size in order to reverse and create a new bar in the opposite direction. By setting this to a value larger than 2, you can change the reversal behavior to be more like a three line break (3LB) type of chart. Of course the tradeoff is that your wicks are going to be potentially much larger as well. This is a SC-only BR feature. Last chart shows what this looks like.

Finally, the default display type is a CandleStick. You can change this to use any of the other bar types. For example, if you want to see a more classic Renko brick without the wicks, you can change to CandelStickBodyOnly (third chart).

Attached Thumbnails
BetterRenko for Sierra Charts-cs.png   BetterRenko for Sierra Charts-br.png   BetterRenko for Sierra Charts-brro.png   BetterRenko for Sierra Charts-brbo.png   BetterRenko for Sierra Charts-brlb.png  
Reply With Quote
The following 16 users say Thank You to aslan for this post:

Old January 25th, 2011, 02:08 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > Sierra Chart > Sierra Chart Programming > BetterRenko for Sierra Charts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sierra Charts Ninja Trader backup and restore to new computer Angler The Elite Circle 12 August 23rd, 2012 12:13 PM
sierra charts accumulated zigzag volume marcovth Sierra Chart 3 August 12th, 2011 01:42 AM
Sierra Charts and News Feed??? Pamirat Sierra Chart 5 July 23rd, 2011 11:26 PM
Sierra Charts for trading jstnbrg Sierra Chart 13 May 4th, 2011 04:34 PM
Sierra Charts - Does anyone have an intraday data file of CL? David Sierra Chart 8 December 17th, 2010 02:40 AM

All times are GMT -4. The time now is 01:35 PM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-26 in 0.09 seconds with 20 queries on phoenix via your IP