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 CarlTrading, Yesterday, 09:41 PM
|
1 response
19 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, Today, 02:41 AM
|
0 responses
6 views
0 likes
|
Last Post
by CarlTrading
Today, 02:41 AM
|
||
|
Started by CaptainJack, Yesterday, 11:44 PM
|
0 responses
17 views
0 likes
|
Last Post
by CaptainJack
Yesterday, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
33 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
32 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment