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 02-17-2009, 08:22 PM   #1
rightcoast
Senior Member
 
Join Date: Nov 2008
Posts: 162
Thanks: 0
Thanked 0 times in 0 posts
Default Supplied indicator colors

When running a strategy that contains 2 indicators which are the same but parameters are different, I would like to make some parts of the indicators transparent. I can do it manually each time I run the strategy, but it's getting tedious. This example is with pre-built indicators in NT, seems simple enough??
rightcoast is offline  
Reply With Quote
Old 02-18-2009, 12:14 AM   #2
Newshues
Member
 
Join Date: Jan 2009
Posts: 40
Thanks: 0
Thanked 0 times in 0 posts
Default

Tools->Edit NinjaScript->Indicator

pick the indicator in question

once it opens, right click, choose Save As and give it a name like myMACD or myMACDColorless or something else that makes it clear it isn't standard.

in the Initialize section find the Color.Red ( Red is an example, whatever the default color is will be what you're looking for )

change Red to Transparent

rinse and repeat for whatever colors you don't want to see.

press F5

enjoy.
Newshues is offline  
Reply With Quote
Old 02-18-2009, 04:35 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Thanks Newshues - please also take a look at this tip rightcoast - http://www.ninjatrader-support2.com/...ead.php?t=3228
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-18-2009, 05:47 AM   #4
rightcoast
Senior Member
 
Join Date: Nov 2008
Posts: 162
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks NEW, that was the first straight answer I have received on this site.
All the best.
rightcoast 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
More colors for l linking funk101 Suggestions And Feedback 3 04-05-2011 08:46 AM
Crosshair colors Richard Von Suggestions And Feedback 2 08-21-2007 01:43 PM
Changing plot colors inside of a strategy or indicator NinjaTrader_Ray General Programming 5 06-23-2007 11:30 AM
Custom Plot colors & Thresholds & Price marker colors higler General Programming 5 06-22-2007 07:47 AM
Indicator using mixed colors kgillis23 Strategy Development 5 05-23-2007 02:07 PM


All times are GMT -6. The time now is 01:21 AM.