Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cleaning up Indicator -- Compile error CSO266

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

    Cleaning up Indicator -- Compile error CSO266

    my first attempt to clean-up an indicator (or do any type of programming)

    it would appear im only getting 2 error codes (for now) ... CS0266 & CS1501

    i have search the forums ... and the examples ive come across ... only made matter worse.

    solving these two error code issues may only trigger something else .. but gotta cross this bridge before the next error codes pop up ...

    thanks...

    attached is foto
    Attached Files

    #2
    Hello pfsmedical,
    Thanks for your post.

    What is your ultimate goal with this modification?
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      thanks for the reply ....

      well ... the original indicator has too much "fluff" .. too many parameters ...(17 to be exact)

      ultimately ... im just looking for divergence on the fast stochastics D ... the indicator works pretty well in 7 ... but not so much for me ... in 8 (im unable to get an audio alert) .. so i kinda figured trimming the "fat" ... may have some benefit
      Attached Files

      Comment


        #4
        Well the first thing I see is you are using the built in method Stochastic() which should not be used this way.

        If you simply want to remove the extra strategy parameters to fix some clutter you could add the Browsable attribute above each public property you wanted to remove.
        Code:
        [Browsable(false)]
        Help Guide - BrowsableAttribute
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          thanks for the suggestion .. i was just gonna give this programming a spin around the block .. and see if it was worth me investing several solar days just to clean an indicator ....

          im still profitable using 7 the rest of this year ... and will look again at 8 next year

          thanks...

          Comment

          Latest Posts

          Collapse

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