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

Comparing multiple volume charts to determine Long or Short

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

    Comparing multiple volume charts to determine Long or Short

    I am trying to create a strategy that focuses on the overall trend based on a 5000 Volume chart. And based on the 5000 volume, the trend would either short or long on a smaller volume chart. How can I compare the trend based on a higher volume bar to a lower volume bar with Strategy Builder?

    #2
    Hello w0lverine,

    In condition builder select Price > Volume on the left. In the center select Greater than. On the right select Price > Volume > set 'Bars ago' to 1.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I think I am understanding the volume logic? I read it as:
      Volume must be greater then 1

      I need something that reads
      Volume per bar is equal to 5000

      Do I need to add the value 5000 into the Multiplier and set it to equals?

      Comment


        #4
        Hello w0lverine,

        This would be to compare the volume of the current bar to the volume of the previous bar.

        To confirm, you are trying to compare a higher volume bar to a lower volume bar is this correct?

        Comparing the volume of the current bar to the volume of 1 bar ago, would let you know if the current bar's volume is greater than the previous bar's volume.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Chelsea,

          Sorry I might be a little confusing on what I am trying to do. I am trying to set conditions based on a 5000 volume bar chart and then based on the conditions of the 5000 volume bar chart the conditions of a 500 volume bar chart must be met to execute a trade.

          So my strategy would for example be like in Strategy Builder:

          Group - 5000 Volume Entry Trigger
          - EMA above VWAP
          - On a 5000 Volume chart
          &
          Group - 500 Volume Entry Trigger
          - EMA crosses above VWAP
          Then
          Execute Trade

          I am just comparing a set of conditions based on one volume frame vs another volume frame.

          Comment


            #6
            Hello w0lverine,

            Thanks for your reply.

            The strategy builder when applied to a chart will adopt the primary series of the chart as the bars to use. If in your case this is a 500 volume bar chart then in the strategy builder you would need to add a series of 5000 volume bars of the same instrument. You would then create your conditions needed and specify the added dataseries where appropriate. Here is a link to a short video on adding a secondary data series to the strategy builder and then creating conditions that use that added data series. https://paul-ninjatrader.tinytake.co...MF8xMTY0NTQyMw
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              That is exactly what I was looking for. Thanks!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by cmtjoancolmenero, Yesterday, 03:58 PM
              2 responses
              19 views
              0 likes
              Last Post cmtjoancolmenero  
              Started by Stanfillirenfro, Today, 07:23 AM
              0 responses
              2 views
              0 likes
              Last Post Stanfillirenfro  
              Started by olisav57, Yesterday, 07:39 PM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by cocoescala, 10-12-2018, 11:02 PM
              7 responses
              942 views
              0 likes
              Last Post Jquiroz1975  
              Started by oviejo, Today, 12:28 AM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Working...
              X