Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to detect Daily Max or Min.

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

    How to detect Daily Max or Min.

    Hello,

    I'm new in developing EA here on Ninjatrader platform. I have seen that we have the Ap Minimum Min() or Max to detect the min of the max of a cetrain number of bar.
    My question is: Is possibile to detect in some way if the current candle is a max or a min of the day.

    My goal is just to detect if, on a 15 min chart, the last candle (so after it closes) is a new max/min of the day (even if the shadow is 1tick above or down the last daily maximum or minimum) and if it has more volume than the previous 15min candle.

    Thanks in advance for the tip

    #2
    Hello briesanji,

    You can use GetDayBar to get a daily bar values. Using that object you could check if the current close is greater or less than the High/Low of that bar.



    Please let me know if I may be of further assistance.

    Comment


      #3
      Thank you very much

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      81 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      150 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      79 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      52 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      59 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X