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

tried to change in Buysell volume Indicator

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

    tried to change in Buysell volume Indicator

    hello guys ,
    I wanted to show buy and sell volume in the different panel so I copied the code and made another indicator and was plotting only buy volume

    [[[[ AddPlot(new Stroke(Brushes.DarkCyan, 2), PlotStyle.Bar, NinjaTrader.Custom.Resource.BuySellVolumeBuys); ]]]]

    using this function given in main indicator nd deleted that addplot which was plotting sell volume but it did comply without error but it wasn't plotting anything in the chart.
    Last edited by svadukia; 09-24-2017, 01:43 AM. Reason: Need to add help because I want help, added wrong title

    #2
    Hello svadukia,

    Thank you for your note.

    Are you seeing any errors on the log tab?

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      No there was no error in Log tab sir.

      Comment


        #4
        Hello svadukia,

        Please upload a copy so I may take a look,

        To export a NinjaScript from NinjaTrader 8 do the following:
        From the Control Center window select Tools -> Export -> NinjaScript...
        Click Add>Select the indicator>OK>Export.
        Then attach that file you saved; under My Docs>NT8>Bin>Custom>Select the downloaded .zip file.

        I look forward to receiving the file.
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          here it is the file....I commented out one Add plot to plot only one add plot....right now this indicator is not showing in Indicator list too....
          Attached Files

          Comment


            #6
            Hello svadukia,

            You have exported the file as a compiled assembly, please make sure to uncheck that box when exporting otherwise I'm unable to evaluate your code.

            I look forward to your reply.
            Attached Files
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              here it is as u told me
              Attached Files

              Comment


                #8
                Hello svadukia,

                When I import the script and apply it to a chart I see an error in the log tab.

                The issue is you commented out the second plot but still set the plot on line 95,
                Code:
                	Sells[0] = sells;
                I'm going to provide some information on debugging so going forward these are things you can check on your end, as debugging scripts is out of the scope of our support desk.

                I’ve provided a link to a youtube video which covers an example of using prints to understand behavior:
                Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...


                I’ve provided a link covering debugging which you may find helpful.
                Debugging: http://ninjatrader.com/support/forum...ead.php?t=3418

                Please let us know if you need further assistance.
                Alan P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by RubenCazorla, Today, 09:07 AM
                2 responses
                11 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by i019945nj, 12-14-2023, 06:41 AM
                7 responses
                81 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by timmbbo, 07-05-2023, 10:21 PM
                4 responses
                158 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by tkaboris, Today, 08:01 AM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by Lumbeezl, 01-11-2022, 06:50 PM
                31 responses
                819 views
                1 like
                Last Post NinjaTrader_Adrian  
                Working...
                X