Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Converting Strategy to Indicator

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

    Converting Strategy to Indicator

    you can convert a strategy to an indicator by viewing, then copying the region from variable to properties. By opening an existing indicator, saving it as the new name you wish and then expanding variables and properties region of the indicator. you then delete everything from the top of variables to the bottom of properties. you then past your code from the strategy and compile.

    IMPORTANT: you must save the indicator as a new name PRIOR to making any of these changes.

    #2
    Need to do the Same

    Ninja Support,
    Does trader1512's idea work? No one responded to this post.
    It would certainly make my life easier as I have 5 startegies that only draw objects that I need to convert into indicators.

    Big Mike

    Comment


      #3
      BigMike,

      It won't necessarily work in all cases, but simple cases you may indeed find it to work. Be aware that there are some methods and properties that are for strategies only though. All in all, you can try it and compile, then address any compile errors you come up with.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        strategy to indicator conversion

        i have worked with it on a number of multi level indicators and have had little trouble. i have even imported them into NT 7 and they still operate.

        the key i have found is the naming conventions. you have to make sure you get them changed throughout.

        do as much cleanup as you can before you compile. the debugger in compiler is very difficult once the names have been screwed up.

        if you are attempting to imbed any custom indicators into the new indicator then again you need to make sure of the naming conventions.

        now, if i could only find a moving average that will change colors like doublema does in 6.5 for 7.

        Comment


          #5
          trader1512, for the color change MA you could check into this sample here for NT7 - http://www.ninjatrader-support2.com/...ad.php?t=21225

          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
          344 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
          557 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X