Guest Post: QuoteTracker: Paintbars Tutorial
Posted on January 31st, 2007
Written by Prospectus
Posted in: N/A (old archives)
This post was contributed by a guest author, and does not necessarily reflect the views of Richard or MovetheMarkets.com
QuoteTracker is an outstanding charting program that I use. It’s got a freeware version with a few limitations and ads, and the full version is free to holders of a funded ($2k) TD Ameritrade account (which I also have). Without that, it’s only $7/month or $60/year. QT is a charting package only, not a data provider or brokerage. You can link to lots of different data sources and even integrate trading within QT with some brokerages (like MB Trading, Interactive Brokers and TD Ameritrade). I get my data from my TD Ameritrade account, and I trade manually through Zecco. Lots of different options there–full details are at the QT site.
One of the great features of QT is the Paintbars–graphical signals that show up on your charts based on quantitative calculations that you define. Here’s an example of one of my charts:
This chart has two paintbars added, which I chose to show up as a diamond above the candle–gray if it’s a narrower range bar than the previous one, and yellow if it’s an inside bar (which is also a narrower range bar by definition). In the chart above, the second bar is narrower than the first, hence the gray diamond. The third is inside the second, so it gets yellow.
To set this up in QT, you choose Charts>Chart Paintbar Editor from the menu. You get a screen that looks like this:
You can see one of the paintbars that I created in that picture. You create a new paintbar, name it, and then add rules. Rules are the calculations and comparisons made to decide to implement your paintbar on the chart or not. You can have more than one rule per paintbar. If you click the “switch to simple expression” toggle button, you can go to a pulldown list of built-in indicators. By choosing some of these and then clicking the button again, you’ll see the complex expression code–this is a good source of examples to build your own complex expressions. In my example, the words ‘Bar High’ refer to the high of the current bar, and ‘Bar High[1]‘ refers to the high of the previous bar. The number in brackets is an offset of previous bars. The “action” and “else” pulldowns determine what you will do if the conditions you specify are or are not met. You can also change the color involved in the paintbar.
Here’s the code for some of my paintbars:
NRBar:
if ABS(Bar High-Bar Low) <= ABS(Bar High[1]-Bar Low[1]) set color to Gray
InsideBar:
if ABS(Bar High-Bar Low) <= ABS(Bar High[1]-Bar Low[1]) AND Bar High[1]>=Bar High AND Bar Low[1] <= Bar Low set color to Yellow
NR7:
if ABS(Bar High-Bar Low) <= ABS(Bar High[1]-Bar Low[1]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[2]-Bar Low[2]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[3]-Bar Low[3]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[4]-Bar Low[4]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[5]-Bar Low[5]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[6]-Bar Low[6]) AND ABS(Bar High-Bar Low) <= ABS(Bar High[7]-Bar Low[7]) set color to $8000FF
Once you have saved your paintbar, you need to apply them to a chart. Right click on a chart and choose “select indicators”, and you see this screen:
There is an indicator called Paintbar-Top and one called Paintbar-Bottom. ‘Top’ shows up on the price, while ‘Bottom’ shows up linked to a lower panel, like volume or another indicator. Once you enable it with the right arrow, you have to click the “edit” button for the paintbar indicator you want to set up. Once you do, you see this:
Choose the paintbar you saved that you want to use from the “name” list, and then choose your “show on” effect. Hit ok and you’re ready to see them in action! Make sure you save the chart template if you want to be able to keep the setup.
Feel free to post your own paintbar codes in the comments, or to ask questions about any of the above.
Comments
-
Tina
-
RJ
-
Eternum
-
YR
-
President Fox
-
David
-
Space4u2go
-
Prospectus
-
Richard
-
Richard
-
estocastica
-
estocastica
-
The chartist formerly known as
-
em
-
The chartist formerly known as
-
em
-
em
-
estocastica
-
estocastica
-
Richard
-
em
-
Prospectus
-
estocastica
-
estocastica
-
Richard
-
em
-
Gav
© 2010 Richard Todd. I am not a financial advisor, and nothing on the site should be considered investment advice or actionable recommendations. I'm just an individual, saying what I think, and sharing my experiences.