Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Referencing a large program

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

    Referencing a large program

    Hello

    My current script runs into quite a large number of lines, is there an easy way of getting around my program ie having sections colour coded for easier reference?
    Currently, I'm just marking down line numbers, any tips would be much appreciated!

    #2
    You can try using #region and #endregion like how you see the Properties and Variables sections of your code are done.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks, where is this referenced in the help manual?

      Comment


        #4
        It is generic C# not in the help guide.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          ok thanks, can you explain what /// does?

          or is it /// </summary> ?

          Comment


            #6
            Comments out the section.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              ok thanks for your help

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by SalmaTrader, 07-07-2026, 10:26 PM
              0 responses
              47 views
              0 likes
              Last Post SalmaTrader  
              Started by CarlTrading, 07-05-2026, 01:16 PM
              0 responses
              22 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 06-17-2026, 10:32 AM
              0 responses
              15 views
              0 likes
              Last Post CaptainJack  
              Started by kinfxhk, 06-17-2026, 04:15 AM
              0 responses
              21 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Started by kinfxhk, 06-17-2026, 04:06 AM
              0 responses
              23 views
              0 likes
              Last Post kinfxhk
              by kinfxhk
               
              Working...
              X