NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 08-31-2009, 12:24 PM   #1
gregid
Senior Member
 
Join Date: Aug 2009
Posts: 115
Thanks: 3
Thanked 7 times in 7 posts
Default StrategyPlot backcolor

Hi, I am looking for a way to change background color of StrategyPlot indicator.
It would be similar to ATR Ratio indicator (submitted in indicator section by ElliotWave) but I want the indicator to have blue background for the bars when the strategy is in long position and red when in short position.

I think I will be fine with logic but cannot find the method to change the background of strategyplot indicator. Is there anything similar to:
StrategyPlot(0).Plots[0].BackColor = Color.Red;

Thanks
gregid is offline  
Reply With Quote
Old 08-31-2009, 12:36 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

gregid,

Unfortunately this is not supported.
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
EMA Backcolor mydet Market Analyzer 0 05-11-2009 11:37 AM
DrawText and backColor dwalls General Programming 8 04-10-2009 11:47 AM
Multiple StrategyPlot() stefy Strategy Development 31 03-04-2009 06:54 PM
StrategyPlot ATI user Strategy Development 1 06-30-2008 10:23 PM
BackColor in Strategy NinjaTrader_Josh Strategy Development 11 05-31-2007 02:17 PM


All times are GMT -6. The time now is 09:31 PM.