• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Previous Day High

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

    Previous Day High

    Hello, Please is there any term in Ninjatrader7 as 'Previous Day High'
    ,or 'Previous Day low'. i have already checked Ninjatrader7 Help Guide,
    it doesn't seem to be there. Could it be ( 'Add PeriodType.Day,1'). Please is there any other substitute term for it. thank you.
    Last edited by Emma1; 08-16-2017, 07:57 PM. Reason: slight correction

    #2
    Hello Emma,

    PriorDayOHLC will provide the needed High and Low values you are looking for.

    Prior session low value example
    double value = PriorDayOHLC().PriorLow[0];
    Print("The prior session low value is " + value.ToString());
    Prior session high value example
    double value = PriorDayOHLC().PriorHigh[0];
    Print("The prior session highvalue is " + value.ToString());

    I have provided the link to our help guide documentation on this method below.
    http://ninjatrader.com/support/helpG...r_day_ohlc.htm

    If you have any further questions please let us know.
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ksarin, Today, 12:39 PM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by ttodua, Today, 12:03 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by tomtr27, Today, 11:35 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Uregon, Today, 07:30 AM
    2 responses
    9 views
    0 likes
    Last Post bltdavid  
    Started by Induna, 02-20-2020, 05:38 AM
    4 responses
    26 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X