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 geddyisodin, Today, 05:20 AM
              2 responses
              16 views
              0 likes
              Last Post geddyisodin  
              Started by hazylizard, Today, 08:38 AM
              0 responses
              6 views
              0 likes
              Last Post hazylizard  
              Started by Max238, Today, 01:28 AM
              5 responses
              42 views
              0 likes
              Last Post Max238
              by Max238
               
              Started by giulyko00, Yesterday, 12:03 PM
              3 responses
              13 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by habeebft, Today, 07:27 AM
              1 response
              16 views
              0 likes
              Last Post NinjaTrader_ChristopherS  
              Working...
              X