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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
639 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
572 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment