This is easy to see, just print out the dataPoint on mouse down/up. Be sure to move the mouse between the down and up.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DrawingTool OnMouseUp has wrong values for dataPoint
Collapse
X
-
DrawingTool OnMouseUp has wrong values for dataPoint
For custom drawing tools, the call to OnMouseUp has the wrong value passed in for the dataPoint Anchor. The Anchor from the corresponding OnMouseDown is passed in instead (assuming you moved the mouse between the down and up clicks).
This is easy to see, just print out the dataPoint on mouse down/up. Be sure to move the mouse between the down and up.Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
90 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
49 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
23 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
31 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
31 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment