Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Please Help...

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

    Please Help...

    I currently use the built-in "DailyLevels" indicator to draw a simple line at the High and Low.. Is there any way or does anyone have a script that allows me to specify the time window to consider for High and Low? Currently DailyLevels it simply uses the current Session loaded and it is a nuisance to have to switch sessions to a custom session to achieve what I want..

    Would be handy if Ninja allowed one to specify when ANY indicator was effective so one could load multiple instances of the same indicator to do different things...

    Thanks if you can help.

    #2
    Hello Rashid Garuba,

    Thank you for your post.

    You can create a time filter to only check between certain times. Please see our Reference Sample on Using a Time Filter to Limit Trade hours:



    While this sample is for a strategy and trades times, you can apply the same logic to an indicator to only check during that time period.

    A few other methods that may be of use for you:

    HighestBar() - http://www.ninjatrader.com/support/h...highestbar.htm
    LowestBar() - http://www.ninjatrader.com/support/h...?lowestbar.htm
    Getbar() - http://www.ninjatrader.com/support/h...tml?getbar.htm
    MatthewNinjaTrader Product Management

    Comment


      #3
      Check out the trendspotter code in the NT7 indicator samples. That might give you some other ideas.

      Originally posted by Rashid Garuba View Post
      I currently use the built-in "DailyLevels" indicator to draw a simple line at the High and Low.. Is there any way or does anyone have a script that allows me to specify the time window to consider for High and Low? Currently DailyLevels it simply uses the current Session loaded and it is a nuisance to have to switch sessions to a custom session to achieve what I want..

      Would be handy if Ninja allowed one to specify when ANY indicator was effective so one could load multiple instances of the same indicator to do different things...

      Thanks if you can help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      338 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X