Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Above average volume

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

    Above average volume

    One of the criteria for my trading is that when I buy a stock it has good volume and I define that as 40% above the 50 day average volume.

    This is easy to do at the end of the day but during the day its much more difficult, and one way I get around this is to break the day into 26 different 15 minute periods. So what I do is take the average volume add 40% to it and divide it by 26. If were running above those average numbers its good to buy.

    How could I go ahead and make this into a strategy? As for an indicator Im not sure how it would apply, its not really graphed or anything.

    The other half of this equation is for the stock to go above my buy price, this I would like to manually input.

    So how can i manually input my buy price on a stock of my choosing and make sure that the volume is 40% above average?

    Thanks
    Randy

    #2
    Randy, what you could for example look into as approximation is adding a daily series (or 1440 min for that matter) into your script and running a 50 day average on the volume figures then to know which thresshold intraday has to be exceeded to fulfill your condition. What would get more complicated and code intensive is formulating for example your custom logic to keep track of it developing intraday. Per default there's unfortunately no method I could point you to here.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AveryFlynn, Today, 04:57 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Max238, Today, 01:28 AM
    4 responses
    37 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by r68cervera, Today, 05:29 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by timko, Today, 06:45 AM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X