Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Movable Markers on Chart
Collapse
X
-
Movable Markers on Chart
Marker_1 and Marker_2 are positioned by the user, on the chart, on the horizontal axis. My indicator will calculate the total buy volume, and the total sell volume, between Marker_1 and Marker_2. What can I use for my markers so the indicator knows the range that I want to use for making the two volume calculations?
Tags: None
-
Hello goodknight777,
Thanks for your post.
You could have the indicator look for certain drawing object types, I.E. a Dot's or vertical lines, and you can use the anchor time from the drawing objects for your range.
Drawing objects can be read through the DrawObjects collection.
DrawObjects - https://ninjatrader.com/support/help...rawobjects.htm
If you need something more interactive/robust than what we offer through supported NinjaScript and the DrawObjects collection, a solution like the one below could be considered to detect when drawing objects have been added.
IDrawingTool can tell you more about the properties available in each drawing object and how to reference anchors.
Let us know if there is anything else we can do to help.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
36 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
14 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
19 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment