Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bigger than, Lowest than

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

    Bigger than, Lowest than

    Hello,
    I need the edit strategy to make the entry run under the condition that today's volume will be greater than the previous ten lines of volume and at the same time Low Candles the lowest for the last ten candles. Thank you for any advice.

    #2

    Hello Quikc,
    Thanks for your post and welcome to the NinjaTrader forum.

    You can use the MAX() and MIN() indicators to get the highest and lowest values over a period and you can pass the VOL() indicator in as a series.



    For example, to get the maximum volume reading from the VOL() indicator over the last 10 bars you could do something similar to the following snippet:
    Code:
    Print("The maximum volume reading over the last 10 bars is  : "+MAX(VOL(),10)[0]);
    Please see the following reference sample in our help guide that demonstrates how to get the highest high or lowest low during a specific period: https://ninjatrader.com/support/help...est_high_o.htm
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much,
      if I worked in the wizard, would it look like this ?:

      1.) The lowest low for ten candles:
      Click image for larger version

Name:	lowest.png
Views:	461
Size:	52.8 KB
ID:	1053418

      2.) Highest volume for ten lines:
      Click image for larger version

Name:	bigger.png
Views:	454
Size:	53.0 KB
ID:	1053419

      Thanks.

      Comment


        #4
        Quikc,

        For the first one that looks correct, except you would want to use "<=" instead of just "<" to compare the two values. If the current price is the lowest low over that 10 bar period it would be equal.

        For the second one if you want to compare the current volume to the max volume over a 10 bar period you will want to be sure to set the "Input series" for the MAX() indicator to Volume.


        Click image for larger version

Name:	2019-04-04_0745.png
Views:	216
Size:	37.9 KB
ID:	1053441
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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