Is there a way to specify (using code) the price panel number on which you would like indicator output to be drawn? Please advise. Thank you.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Price Panel
Collapse
X
-
Hello,
Thanks for your post.
There is no way to specify the panel number in code, but you could use either isOverlay or DrawOnPricePanel.
Using isOverlay decides whether the indicator is on the price panel as a whole (true) or in it's own panel (false).
Using DrawOnPricePanel will not affect plots but will determine whether drawing objects will be on the input series panel (true) or in the indicators panel (false).
I have included our help guide documentation on these two properties for your reference.
isOverlay NinjaScript Reference
http://ninjatrader.com/support/helpG...?isoverlay.htm
DrawOnPricePanel NinjaScript Reference
http://ninjatrader.com/support/helpG...pricepanel.htm
If you have any further questions please let us know.Josh G.NinjaTrader Customer Service
-
Originally posted by Zeos6 View Postkoganam,
Thanks for the info re PanelUI. Interesting. It is a read-only property. Not sure what you were hinting at though as I'd like to be able to specify the panel to which I render.
Comment
-
Hello, I have a problem with panel too.
I'm want make an indicator draw only on price panel, and i'm not want it open a new panel when user put it on graph.
I'm use in state: State.Configure :
IsOverlay = true;
DrawOnPricePanel = true;
But it's appear on a new panel if i'm not indicate, when i instanciate it on graphe on visual ui tab, Panel = Same as input series.
If i'm set in code Panel = 0;, the indicator is drawed correctly on chart, but a new empty panel still created.
So actualy the unique way i'm found to have it working properly it's the user who create the indicator on graph set Visual => panel => Same as ....
they are a way to force this from code ?
Thx.Last edited by Twanaar; 10-30-2017, 10:29 AM.
Comment
-
Hello,
The proper place to put IsOverlay and DrawOnPricePanel is in State.SetDefaults. I have included links to our help guide on these two properties.
DrawOnPricePanel
https://ninjatrader.com/support/help...pricepanel.htm
IsOverlay
https://ninjatrader.com/support/help...?isoverlay.htm
Please let us know if you have any further questions.Josh G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Brevo, Today, 01:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
384 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
6 views
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
Comment