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-21-2008, 10:11 AM   #1
billitin
Senior Member
 
Join Date: Jun 2008
Posts: 146
Thanks: 0
Thanked 0 times in 0 posts
Default Overlay as parameter

Quick question - how can I have Overlay property set to a boolean value of the indicator input parameter? Doing it in a straightforward way doesn't work
billitin is offline  
Reply With Quote
Old 12-21-2008, 02:42 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

Quote:
Originally Posted by billitin View Post
Quick question - how can I have Overlay property set to a boolean value of the indicator input parameter? Doing it in a straightforward way doesn't work
Create a new input parameter, call it something else such as "OverlayNew" for lack of creativity. Then get/set the "Overlay" property.

More information - http://www.ninjatrader-support2.com/...ead.php?t=5782
NinjaTrader_Ray is offline  
Reply With Quote
Old 12-21-2008, 05:45 PM   #3
billitin
Senior Member
 
Join Date: Jun 2008
Posts: 146
Thanks: 0
Thanked 0 times in 0 posts
Default

This is the straightforward way I've tried first and surprisingly it doesn't work, give it a shot. The thread apparently doesn't consider assigning the variable in Initialize() method.
billitin is offline  
Reply With Quote
Old 12-22-2008, 05:55 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
Question

Hi billitin, please post your code then, so we can take a look. Thanks! Here's the helpguide link to the Overlay() property - http://www.ninjatrader-support.com/H...6/Overlay.html
NinjaTrader_Bertrand 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
Volume overlay axldl Charting 10 09-07-2012 02:33 PM
OBV as Overlay ? T2020 Charting 7 12-16-2008 02:13 PM
overlay 2 studies gartonrd Indicator Development 8 12-15-2008 02:20 PM
Overlay Charts rhobbo1 Charting 3 09-06-2008 11:07 PM
Indicator Overlay Tasker-182 Suggestions And Feedback 2 04-13-2008 10:00 PM


All times are GMT -6. The time now is 03:08 PM.