Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.JimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Human#102, Today, 09:54 AM
|
1 response
2 views
0 likes
|
Last Post Today, 10:05 AM | ||
Started by reynoldsn, 05-04-2024, 02:34 PM
|
3 responses
29 views
0 likes
|
Last Post Today, 10:01 AM | ||
Started by bill2023, Today, 08:21 AM
|
1 response
11 views
0 likes
|
Last Post Today, 09:58 AM | ||
Started by Johnny Santiago, 10-11-2019, 09:21 AM
|
97 responses
6,276 views
0 likes
|
Last Post Today, 09:44 AM | ||
Started by patrickmlee007, Today, 09:33 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 09:33 AM |
Comment