Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Syntax assistance

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

    Syntax assistance

    I'm using the latest version of NT and I'm trying to identify the lowest down bar in a group of bars for a strategy. When using the LowestBar command it may identify an up, down or flat bar. Are there any commands which I can use to accomplish this, or could you point me to a code snippet that would handle this?

    Thanks for your time.

    Safetrading

    #2
    Your understanding here is unfortunately correct Safetrading, LowestBar would really only give you the bar with the lowest value seen but it could be closing in either direction. You would need to create custom code here to track what you seek, you could add a qualifier for checking if the bar found is a down bar and if not, just reach further back until you get a hit.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    320 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    203 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    188 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    283 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    237 views
    0 likes
    Last Post CarlTrading  
    Working...
    X