NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 12-01-2008, 12:50 PM   #1
rc5781
Junior Member
 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 1 time in 1 post
Default How to create 1/vix indicator?

I asked if plotting 1/vix was possible before and was told that the only was to do this was to create and indicator.

I have no idea where to start to do this. Is there any way you can get me started or point me in the right direction?
rc5781 is offline  
Reply With Quote
Old 12-01-2008, 01:06 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

You would need to create a multi-instrument strategy. Use the Add() to add the ^VIX instrument. Then you would need to create yourself a new DataSeries and set its value to be 1/Close[0] of the VIX.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-05-2008, 08:59 AM   #3
rc5781
Junior Member
 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 1 time in 1 post
Default

at what point do i use add() to add the vix? the first thing i see when creating a new strategy is "user defined inputs"
rc5781 is offline  
Reply With Quote
Old 12-05-2008, 09:19 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

You cannot do this in the Strategy Wizard. It will require custom programming. You add it in the Initialize() method.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to create a private indicator? ooppie General Programming 2 05-26-2008 11:36 PM
Vix ct Charting 1 09-25-2007 04:01 AM
Vix yeneuro Charting 1 09-06-2007 08:41 PM
Custom Indicator hangs NT on New Strategy Create zoltran Miscellaneous Support 4 06-20-2007 04:30 PM
Unable to create instance of 'NinjaTrader.Indicator.BuiltInIndicator' SuzyG Indicator Development 3 01-08-2007 05:14 PM


All times are GMT -6. The time now is 04:44 PM.