NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 12-26-2007, 02:03 PM   #1
Lost Trader
Senior Member
 
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
Default Plotting Fair Value on a chart

I thought this would be simple until I realized the multi-instrument support is ONLY for strategy & won't compile in Indicator code....

I need to create either a histogram (with hi, current, & lo values shown)
or a simple 1 minute bar chart of the price difference between a Futures symbol and its corresponding cash index, with an optional offset. This is also known as Stretch/Squeeze.

The attached picture & code may explain better than my description.

How can I plot the difference between two different symbol prices on a chart?
Attached Images
File Type: png ss.PNG (35.5 KB, 64 views)
Attached Files
File Type: cs StrSqu.cs (11.7 KB, 13 views)
Lost Trader is offline  
Reply With Quote
Old 12-26-2007, 02:22 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

Unfortunately multiple instruments in an indicator is not supported at this time. This is on our list.
NinjaTrader_Ray is offline  
Reply With Quote
Old 12-28-2007, 09:06 PM   #3
Pr0crast
Junior Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

Would also like to see this implemented.
Pr0crast 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
Plotting Bid and Ask volumes fishbed Indicator Development 1 12-07-2007 10:57 AM
Plotting TICK on same chart mikev777 Charting 4 11-25-2007 05:37 PM
Plotting Strategy Equity Curve on Chart whitmark Strategy Development 1 06-04-2007 05:25 PM
Plotting values on multi-time frame and instruments chart SuzyG Strategy Development 1 01-19-2007 12:32 AM
PLOTTING THE BID camelcom Charting 1 04-05-2006 12:36 AM


All times are GMT -6. The time now is 11:18 PM.