NinjaTrader 7 Indicators - Market Type via Van Tharps SQN Model v1.1
futures io

Categories Help    

NinjaTrader 7 Indicators
Indicators in this section are compatible with NinjaTrader 7

Market Type via Van Tharps SQN Model v1.1 5 *
I have been reading the back issues of Dr. Van Tharps newsletter and one of the things I have found interesting is his monthly publishing of Market Type based on his SQN model. He publishes two graphs, one for determining the trend of the market and the other for volatility.

The basic idea is that these indicators could be used as a filter to determine which trading strategies work better when a given Market Type is prevalent. While his analysis is done specifically on the S&P 500 as the broader market definition, it should work equally well on other instruments.

This is my first NinjaTrader indicator so comments/suggestions welcome. This now includes both the SQN and Volatility indicators. The Volatility one for 2011, if you compare, looks "almost" the same as the one on the website linked below. I have looked back at old newsletters where they published the values for ATR% instead of the graph and my numbers match, so I will assume the formula is correct for now.


Here is a link to the latest newsletter article that has the SQN 100 graph of the S&P 500 for 2011. I have also included the graph from the article so you could easily compare it against the indicator screenshot over the same period.


- variable refactor
- paint background just in indicator panel
- for SQN i find 5 colors too much, so added a 3 color option so you can just see Bull, Neutral, and Bear market types.

Category NinjaTrader 7 Indicators 
Suggest other entries I might like
Details: Market Type via Van Tharps SQN Model v1.1
Category: NinjaTrader 7 Indicators 

January 15th, 2012
Size: 11.02 KB
Downloaded: 736 times


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
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.