Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Converting Indicator to Ninja 7...

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

    Converting Indicator to Ninja 7...

    I have an indicator that works well in Ninja 6.5, but won't compile in Ninja 7. The indicator draws a single horizontal line on the chart....(the line is configurable with regard to color, size, and style).
    The offending line is.....

    DrawHorizontalLine("Current_price",Close[0],LineColor,HorizLineStyle,line_Size);

    I keep getting a "overload" error. Not sure what it is telling me.

    Thanks in advance for any assistance!!

    #2
    You would need to add the autoScale parameter now for NT7 - http://www.ninjatrader.com/support/h...zontalline.htm

    Code:
    DrawHorizontalLine("Current_price", true, Close[0], LineColor, HorizLineStyle, line_Size);

    Comment


      #3
      Thanks!!! I'll try that.

      (is there a place I should check for "conversion guidance" when moving Ninja 6.5 indicators to Ninja 7? )

      Comment


        #4
        .....I answered my own question (RTDM .....Read The Darn Manual). :-)

        Comment


          #5
          Great you found the info you needed, for reference here's a link to our code breaking changes docs -

          Contains critical information including but not limited to migration, installation, connections and changes.

          Comment


            #6
            We've all have fallen victim to it RTDM.

            Last edited by mountainclimber; 05-07-2010, 10:14 AM.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            594 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            343 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
            556 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            554 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X