Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

max/low of the day before

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

  • NinjaTrader_Jesse
    replied
    Hello bergimax,

    There is an excellent indicator that gets the Prior day Open High Low Close that is included with NinjaTrader.

    You can access the prior day values from within your indicator or strategy by using the statements below.
    Code:
     PriorDayOHLC().PriorOpen[0]
     PriorDayOHLC().PriorHigh[0]
     PriorDayOHLC().PriorLow[0]
     PriorDayOHLC().PriorClose[0]
    You can view the code for it by doing the following:
    From the NinjaTrader control center window
    Click Tools
    Select Edit Ninjascript
    Click Indicator
    Open the PriorDayOHLC indicator.

    Here is a reference on the usage of the PriorDayOHLC indicator


    Please let me know if I may be of further assistance.

    Leave a comment:


  • bergimax
    started a topic max/low of the day before

    max/low of the day before

    Hello, how can i save the last value of currentdayohl of the day before? thank's

Latest Posts

Collapse

Topics Statistics Last Post
Started by pmachiraju, 11-01-2023, 04:46 AM
8 responses
148 views
0 likes
Last Post rehmans
by rehmans
 
Started by mattbsea, Today, 05:44 PM
0 responses
5 views
0 likes
Last Post mattbsea  
Started by RideMe, 04-07-2024, 04:54 PM
6 responses
33 views
0 likes
Last Post RideMe
by RideMe
 
Started by tkaboris, Today, 05:13 PM
0 responses
5 views
0 likes
Last Post tkaboris  
Started by GussJ, 03-04-2020, 03:11 PM
16 responses
3,282 views
0 likes
Last Post Leafcutter  
Working...
X