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