Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VOL Indicator

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

    VOL Indicator

    Hi,

    I'm looking for a ninjascript i can use in the Market Analyser, which signals an alert if vol bar[0] is twice the size of more than that of bar[1].

    Has anyone developed a indicator/signal for this?
    Would this be easy to implement for a non-programmer?

    Thanks
    Rye

    #2
    Hi ryebank,

    Please take a look at this link - http://www.ninjatrader-support.com/H...Expansion.html

    This could be used in a custom indicator as well.

    To learn how to start developing those, please see this link - http://www.ninjatrader-support.com/H...verview18.html

    If you need custom coding assistance, please contact one of these NinjaScript developers - http://www.ninjatrader.com/webnew/pa...injaScript.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      VOL Indicator

      Hi,

      Thanks for the advise.

      I've now created what i'mlooking for with the strategy analyser (see attachment) i would now like to add this to the market analyser or as an indicator how would i go about doing this. I've tried exporting and importing but there are errors

      Thanks
      Rye
      Attached Files

      Comment


        #4
        Hi ryebank,

        You have a few options here - add a drawing to your strategy condition (under Drawing in the Condition Builder) to highlight your pattern.

        Or you can unlock the code and take the conditions from the condition builder (named condition1 / condition2 ...) to a custom NinjaScript indicator which can then be used in the Market Analyzer columns.

        To get started in custom indicators, please see and review this link - http://www.ninjatrader-support.com/H...verview18.html
        BertrandNinjaTrader Customer Service

        Comment


          #5
          VOL Indicator

          Ok,

          I've added a dot to be displayed and set to plot on chart. Now what

          (Updated file attached)

          Rye
          Attached Files

          Comment


            #6
            Your condition is very limiting. You are requiring the current volume to be exactly the volume of the previous bar * 2. I suggest you switch it to a >= or an >.

            Then all you need to do is just throw the strategy onto a chart.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Also, you are drawing the dot at price 0. You will definitely not see this dot if it is way down at 0. I suggest you draw it somewhere visible. An easy value to draw at could be something like Close[0], the close price of the bar.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                VOL Indicator

                Thanks guys

                I've got my logic right now and the indicators displayed on a chart. I do however have 2 more questions...

                1 - Is it possible to plot the dots on the VOL display beneath the chart. I've tried using to do this but can't seem to find the right combination?

                2 - Is it possible to add this as a column in the Market Analyser?

                Rye

                Comment


                  #9
                  1. You need to unlock the code to do that. In the Initialize() method type out DrawOnPricePanel = false.

                  2. No, you cannot add a strategy to the Market Analyzer.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Cheers thanks for all the help

                    Rye

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by guillembm, Today, 11:25 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post guillembm  
                    Started by Mongo, Today, 11:05 AM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by Tim-c, Today, 10:58 AM
                    1 response
                    2 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by traderqz, Yesterday, 09:06 AM
                    4 responses
                    26 views
                    0 likes
                    Last Post traderqz  
                    Started by traderqz, Today, 12:06 AM
                    4 responses
                    7 views
                    0 likes
                    Last Post traderqz  
                    Working...
                    X