Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OrderFlowCumulativeDelta in Visual Studio

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

    OrderFlowCumulativeDelta in Visual Studio

    Click image for larger version

Name:	Screenshot 2025-05-03 213956.png
Views:	160
Size:	128.0 KB
ID:	1342151 Click image for larger version

Name:	Screenshot 2025-05-03 214033.png
Views:	150
Size:	19.6 KB
ID:	1342152 I'm coding an indicator that uses OrderFlowCumulativeDelta. I followed instrucions in ninjascript documentation and the indicator works. But I can't develop in Visual Studio because I always get the error message "Non-invocable member 'OrderFlowCumulativeDelta ' cannot be used like a method."
    Ninjascript editor compiles without problems. How can I resolve the issue with visual studio? the Screenshots were taken in Visual Studio Version 17.12.4

    #2
    Hello HappyTrader76,

    Thank you for your post.

    Building and compiling NinjaScript from Visual Studio is not supported.
    If you decide to use Visual Studio as an editor for your NinjaScript files - make sure that once you are done editing the file, save the file instead of running or building the solution in Visual Studio.

    Have the NinjaScript editor opened still at the same time, so that changes would be auto compiled by NinjaTrader.

    Please let me know if I may be of any further assistance.

    Comment


      #3
      Also make sure you launch Visual Studio by clicking the icon in the upper toolbar of the Ninjascript editor.

      Comment


        #4
        Thank you Eduardo and MattD88 for your answers. I'll keep that in mind for further development.

        Comment


          #5
          I code in VS all the time. I am no power user or Sr level dev by any means. But it is certainly a viable option. I code in VS and save changes. NT editor picks up the changes and compiles the code.

          Comment

          Latest Posts

          Collapse

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