Renko Bar Based Trading System for ThinkorSwim

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Hi @rad14733, I like this system a lot. I used it for options trading on Friday.

I'm most intrigued by the RSI Overlay, I really like the concept. I know someone else brought up the fact that it's only an overlay rather than being "fixed", is there any way to keep it fixed over the price?

If not, is there something comparable?

Once again, great system and insight!
 
first Red is your e

Renko Bar Based Trading System
V1.0 2020-07-26

System Components

Upper Chart Panel

Renko Bars

I use Renko Bars for scalping and day trading rather than being fixated and totally consumed by trade-by-trade candle price action. The Time interval settings I use are usually between 1 to 15 day. Price range is usually set to whatever works best for a particular instrument, but usually between 2 - 15 Ticks or ATR for Equities and from 1 - 5 Ticks or ATR for Options.

The figure below shows typical settings.

W9nINqv.jpg


RSI(13, 70, 30, CLOSE, WILDERS, Yes) [RSI]: If you have never traded using the RSI as an Upper indicator, especially with Renko Bars, you owe it to yourself to try this method as it plays into the overall trade strategy quite well. I’m surprised I’ve seen so few traders using this setup as it adds a whole new dimension to the playing field.

Trend_Reversal_Indicator_with_Signals(No, Average, Pivot, No, 0.5) [TRI]: I’m sure I’ve made at least minor modifications to this Study script but none that drastically effect its functionality.

HullMovingAvg(OHLC4, 13, 0) (Optional) [HMA]: As you can see, I have opted to use OHLC4 for the Price setting because I have found that it performs better for my needs with this setting change.

Day_Highs_and_Lows (Optional) [DHL]: This is most likely default Study script code but it might be marginally modified.

Underlying_Equity_Price(Normal, Yes, Yes) (Optional) [UEP]: Custom AddLabel script to display Stock price as well as current Trend of the instrument being traded.

The following figure illustrates a typical Upper Chart panel for an Option:

phEaz0l.jpg


Lower Chart Panel

Waddah_Attar_Explosion(100, 13, 26, 20, 2.0, 0.2) [WAE]
For best results, the “deadZone” xLine value needs to be adjusted so that it is functional for the instrument being charted. For most options that sweet spot is in the 0.2 range. You want your ex to drop below the xLine during periods of weak price movement when the bars are extremely short. This indicates a No-Trade “deadZone” area, meaning that you wouldn’t enter a trade when ex is below xLine. Note: I have moved the xLine and ex plots to the top of the plot code section so they paint on top of the Histogram instead of behind it. I have found that when the xLine is plotted first it becomes easier to determine when ex has dipped to or below xLine. Understanding plot hierarchy, and using it to your benefit, can be very helpful with decision making.

BalanceOfMarketPower(HULL, 13) [BOMP] I have not modified this Study script other than to adjust the AverageType to HULL and the length from 14 to 13.

RayBullPower(HULL, 13) [RBP] This Study script has been modified to allow bar color selection as well as AverageType selection.

The following figure illustrates a typical Lower Chart panel:

3cUaxZ6.jpg


That’s pretty much it for Chart layout aside from the fact that I also enable the Charts Left Axis by checking the checkbox in one of my Study scripts, usually RSI.

How To Use

Oh, where to begin? There is so much to cover that I hope I don’t leave anything out. I find new concepts all the time so I’m sure this section can be amended. As you may have noted, I prefer the HULL moving average and a bar length setting of 13. I have tried a plethora of different combinations of bar length settings and have found that 13 works best for my needs and synchronizes all of the indicators quite well. I also stick with standardized colors throughout for consistency.

Now let’s look at the entire Chart panel and go from there:

4BoW3D8.jpg


One thing I have just started utilizing is checking the Mark Phantom Bars option as indicated in the Chart Settings panel figure above. This causes the “phantom” bars, those that mark price movement without underlying volume, to display dimmer than true volume backed bars. All Phantom Bars have a Volume of zero and this is one of the quirks of using Renko Bars, albeit a minor one.

I won’t be covering the optional components as they are fairly self-explanatory and not part of the actual trading strategy. Sometimes I just turn them off to reduce screen clutter and to reduce processing overhead.

First, looking at the figure above, you will notice the RSI overlay working in conjunction with the Renko Bar movement. See what happens when the Renko Bars encroach on or surpass the Overbought RSI line? It indicates that it’s time to start paying closer attention to your trade and to anticipate taking profits before the RSI “breaks” and everyone is in a rush to exit, potentially leaving you in a Falling Knife situation. Yet you’ll also notice that when the RSI starts breaking back below Over-Bought but the Renko Bars are below Overbought it’s a good time to potentially ride out profit-takers creating a temporary price dip.

