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 cmtjoancolmenero, Yesterday, 03:58 PM
          1 response
          17 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by benmarkal, Yesterday, 12:52 PM
          3 responses
          23 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by helpwanted, Today, 03:06 AM
          1 response
          20 views
          0 likes
          Last Post sarafuenonly123  
          Started by Brevo, Today, 01:45 AM
          0 responses
          11 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          244 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Working...
          X