Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Highest bar Strategy Builder

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

    Highest bar Strategy Builder

    Hi,

    I am trying to highlight the current bar if it's height is lower than the highest bar within the last 5 bars. I tried using the "highest bar" and "MAX" within the Strategy builder but without success. As always any help is appreciated greatly.
    Attached Files
    Last edited by Trader4857; 04-19-2014, 02:12 PM. Reason: wrong image attached

    #2
    Hello Trader4857,

    Thank you for your post.

    HighestBar() returns the int bar index value. MAX will return the price of the highest high value.

    Try using the High price value for the input series of the MAX.

    Let me know if I can be of further assistance.
    Attached Files
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your help. Now it is making sense...and is working.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      240 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      156 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      165 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      247 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      199 views
      0 likes
      Last Post CarlTrading  
      Working...
      X