Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Input Condition 20% Less than Session open?

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

    Input Condition 20% Less than Session open?

    Hello I am trying to set a condition in relation to the session open price

    I want to set one of my conditions to be: close price is 20% Less than Session open close price.

    I cant seem to find the session open command and First bar of the session doesn't seem to be the solution. I am not sure if time intervals will work either.

    Thanks

    #2
    Hello ecmazii,

    Thanks for your post.

    The session open price would be the open price of the first bar of the session. So checking for Bars.IsFirstBarOfSession and obtaining the Open[0] of that bar would be the session open price. Reference: https://ninjatrader.com/support/help...rofsession.htm

    Alternatively, you could use the indicator CurrentDayOHL and use the "Open" plot as a reference for the session opening price level.

    I'm not sure what you mean by Session open close price. Do you mean that you are looking for the close[0] of the current bar to be less than the Close of the session opening bar?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    41 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X