Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help

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

    Help

    Someone could help on calling the TSSuperTrend on a strategy? I keep encountering error on it something like in the parameter.

    #2
    Can you share the exact line you're trying and the resulting error?
    MatthewNinjaTrader Product Management

    Comment


      #3
      I am trying to access the value of TSsuperTrend like this

      if (TSSuperTrendv2(14, TSSuperTrendv2.Utility.MovingAverageType.SMA, 2.618, 14, TSSuperTrendv2.Utility.SuperTrendMode.ATR).UpTrend[0] > 1)
      {
      Print("Up Trend");
      }

      but I got an errror on it.

      Comment


        #4
        Hello,

        The way you call it is going to depend on the version of the SuperTrend indicator you're using as there are several versions available.

        There is not enough information here to be able to tell you exactly what you need to use. I'd suggest asking for help in the following thread on this indicator:

        MatthewNinjaTrader Product Management

        Comment


          #5
          Okay thanks a lot. I will try to read that thread.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          648 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          573 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          575 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X