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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      85 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      67 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X