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 Shansen, 08-30-2019, 10:18 PM
|
24 responses
938 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
3 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
Comment