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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      66 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X