Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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);
    BertrandNinjaTrader Customer Service

    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.
          BertrandNinjaTrader Customer Service

          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 Mizzouman1, Today, 07:35 AM
            4 responses
            18 views
            0 likes
            Last Post Mizzouman1  
            Started by philmg, Today, 01:17 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by cre8able, Today, 01:01 PM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by manitshah915, Today, 12:59 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by ursavent, Today, 12:54 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X