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:	196
Size:	128.0 KB
ID:	1342151 Click image for larger version

Name:	Screenshot 2025-05-03 214033.png
Views:	180
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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          63 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          91 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          48 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          105 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          63 views
          0 likes
          Last Post PaulMohn  
          Working...
          X