Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume Alert

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

    Volume Alert

    Hi,
    what is the best way to display a triangle on the bar if volume is 2X the average volume

    Thanks
    Bill

    #2
    Hello Bill,

    Thank you for your note.
    Code:
    if(Volume[0] >= (SMA(Volume, 12)[0] * 2))
    {
    DrawTriangle("tag", 0, Close[0], 11, Close[11], 5, Close[5], Color.Green);
    }
    The code above checks the current volume (Volume[0]) against the average volume over the last 12 bars.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello Bill,

      Thank you for your note.
      Code:
      if(Volume[0] >= (SMA(Volume, 12)[0] * 2))
      {
      DrawTriangle("tag", 0, Close[0], 11, Close[11], 5, Close[5], Color.Green);
      }
      The code above checks the current volume (Volume[0]) against the average volume over the last 12 bars.
      Thanks Patrick as always . I will try and let you know if need more help on this.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      597 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      556 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      555 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X