As I continue, please note that there will be some differences in how everything is interpreted depending on whether you are scalping or day trading. The main difference being how you plan your exit. As mentioned above, I utilize the TRI. This can serve multiple functions depending on your trading time-frame. When scalping you would use the Low Reversal as an entry point confirmation or you may choose to ignore it altogether and go by lower panel indicators. I find that, at the very least, it serves as an additional confirmation. When Day-Trading you can use both the Lower and Upper Reversal bubbles for entry and exit if that is your trading style. Just be aware of potential re-paints and watch those lower indicators for potential confirmations.

Now, let’s move on to how I use the Lower indicators. The main two being the WAE and RBP indicators. The BOMP indicator is primarily used to further confirm potential trade Entry and/or Exit as indicated by the WAE and RBP indicators. All three lower indicators have been set to a width of 1 for consistency as the default for RBP is 3 by default and that can cause synchronization alignment issues.

The WAE indicator provides a lot of information once you use it for a while. A Green bar indicates an upward trend in price movement. Dark Green indicates increasing strength and Light Green indicates decreasing strength. Yellow bars indicate decreasing strength and is also a good indication of upcoming Choppy Consolidation. More Yellow bars, typically tall ones, usually means a longer Consolidation period.

A typical entry signal would usually be a Green bar which has crossed above the ex line, with the ex line being your confirmation. This, of course, only holds true if it is your primary indicator and we’ll delve deeper into this as I describe the other two indicators. Now, remember those Yellow bars? Well, depending on various factors, a Yellow bar below the ex line that is below a Green Renko Bar can also be interpreted as an entry signal. Again, more on this later.

As far as exit signals are concerned, for Scalping, either a Light Green bar that closes below the ex line, ex being White on my charts, or any Red bar, would be an exit signal. For Day Trading we have several options for our exits. If the red bar is short, or a series of red bars are relatively short, in conjunction with the RSI crossing back below the Overbought line, you may choose to allow the trade to continue through what would usually be a Profit-Taking period. Your Renko Bars will also be Red during exit signals and Profit-Taking.

Next, let’s skip ahead to the RBP indicator as it can be used stand-alone or with the WAE indicator. The RBP indicator is fairly straight-forward, Green is your entry and the first Red is your exit - cut and dry. It just works! On long trade runs RBP will usually be your first to indicate an exit.

When used with WAE, the RBP indicator can be either the primary or secondary indicator. Essentially, you are looking for both indicators to display Green bars below a Green Renko Bar. Alternatively, a Yellow WAE bar and a Green RBP bar can also be used as a weaker yet valid entry signal. Also, when these two indicators are used you can optionally ignore the WAE Green bar having to cross above the ex line IF the RBP bar is also Green. Either indicator being Red can be used as your exit signal if nothing signals otherwise, such as RSI confirmed profit-taking dip.

And finally, the wildcard BOMP indicator. I say wildcard because that’s how I use it in decision making, and here is how it comes into play. Uncertain for an entry or an exit? Any switch to all three indicators painting Green bars can be interpreted as an entry signal and a switch to all three indicators painting Red bars can be interpreted as an exit signal if nothing signals otherwise, such as RSI confirmed profit-taking and short Red bars. If WAE is Yellow and RBP is Green then BOMP can optionally be the tie breaker with Green being an entry signal and Red indicating a pass. There may also be remote instances when it may be helpful in determining an early exit. Hence I tend to use the BOMP indicator as a catch-all, wildcard, tie-breaker for the most part. But important nonetheless.

There’s More

So, is that all there is? No! Pay close attention to the RSI as well as the Renko Bars relation to Overbought and Oversold. Sometimes the HMA can be useful in passing on a weak exit signal if the trend hasn’t turned. TRI is very useful in confirming entries and exits as long as you don’t use it as a primary signal or you’ll risk getting burned by repaints.

I no longer use a zeroLine on my Histograms, for good reason. If you’ve ever noticed what just looks like the zeroLine painting where there would normally be a bar you may be missing part of the story. By turning off the zeroLine you just see a gap between bars as though the bar never painted. Here is the trick! Hover your mouse pointer over any bars adjacent to the gap and your phantom bar or bars will magically appear. For example, I have seen a long gap of 15 bars or more that presented themselves as Red, Green, and Gray when revealed. I’ve seen every combination of phantom bar colors, Red to Green, Gray to Green, etcetera, that can be very helpful in making trade decisions that couldn’t have been made if the zeroLine was plotted. It is just about impossible to distinguish the phantom bar color by using the hovering trick with the zeroLine plotted so I simply turn them off and reap the benefits.

Identifying

The entire Chart Panel above includes a majority of what this strategy system encounters with the exception of RSI being in Oversold range, long Choppy DownTrend, or what a series of tall Yellow WAE bars foretells. I purposely selected this segment of chart for a GLD option because it has a very diverse amount of examples for such a short amount of chart. Some jump right out and others may take longer to find. A re-read of indicator use, and the twists and turns of interpreting them, should reveal most of them. I may eventually grab some snippets to help isolate some of the patterns.

