Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automatic Trend Line Detection Indicator by NT Ray

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

    Automatic Trend Line Detection Indicator by NT Ray

    Hi Ray,

    I have question regarding this indicator you wrote sometime ago and is posted in the indicators section.

    There is a "signal" function in there, 0 for none, 1 for buy and 2 for sell. How do I access this signal? I tried using it in the Strategy wizard, but the "signal" column is not displayed.

    Is there a call to it say maybe..

    mysignal = AutoTrendLine.Signal[0];

    Thanks

    #2
    SuperDriveGuy, you would need code modifications for this to work in the Strategy Wizard...but for a custom strategy your posted call should do it.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks!!!!

      Comment


        #4
        Automatic Trend Line Detection Indicator by NT Ray

        hello, could you tell me how to access the signal from Autotrendline indicator to use it in a market analyzer.
        What part of code should I add to the script.? I know there is there is the signal 0, 1 and 2 ...but i don't know how to reach it.

        thanks

        Comment


          #5
          Hello PEPBOSCH,

          The AutoTrendLine which I am linking below, does not set any plots that can be read by another script (when using the Strategy Wizard).
          http://ninjatrader.com/support/forum...php?linkid=451

          There is a public int Signal.
          In an unlocked script this would be called with:
          AutoTrendLine(bool alertOnBreak, int lineWidth, int strength).Signal

          For example:
          private int currentSignal;

          currentSignal = AutoTrendLine(true, 1, 5).Signal
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Kaledus, Today, 01:29 PM
          0 responses
          3 views
          0 likes
          Last Post Kaledus
          by Kaledus
           
          Started by PaulMohn, Today, 12:36 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by yertle, Yesterday, 08:38 AM
          8 responses
          36 views
          0 likes
          Last Post ryjoga
          by ryjoga
           
          Started by rdtdale, Today, 01:02 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by alifarahani, Today, 09:40 AM
          3 responses
          18 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X