Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculating the highest high or lowest low for a specified time range

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

    Calculating the highest high or lowest low for a specified time range

    I would like to update the script in the example SampleGetHighLowByTimeRange_NT8.zip​ to stop the lines for the given range instead of running it through the end of the day.
    Last edited by ssdhar; 01-06-2024, 01:25 PM.

    #2
    Hello ssdhar,

    Thanks for your post.

    This script uses the AddPlot() method to add a plot to the script for showing the HighestHigh and LowestLow.

    If you want to only assign a value to the plot during a specific time, you could create a Time Filter and assign the value to the plot only during that time.

    Creating a Time Filter: https://ninjatrader.com/support/help...on_builder.htm
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thanks Brandon for your help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      181 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      334 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      258 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      358 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      187 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X