If I follow my own rules this system can be very beneficial. I have actually spent a couple days ignoring the rules, intentionally, to prove that not following the rules is far less profitable than following them. And there were losses rather than gains. But it had to be done with real money because the real world is not as forgiving as back-testing. So, in the real world if I follow the rules rather than going rogue I have a far greater success rate. In 3 days of following the rules I had 12 wins and 2 losses. In 2 days of not following the rules and second guessing I had 4 wins, 1 break even, and 9 losses. And that was in an equal mix of market trends between Bullish and Bearish.

Summary

While I’m sure I haven’t covered every aspect of this trading system I feel that I’ve covered most of it, and, hopefully, adequately. I still find nuances as I use it more and more. After trying more than a few indicator suites I can honestly say that this one works the best for me. And I hope that it will for others as well. I will be sharing my setup, customized code and all, to provide a good starting point. If anyone finds a bug or makes improvements, please let me know.

THE END - rad14733
Can these system be applied to a longer time frame, 1hr, 4hr, or even daily?!
 
@sunstar Here you go... I keep my settings the same for most every symbol unless there is an absolute need for adjustment... As you can see, I use Fibonacci numbers...

ErgodicOsc(21, 13, 8, Exponential)

Didi_Index(8, 21, 34)
Hey could you please share your chart with the Didi Index links . Thank you
 
Hi Rad, I imported your script but it looks different. The things I changed was the RSI color and removed the left panel. Thanks in advance.

@tommylala Are you referring to the bar colors...??? Those can be changed on the Chart Settings panel Appearance tab... Also, as indicated on the first image in this topic, make sure you have the Mark phantom bars setting checked... If that isn't what you were referring to please provide more details...
 
@rad14733 Awesome script's always! I mainly trade SPX using different tick charts. Would this be suitable and back test first? Appreciate all you do sir really like the script you built.
 
@rad14733 Awesome script's always! I mainly trade SPX using different tick charts. Would this be suitable and back test first? Appreciate all you do sir really like the script you built.

@sean1970ss Thanks for the kind words... While I have never traded SPX with this setup I have traded SPY Options using it... I'm not sure what settings changes might be required, if any... My advice would be to setup a chart and monitor SPX for a several days and make adjustments as needed and monitor it for a bit longer... I have found that once you get a chart setup dialed in for a specific symbol it will work well until the market performance changes significantly for the symbol... If you decide to go that route do keep us updated on your progress... Good luck...
 
I would like to know if anyone from here can help me coding this:

create an up/down arrow when the following conditions are met:

1. Up Arrow: If WAE's tUp crosses ex line (average line) and BOMP is greater than zero and RaBullPower is Greater than zero then Pot Up Arrow
2. Down Arrow: If WAE's tDn crosses ex line (average line) and BOMP is lower than zero and RaBullPower is lower than zero then Pot Down Arrow
3. It should not plot repeatedly any other up/down arrow till the opposite condition is plotted

The Chart: https://tos.mx/3lBfCxR
Bb4GHGC.png
 
I would like to know if anyone from here can help me coding this:

create an up/down arrow when the following conditions are met:

1. Up Arrow: If WAE's tUp crosses ex line (average line) and BOMP is greater than zero and RaBullPower is Greater than zero then Pot Up Arrow
2. Down Arrow: If WAE's tDn crosses ex line (average line) and BOMP is lower than zero and RaBullPower is lower than zero then Pot Down Arrow
3. It should not plot repeatedly any other up/down arrow till the opposite condition is plotted

The Chart: https://tos.mx/3lBfCxR
Bb4GHGC.png
Have you done that? See post #27 if it helps
 
This is still a reliable trading system... I still pull it up at times... I've developed a couple other systems, one being the main one I'm using presently that is momentum based for scalping options... I had intended to get an entire write-up done on it, like I did for this one, but have been too busy... I'm also working on yet another system that I intend to use for swing trades... I'm hoping to get both completed and then do the write-ups...
Hello. I'm new to usethinkscript forums. I have been paper trading your Renko system along with a few other bells and whistles. So far, I'm a paper bajillionaire trading BTO call and put options on SPY. Per your basic instructions, I spend most of my time looking at the charts and saying nope, not good enough, need more confirmations. Thanks for sharing this trading approach.

I am wondering if you have posted about the momentum based approach for scalping options you mentioned above. I really like your Renko system so I'll wager whatever else you find that works is really good too. I don't know how to search this site for forum threads that you may have started.
 
Hello. I'm new to usethinkscript forums. I have been paper trading your Renko system along with a few other bells and whistles. So far, I'm a paper bajillionaire trading BTO call and put options on SPY. Per your basic instructions, I spend most of my time looking at the charts and saying nope, not good enough, need more confirmations. Thanks for sharing this trading approach.

I am wondering if you have posted about the momentum based approach for scalping options you mentioned above. I really like your Renko system so I'll wager whatever else you find that works is really good too. I don't know how to search this site for forum threads that you may have started.
Did you know that clicking on a member's avatar will allow you to see when a member was last seen on the uTS forum? @rad14733 has not been seen in a while. :(
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
399 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top