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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    7 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    59 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    41 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    47 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    38 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X