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!
See more
See less

Partner 728x90

Collapse

Get values OHL on unformed intraday bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get values OHL on unformed intraday bar

    Hi guys!
    Strategy NingaTrader8 has a method CurrentDayOHL(). The current day (session) open, high and low values.
    Is there a similar method for intraday bars? I need to get open, high and low values on a bar that has not yet formed (hour 4 bar).
    If there is no such method, then how can I get the data in another way?
    I would be grateful for the help.

    #2
    Hello Kostiantyn,

    Thank you for the post.

    There are a few analytical methods and indicators you can use to get this info. Please see the links below for more details:

    LowestBar()

    HighestBar()

    MAX()

    MIN()

    To access the high and low values of a currently forming bar, use the price data series that are provided, such as High[0] ot Low[0]

    Please let me know if I can assist further.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GLFX005, Today, 03:23 AM
    0 responses
    1 view
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by XXtrader, Yesterday, 11:30 PM
    2 responses
    11 views
    0 likes
    Last Post XXtrader  
    Started by Waxavi, Today, 02:10 AM
    0 responses
    6 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    14 views
    0 likes
    Last Post TradeForge  
    Started by Waxavi, Today, 02:00 AM
    0 responses
    3 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Working...
    X