NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 11-20-2007, 03:26 AM   #1
edgeliner
Senior Member
 
Join Date: Oct 2007
Location: Southy Florida
Posts: 263
Thanks: 16
Thanked 1 time in 1 post
Default Color of background on chart

Is there a way to program your strategy so that if your strategy puts you in a short position, the background color on te chart changes to yellow and when you enter a short position, the background color on the chart changes to light blue?
edgeliner is offline  
Reply With Quote
Old 11-20-2007, 04:32 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

You would need to custom code by using the BackColor property http://www.ninjatrader-support.com/H...BackColor.html
NinjaTrader_Dierk 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
Background Color BradB Indicator Development 26 11-18-2008 10:57 AM
Change background color trader2be Indicator Development 1 11-13-2007 09:13 PM
Chart Background Color NinjaTrader_Josh General Programming 1 07-15-2007 03:36 PM
indicator that just paints the background scjohn Strategy Development 1 06-09-2007 12:09 AM
Plotting background colors between bands rt-trader Indicator Development 11 01-20-2007 05:24 AM


All times are GMT -6. The time now is 02:03 AM.