I am adding a column and a row for my indicator at the left margin of the chart where my indicator is added, but when I am adding 2nd instance of the indicator to the same chart, it is adding another column after the previous column which was added by the 1st instance of the same indicator. Is there a way to check or avoid not to add column where as a column added to the grid by 1st instance of the same indicator?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Avoid adding new column to the grid for the 2nd instance
Collapse
X
-
Avoid adding new column to the grid for the 2nd instance
Hi,
I am adding a column and a row for my indicator at the left margin of the chart where my indicator is added, but when I am adding 2nd instance of the indicator to the same chart, it is adding another column after the previous column which was added by the 1st instance of the same indicator. Is there a way to check or avoid not to add column where as a column added to the grid by 1st instance of the same indicator?Tags: None
-
Hello asmmbillah,
You can use the automation ID system to set ID's to your custom controls, that is the system used to find controls like ChartTrader by using FindFirst or GetAutomationId(). You can see a sample of setting/getting an automation id in the following post:
Trader Control - How to reset my code when user clicks on the Chart Tabs - NinjaTrader Support ForumGeneral platform technical support for NinjaTrader 8.
Please let me know if I may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
591 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
342 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
555 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment