Multiple Timeframe OHLC Levels Indicator for ThinkOrSwim
The multiple timeframe OHLC levels indicator plots the open, high, low, and/or close for a specified time frame (hour, day, week, month, etc.) on a lower time frame chart.
Say you’re trading on a 5 minute chart, and you want to be aware of important nearby price levels. You can add the OHLC levels for the prior day, prior week, prior month, etc. You can also add the levels for the current day, week, month, etc., or 3 days ago, or any other combinations you can think of.
In addition, you can selectively turn off certain values you don’t want (the closing price for the current day, for instance). The indicator automatically takes premarket data into consideration if you have it displayed on the chart, or ignores it if it is turned off, and just uses the regular hours OHLC values instead.
These levels can be incredibly important. I’ve found several levels to be of particular importance: yesterday’s range, last week’s range, and often last month’s range. When you’re a few days into a new trading week, the current week’s range can also be important. I’ve also found the pre market range and the initial balance range to be important as well if you want to add some additional automatic support and resistance points to your chart.
Take a look at the example below and you can easily see how prices tend to respect the OHLC levels from current and prior days and higher time frames.
Hi guys, I’m Josiah, and I’m a trader/programmer from the Nashville, TN area. I recently finished up both a bachelor’s and a master’s degree in Computer Information Systems at a local university and have been self-employed since then, trading and developing projects with Ruby on Rails on the side. Since I was already familiar with a certain amount of programming, and had an active interest in trading and investing, learning ThinkScript — the scripting language for the ThinkOrSwim platform — made a lot of sense, and helped me develop a platform configuration that really streamlined my trading workflow.
About the ThinkScripts
These basically came about because I got so frustrated with the limited built-in capabilities in TOS, and standalone subscription services that charge $99+/month. So I decided to learn ThinkScript so I could develop indicators and scans for myself. I still use most of these thinkscripts every day while trading.
We’re traders, but we’re also human … and the human brain gravitates toward simplicity. That’s one of the reasons why in trading, there’s just something about whole numbers or round figures. Our brains just like seeing numbers like fifties, hundreds, tens, and thousands, better than more complex numbers. Because of that, more often than not, stock price trends always seem to change direction near whole numbers like these. I know several professional traders who check nearby whole numbers before taking any trade. They assess whether there is good room to target before the next round number, and determine if an entry should be delayed until a nearby round number is reached. And that is why I have created a whole numbers indicator for ThinkOrSwim.
I programmed this whole numbers indicator so you’ll be able to easily identify the areas where there’s a greater likelihood of short term or long term reversal. When price is approaching a whole figure, you’ll be able to see the area on the chart without guessing. Now you’ll never have to worry about forgetting to check for these nearby “psychological figures” before placing your trades, because you’ll be automatically reminded of them in advance.
One issue with an indicator like this is that it has to be able to adjust to the instrument you’re trading. Forex, for instance, operates on totally different whole numbers than stocks do, because in forex every round number is a fraction of 1. So I specifically made this indicator to work on multiple types of instruments so that the whole number lines spread out as the instrument’s price gets larger. Result: this indicator works for stocks, futures, penny stocks, and forex.
The color of each line, as well as individual line thickness and style (solid, dashed, dotted, etc.) are all completely customizable. And you can also turn on/off the price bubble for each line on the right side of the chart. In addition, you can specify in the properties whether you want the indicator to show single digit levels below $10, and .05 increment levels below $2, so you can remove clutter you don’t want.
How it Works
The numbers highlighted by default are as follows:
Counting by .05s from 0 – 2: (.05 .1 .15 .2 .25, etc. — these are good for forex and penny stocks)
Counting by 1s from 0 – 10
Counting by 10s from 0 – 300
Counting by 25s from 0 – 500
Counting by 50s from 0 – 1000
Hopefully you’ll find this as useful as I do. Please check out these screenshots of the whole numbers indicator and contact me if you have any questions!
Josiah is a stock trader, thinkScript programmer, real estate investor, and budding mountaineer. He's also rumored to be an in-shower opera singer. Josiah & his family live in Nashville, TN. Twitter | YouTube
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.