Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperTrend strategy (TSSuperTrend)

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

    SuperTrend strategy (TSSuperTrend)

    Hi all, and thanks for the work on this indicator.
    I'm trying to build a strategy using this indicator, but I have a problem:
    - how can we define the Trend in a strategy ?
    I thought that it was something like:
    ------------------
    TSU=TSSuperTrend(14, TradingStudies.NinjaScript.Utility.MovingAverageTy pe.HMA, 2.618, 14, TradingStudies.NinjaScript.Utility.SuperTrendMode. ATR).UpTrend[0];
    if ((TSU < Close[0]){
    EnterLong(DefaultQuantity, "");
    }

    ------------------
    but it seems this is not...
    Has anyone has a quick example of a strategy based on this indicator, or is able to tell me what is wrong ?

    Thx.



    edit: never mind, found what I was looking for...
    Last edited by sam028; 05-26-2009, 08:45 AM.

    #2
    Originally posted by sam028 View Post
    Hi all, and thanks for the work on this indicator.
    I'm trying to build a strategy using this indicator, but I have a problem:
    - how can we define the Trend in a strategy ?
    I thought that it was something like:
    ------------------
    TSU=TSSuperTrend(14, TradingStudies.NinjaScript.Utility.MovingAverageTy pe.HMA, 2.618, 14, TradingStudies.NinjaScript.Utility.SuperTrendMode. ATR).UpTrend[0];
    if ((TSU < Close[0]){
    EnterLong(DefaultQuantity, "");
    }
    ------------------
    but it seems this is not...
    Has anyone has a quick example of a strategy based on this indicator, or is able to tell me what is wrong ?

    Thx.



    edit: never mind, found what I was looking for...
    You should be looking at the original thread


    There are quite few examples

    Comment


      #3
      I have the same problem.

      Is it possible to have some code where someone uses TSSuperTrend in a strategy ?

      the previus post about strategy was about previus version of SuperTrend where it was used Up end Down as a bool type .

      Comment


        #4
        see thread http://www.ninjatrader-support2.com/...ad.php?t=11844

        Comment


          #5
          Hi Roonius, do you have the super trend indicator for NT8? I`m using it in NT7 and work great! but it dosn`t work at NT8, thanks

          Comment


            #6
            Hi Sam, did you get the strategy using Supertrend Indicator? I `m traying to build a strategy in NT but it doesn`t work, i don`t know where can I find it, thanks!

            Comment


              #7
              Hello pablofk,

              Thank you for your post.

              Are you using the Super Trend from the thread at the following link?


              The SuperTrend by Harry is stated to be released once NinjaTrader 8 has been released as a production version (not in Beta essentially).

              Comment


                #8
                Hi Patrick, no, I`m using this http://ninjatrader.com/support/forum...0&d=1326437137 I think is by Rooni

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by sidlercom80, 10-28-2023, 08:49 AM
                167 responses
                2,260 views
                0 likes
                Last Post jeronymite  
                Started by warreng86, 11-10-2020, 02:04 PM
                7 responses
                1,362 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by Perr0Grande, Today, 08:16 PM
                0 responses
                5 views
                0 likes
                Last Post Perr0Grande  
                Started by elderan, Today, 08:03 PM
                0 responses
                9 views
                0 likes
                Last Post elderan
                by elderan
                 
                Started by algospoke, Today, 06:40 PM
                0 responses
                10 views
                0 likes
                Last Post algospoke  
                Working...
                X