Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume Alert Indicator

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

    #16
    Originally posted by cachevery View Post
    I don`t know,but it doesn`t open.Anyway,how do i compare the current volume to the volume x bars ago?I can only compare 2-3 bars ago maximum.Why?
    CurrentBar

    http://www.ninjatrader.com/support/f...rrentbar+check

    or BarsRequired

    http://www.ninjatrader.com/support/f...t=barsrequired

    Comment


      #17
      So hwo do i compare vol1 with vol100000000000,can anyone suggest?

      Comment


        #18
        How do i create a filter for this one?

        protected override void OnBarUpdate()
        {
        if (Close[0] > Close[Math.Min(CurrentBar, X)])
        // Do something
        }
        The resolution above substitutes the minimum value between the current bar being processed and the desired number of bars ago value, in this case 1.


        What i mean by ''filter'' is that after the Current bar - [0], is formed i get the next froming bars which meets the criteria.How do i skip the next bar which meets the criteria by implying a filter?

        Comment


          #19
          Thanks sledge your lnks were somewhat helpfull.
          Last edited by NinjaTrader_Brandon; 09-02-2014, 06:22 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by asmmbillah, Today, 12:39 PM
          0 responses
          3 views
          0 likes
          Last Post asmmbillah  
          Started by dtmtradingco, Today, 12:30 PM
          0 responses
          3 views
          0 likes
          Last Post dtmtradingco  
          Started by Franck Z, Today, 09:49 AM
          0 responses
          6 views
          0 likes
          Last Post Franck Z  
          Started by pvtrader, Today, 08:02 AM
          2 responses
          7 views
          0 likes
          Last Post pvtrader  
          Started by Natoc, Today, 03:04 AM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_Jason  
          Working...
          X