Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Super Trend For Ninja Trader Needed

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

  • laparker
    replied
    There is a file - TradingStudies.NinjaScript.Utility.cs that should be in your indicator directory. This sounds like it is missing. It should have been installed when you downloaded the indicator. You might like to try to re-install TSSuperTrend from the web site.

    Leave a comment:


  • dsraider
    replied
    Okay, I'll be honest. No I did not....

    However, now I get: The type or namespace name 'TradingStudies' could not be found (are you missing a using directive or an assembly reference?)

    Maybe the newest version has a different utility name?

    Leave a comment:


  • laparker
    replied
    do you have

    Code:
    using TradingStudies.NinjaScript.Utility;
    included in the Using declarations region at the top of your strategy script?

    Leave a comment:


  • dsraider
    replied
    Hi laparker,

    I truly appreciate the effort but there is something different about TSSuperTrend than other indicators and I can't figure out what it is. Your suggestion (and the other combos I've tried) results in the following error message:

    'NinjaTrader.Strategy.Strategy.TSSuperTrend(int, TSSuperTrend.Utility.MovingAverageType, double, int, TSSuperTrend.Utility.SuperTrendMode)' is a method, which is not valid in the given context.

    Unfortunately, I don't really know what that means or how to fix it.

    Any ideas?

    Leave a comment:


  • laparker
    replied
    I think if you use:

    Code:
    if (TSSuperTrend(params).Trend[0]   
        && !TSSuperTrend(params).Trend[1])
    this will catch the breakout to the upside for a long and vice-versa for short.

    Leave a comment:


  • dsraider
    replied
    Hi All,

    I am in the process of writing a strategy that trades when DoubleMA and TSSuperTrend agree. I was able to successfully compile and test the DoubleMA part alone but cannot, for the life of me, figure out the TSSuperTrend part. I've read through every post of this thread (twice) and none of the suggestions I've tried have worked. I am attaching a zip file of what I have so far. If anyone can post (or edit my current strategy and turn it around to me) I would be forever grateful. In fact, at this point, I'm ready to name my first born child after the successful coder. I am using the latest version if TSSuperTrend (2.3) with the following parameters: 14, HMA, 1.5, 14, ATR. If possible, please write it in such a way that it only trades upon an initial crossover, i.e.: if TSSuperTrend(parameters).UpTrend[0] && !TSSuperTrend(parameters).UpTrend[1] so that I only get one entry per trend crossover.

    Thank you,
    Dave
    Attached Files

    Leave a comment:


  • jcook
    replied
    Strategy with the latest version?

    Is there a simple buy, sell strategy written for the latest version?.

    Leave a comment:


  • jcook
    replied
    Originally posted by roonius View Post
    Here is an improved and modified version of SuperTrend.

    ...
    Price is selectable now (Close, high, median... etc.)

    ...
    roonius
    Aparently this feature dissappeared on the latest versions of the code.

    Leave a comment:


  • trader8989
    replied
    Hello
    i am new to supertrend..can someone explain how does one use it..what does one use to exit /profit targets??Also how do i get my hands on the dynamic s/r indicator?

    Leave a comment:


  • ninja99
    replied
    Hi

    I am new to supertrend indicator.
    If one is day trading with 3min or 5min time frame on ES or TF what is the appropriate parameter to use on TS supertrend. I tried changing the period and smoothing MA from default but could not see the different.
    Also is there any accompanying indicators for use with it?

    Leave a comment:


  • jerryvellutini
    replied
    Using wizard generated:
    TSSuperTrend(14, TSSuperTrend.Utility.MovingAverageType.SMA, 2.618, 14, TSSuperTrend.Utility.SuperTrendMode.ATR).Trend[0]
    Get Error:
    'NinjaTrader.Strategy.Strategy.TSSuperTrend(int TSSuperTrend.Utility.MovingAverageType double int TSSuperTrend.Utility.SuperTrendMode)' is a 'method' which is not valid in the given context

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    Please provide the exact error so other users of this indicator may be able to help you understand why you are receiving it.

    Leave a comment:


  • jerryvellutini
    replied
    I think everything is in order. I tried developing this from the builder and got:

    TSSuperTrend(14, TSSuperTrend.Utility.MovingAverageType.SMA, 2.618, 14, TSSuperTrend.Utility.SuperTrendMode.ATR).UpTrend[0]

    get errors about TSTrendUtility

    am I supposed to do something else?

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    They might be listed in a different order, so please work what Intellisense shows you as you create the code, also pay attention to correct variable types being used - http://www.ninjatrader-support.com/H...sicSyntax.html

    Leave a comment:


  • jerryvellutini
    replied
    I did that and don't see my issue. Shouldn't the arguments I see in the Indicator plot work?

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
0 responses
662 views
0 likes
Last Post Geovanny Suaza  
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
0 responses
376 views
1 like
Last Post Geovanny Suaza  
Started by Mindset, 02-09-2026, 11:44 AM
0 responses
110 views
0 likes
Last Post Mindset
by Mindset
 
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
0 responses
574 views
1 like
Last Post Geovanny Suaza  
Started by RFrosty, 01-28-2026, 06:49 PM
0 responses
580 views
1 like
Last Post RFrosty
by RFrosty
 
Working...
X