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
Indicator Panel Draw Objects Lost When Moved
Collapse
X
-
Indicator Panel Draw Objects Lost When Moved
When I Use DrawOnPricePanel=false and DrawLine() to draw a line in an indicator panel, then drag that indicator on to the Price panel, the lines that were drawn are lost, and do not appear on the price panel.Tags: None
-
Originally posted by NinjaTrader_Brett View PostHello,
Thanks for the note.
Curious, do the lines come back if you press f5 to refresh NinjaScript?
Comment
-
Hello,
Alright what is occurring is this is still at play in the indicator init as you suggested.
DrawOnPricePanel=false
So that indicator Plot output would be on panel one however the drawing objects are still on Panel two due to this in Initialize.
I'm checking with my product manager later this morning to see if there is a way around this limitation.
Thanks for your patience.
Comment
-
Hello,
Unfortunately there is no way around this. To draw on the main price panel you would need to to set: DrawOnPricePanel=true in init.
This means you may need 2 versions of your strategy/indicator. One that runs on the primary series and one that runs on the secondary series.
Let me know if I can be of further assistance.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ageeholdings, Today, 07:43 AM
|
0 responses
7 views
0 likes
|
Last Post
by ageeholdings
Today, 07:43 AM
|
||
Started by pibrew, Today, 06:37 AM
|
0 responses
4 views
0 likes
|
Last Post
by pibrew
Today, 06:37 AM
|
||
Started by rbeckmann05, Yesterday, 06:48 PM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
12 views
0 likes
|
Last Post Today, 12:38 AM |
Comment