PDA

View Full Version : Supplied indicator colors


rightcoast
02-17-2009, 08:22 PM
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??

Newshues
02-18-2009, 12:14 AM
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.

NinjaTrader_Bertrand
02-18-2009, 04:35 AM
Thanks Newshues - please also take a look at this tip rightcoast - http://www.ninjatrader-support2.com/vb/showthread.php?t=3228

rightcoast
02-18-2009, 05:47 AM
Thanks NEW, that was the first straight answer I have received on this site.
All the best.