Ex if my first signal is draw at level 1100, then the second one with same name is draw at 1100.50, ninja suppose to delete or move the first one(1100) and draw or move the new one to 1100.50?, is that how it work?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw Items
Collapse
X
-
Draw Items
I'm drawing by code a signal(Diamond ex.) to a chart Real Time that mean CalculateOnBarClose = false, if my code draw the same signal item (that means same name) more than once, does it suppose to ninja update the old draw to the last one?,
Ex if my first signal is draw at level 1100, then the second one with same name is draw at 1100.50, ninja suppose to delete or move the first one(1100) and draw or move the new one to 1100.50?, is that how it work?Tags: None
-
Something its not working then, the following message appear on the Log:Originally posted by NinjaTrader_Ray View PostIf you pass in the same name, it will just re-draw based on whatever values are pased in at that time. So in your example, it would redraw at 1100.50.
Error on calling 'OnBarUpdate' method for indicator 'My_Custom_Indi': An item with the same key has already been added,
Is there any other report on the Draw Items?, I will strip down and post some code at the afternoon.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
612 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
355 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
561 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
564 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment