Draw.Text(this, "crossbelow" +CurrentBar, "look for short" , 1, High[1]);
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
why does draw paint only the main panel
Collapse
X
-
why does draw paint only the main panel
I have a indicator that does drawtext functionality. in my chart, i configured the indicator to show in new panel instead of overlay. however the paint is still showing in the main price panel. how do i force the draw.text to paint in the panel that the indicator is running.
Draw.Text(this, "crossbelow" +CurrentBar, "look for short" , 1, High[1]);
Tags: None
-
Hello junkone,
Thank you for the question.
Drawing objects are seperate from Plots, currently any Plots would be in panel 1 but drawing objects would be in panel 0.
To correct this, you would need to change the DrawOnPricePanel property so the Objects follow the indicator panel instead.
protected override void Initialize()
{
DrawOnPricePanel = false;
}
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by trilliantrader, Today, 03:01 PM
|
1 response
4 views
0 likes
|
Last Post Today, 03:16 PM | ||
Started by geddyisodin, Today, 05:20 AM
|
6 responses
34 views
0 likes
|
Last Post
by geddyisodin
Today, 03:14 PM
|
||
Started by pechtri, 06-22-2023, 02:31 AM
|
9 responses
122 views
0 likes
|
Last Post Today, 02:31 PM | ||
Started by frankthearm, 04-18-2024, 09:08 AM
|
16 responses
67 views
0 likes
|
Last Post Today, 02:17 PM | ||
Started by habeebft, Today, 01:18 PM
|
1 response
8 views
0 likes
|
Last Post Today, 02:03 PM |
Comment