![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
Hi,
Can anyone tell me what the correct indicator is for the historical volatility of a stock? Thanks in advance. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello joeydisco,
The ATR indicator measures the volatility of an instrument. Please refer here to know more about it. http://www.investopedia.com/terms/a/atr.asp The ATR indicator comes natively in NinjaTrader. http://www.ninjatrader.com/support/h...indicators.htm Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
Thanks but the ATR does not represent historical volatility as calculated here:
http://www.lfrankcabrera.com/calc-hist-vol.pdf For instance, you would not use the ATR as a volatility input when trading options, you would use historical volatility. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello joeydisco,
For options, VIX (symbol in NinjaTrader (^VIX) is taken to calculate the volatility. Please refer here to know more http://www.cmegroup.com/trading/opti...y-indexes.html VIX is appended as an index in NinjaTrader and you can create a chart of it if your connectivity provider provides data for VIX.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
|
|
#5 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
Thanks.
That is something I was looking for as well. |
|
|
|
|
The following user says thank you to joeydisco for this post: |
|
|
|
#6 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
|
|
#7 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
Let's say I have an equity trading system and I want to add a condition that says I should buy or sell when the VIX is X% above or below its' moving average.
How would I go about doing this? Thanks. |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello joeydisco,
You have to create a multi-series indicator to this. Please refer to this help guide link which further discusses the multi-series concepts http://www.ninjatrader.com/support/h...nstruments.htm
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
|
|
#9 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
Is it not possible to do this by adding a condition to the strategy wizard?
i.e. If VIX index > 10 SMA then Enter long position on stock X? I'm not calculating any new values that Ninjatrader wouldn't already have access to so I imagine I wouldn't have to create a new indicator.
Last edited by joeydisco; 06-24-2012 at 02:50 AM.
|
|
|
|
|
|
#10 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
|
#11 |
|
Junior Member
Join Date: May 2012
Posts: 27
Thanks: 10
Thanked 1 time in 1 post
|
So can I create a multi-instrument strategy using the strategy analyzer or do I have to code something from scratch?
Thanks in advance. |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Sep 2008
Posts: 543
Thanks: 80
Thanked 187 times in 131 posts
|
You have to do it with code.
|
|
|
|
|
|
#13 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello joeydisco,
As Radical and koganam already mentioned, you have to code it via the NinjaScript editor. You cannot do it via the Strategy Wizard. Thanks Radical and koganam for your inputs.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need volatility indicator | renkoben | Indicator Development | 16 | 11-14-2012 03:11 AM |
| Raschke & Connors 6/100 Historical Volatility | TrendTracker | Indicator Development | 1 | 10-28-2011 08:37 AM |
| Historical Volatility (Any Time Period) | scriabinop23 | NinjaScript File Sharing Discussion | 3 | 06-29-2010 03:36 PM |
| Volatility indicator ? | T2020 | Indicator Development | 3 | 03-25-2010 10:05 AM |
| Historical Volatility Ratio | simul316 | Indicator Development | 0 | 06-23-2007 06:57 PM |