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

Market activity indicator

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

    Market activity indicator

    I am developing a indicator to measure instantenous market activity. To do so, I need to compare tick volume with some historic average for the last X days. Supposing now it is 11:03, I might use the last 20 days average volume for 11:00 to 11:05 , divide it by 300 (the numbers of seconds in 5 minutes) and than compare it with tick volume.
    What is the best way to do it? Can I create one indicator with different time frames? should I create two different indicators: one for tick volume and another for 5 minutes trailing average volume, and combine them on trategy level?

    #2
    Hello,

    Welcome to the forum!

    Yes, you can create a multi-timeframe indicator. An example of a multi-timeframe strategy comes with NinjaTrader by default called "SampleMultiTimeframe". The idea is very similar to doing it in an indicator.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Does NT allow me to get bid ask volume from book? I mean from layer 1 to 10? or I can just get first layer?

      Comment


        #4
        dafonseca,

        You can create your own book :





        If you only need one level of L2 data here you can still use these reference samples and modify them a bit.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          I ve followed your intractions (link) and download the SampleCustonEvents samples. However when importing it to NT the system says SMA must replace existing SMA indicator and when I overwrite it all strategies begin to present problem.
          Is there any new sample to download? I need to build my own book.

          Comment


            #6
            Did you install the dedicated NT7 zip from the links posted?
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kujista, Today, 06:23 AM
            0 responses
            1 view
            0 likes
            Last Post kujista
            by kujista
             
            Started by traderqz, Yesterday, 04:32 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by f.saeidi, Today, 05:56 AM
            1 response
            4 views
            0 likes
            Last Post Jltarrau  
            Started by Jltarrau, Today, 05:57 AM
            0 responses
            4 views
            0 likes
            Last Post Jltarrau  
            Started by Stanfillirenfro, Yesterday, 09:19 AM
            7 responses
            53 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X