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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    66 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    53 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X