NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 09-16-2011, 06:42 AM   #1
CriticalTrader
Member
 
Join Date: Jul 2011
Posts: 37
Thanks: 0
Thanked 4 times in 3 posts
Question Create a New Panel

Is there a way to create an additional panel for an indicator to which I can add a custom plot?
CriticalTrader is offline  
Reply With Quote
Old 09-16-2011, 07:07 AM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
Default

Hello CriticalTrader,

Thank you for your post.

Are you asking if you can have 2 indicators panels in additional to the price panel and the existing indicator panel you are using?
NinjaTrader_Matthew is offline  
Reply With Quote
Old 09-16-2011, 08:24 AM   #3
CriticalTrader
Member
 
Join Date: Jul 2011
Posts: 37
Thanks: 0
Thanked 4 times in 3 posts
Default

hmm...i guess i'm trying to ask if there is a way to plot on both the price panel as well as on a separate panel below the price panel with the same (single instance of a custom) indicator?
CriticalTrader is offline  
Reply With Quote
Old 09-16-2011, 08:32 AM   #4
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
Default

Hello CriticalTrader,

Unfortunately, this would not be possible currently. Any properties for drawing on panels cannot be separated. You would need to create another indicator for the 2nd panel.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 09-16-2011, 09:18 AM   #5
CriticalTrader
Member
 
Join Date: Jul 2011
Posts: 37
Thanks: 0
Thanked 4 times in 3 posts
Default

Yes, unfortunate. Please submit as enhancement request. Could likely improve performance processing only a single stream of market data.
CriticalTrader is offline  
Reply With Quote
Old 09-16-2011, 10:20 AM   #6
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
Default

Thank you for your suggestion for the improvement of NinjaTrader. I have submitted it into our tracking system with the unique ID # 845
NinjaTrader_Matthew is offline  
Reply With Quote
Old 10-17-2011, 07:59 AM   #7
CriticalTrader
Member
 
Join Date: Jul 2011
Posts: 37
Thanks: 0
Thanked 4 times in 3 posts
Default

Is there a way I can check on this periodically? I'd like to know if and when this feature may be implemented.
CriticalTrader is offline  
Reply With Quote
Old 10-17-2011, 09:05 AM   #8
NinjaTrader_JohnH
NinjaTrader Customer Service
 
NinjaTrader_JohnH's Avatar
 
Join Date: Jun 2011
Location: Denver, CO, USA
Posts: 18
Thanks: 1
Thanked 0 times in 0 posts
Default

Hello CriticalTrader,

Thank you for your forum post.

The best way to check on these suggestions would be to review the new release notes. These will display what changes are made in new releases, and these suggestions are often included in these changes associated with the tracking ID #. You can view release notes by clicking the following link:

Release Notes

Please let me know if I can provide any further assistance.
NinjaTrader_JohnH is offline  
Reply With Quote
Old 06-25-2012, 03:31 PM   #9
CriticalTrader
Member
 
Join Date: Jul 2011
Posts: 37
Thanks: 0
Thanked 4 times in 3 posts
Default

Can you tell me if any decision has been made on the request? Just curious.
CriticalTrader is offline  
Reply With Quote
Old 06-25-2012, 03:39 PM   #10
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hi CriticalTrader,

There is no update at this time. There is unlikely to be a change in near future here but we are still gathering all feedback for the next major release. Thanks for posting.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 06-26-2012, 07:06 AM   #11
mithnadril
Junior Member
 
Join Date: Dec 2010
Posts: 8
Thanks: 4
Thanked 1 time in 1 post
Default

you can plot on both the inidicator panel and the price panel with the follwing technique which I found inside the d3spotter indicator, available in the forum,

in Initialize you have to set
DrawOnPricePanel = true;
in order to plot on the indicator panel change this property back to false.

sample code fragment from my own code:
DrawOnPricePanel = false;
DrawDot("dot" + CurrentBar.ToString(), false, 0, rsi, Color.Green);
DrawOnPricePanel = true;
DrawArrowUp(CurrentBar.ToString() + "up", true, 0, Low[0]-2*TickSize, Color.Green);
mithnadril 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
Create new instrument panel from NinjaScript? saltminer Version 7 Beta General Questions & Bug Reports 1 08-04-2010 06:14 AM
One Plot in Indicator's Panel and another in Price Panel jatubio Indicator Development 7 05-10-2010 10:12 AM
How to control Display on Price Panel, Indicator Panel, Data Box. ChuckAllen General Programming 1 12-17-2009 03:05 PM
how to draw a line in a panel other than the price panel telbentel General Programming 3 12-01-2009 09:45 AM
Possible to create vertical indicator panel? Pepperdog Indicator Development 1 03-05-2009 05:26 AM


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