Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing file

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

    Testing file

    hello , please , may i have an image of this volume indicator output to chart as i have some error on my NT7 system at present. see attached . Thank you.
    Attached Files

    #2
    Hello Emma1,
    Thanks for your post.

    You could expect to see something similar to the following in your chart when attaching that indicator.

    Click image for larger version

Name:	2018-12-31_1301.png
Views:	124
Size:	21.1 KB
ID:	1044015

    That being said, lets try and figure out what is causing the error in your platform. Please follow the steps below to find out where the error is coming from.
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select ANY indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window, a new section will appear where you can find the error locations.
    • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.
    If you are unsure as to what the error is indicating, please post a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      this shot is Ok as my NT7 ,Thank you
      Last edited by Emma1; 12-31-2018, 02:30 PM.

      Comment


        #4
        Emma1,

        Instead of using ".Set" you would use the assignment operator(=). You can read more about this in the Series<t> section of the help guide.



        For example,

        Code:
        Values[3].Set(Volume[0]);
        would be

        Code:
        Values[3] = Volume[0];
        Please also see the following help guide link to see the rest of the code breaking changes.

        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Hello Josh , i have attempted the code before but had series of errors such as CS1002, CS1525. thank you for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          606 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          353 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          560 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          561 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X