Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to get price scale min and max values at any time?
Collapse
X
-
Originally posted by stevew View Post
-
That would be preinstalled on your Ninjatrader platform via the Pivots.cs file. Just expand the misc section in your NinjaScript editor, this will cover the Plot method parts.
Leave a comment:
-
Can you please provide a link to the Pivots indi Misc section? I can't seem to find it.
Leave a comment:
-
Thanks Steve for the clarification - that should be possible within the plot method yes, I would suggest to check into the Pivots indicator Misc section a potential approach.
Easier would be of course using DrawTextFixed, but this would mean you draw one of five predefined fixed locations on the panel.
Leave a comment:
-
I should explain what exactly I want to achieve. I want to place a string at a fixed X location but have the string hug the bottom of the price panel while the panel is being scrolled. For example print the Day of Week at the first bar of the day, and have it hug the bottom of the price panel while the chart is manually scrolled horizontally. I was exploring the possibility of using the Plot method min value for this because it represents the lower price scale value displayed on the screen at any point in time.
Leave a comment:
-
Hi Steve, there's unfortunately limited support we could offer in that area. I don't think though I'm following your question here - why would the panel scale boundaries change when a bar closes? You would have that either on Fixed scale or AutoScale.
Leave a comment:
-
How to get price scale min and max values at any time?
The Plot method exposes the min and max values corresponding to the displayed price scale and that is great, but I want to retrieve the min and max values when a bar closes, or triggered by some arbitrary event. Can this be done?
Thanks for helping,
SteveTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
938 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
3 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
Leave a comment: