Thank you
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
Calculate actual high or low of bar
Collapse
X
-
Hello yeshujbp,
The high or low of the bar would be the High[0] or Low[0] returned from the bar series.
Below are public links to the help guide.
https://ninjatrader.com/support/help...en-us/high.htm
https://ninjatrader.com/support/help.../en-us/low.htm
Are you wanting to ignore the bar information and collect ticks and find the highest high or lowest low reached while the bar was open?
You could add a 1 tick series with AddDataSeries(), update a highest high variable and lowest low variable on the added series, and then reset the variables when the primary series closes.
The AdvanceDecline indicator does something similar.
https://ninjatraderecosystem.com/use...vance-decline/
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rjbtrade1, 11-30-2023, 04:38 PM
|
2 responses
75 views
0 likes
|
Last Post
by DavidHP
Today, 08:12 AM
|
||
Started by Stanfillirenfro, Today, 07:23 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 09:14 AM | ||
Started by FitSpressoHonest, Today, 09:14 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 09:14 AM | ||
Started by Davide999, 05-18-2023, 03:55 AM
|
4 responses
557 views
1 like
|
Last Post
by kcwasher
Today, 09:08 AM
|
||
Started by rexsole, Today, 08:39 AM
|
2 responses
7 views
0 likes
|
Last Post Today, 09:06 AM |
Comment