• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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
    http://www.ninjatrader-support2.com/...ad.php?t=11844

    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?
              http://ninjatrader.com/support/forum...ad.php?t=11844

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

              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 bebbus, Today, 04:50 AM
                1 response
                3 views
                0 likes
                Last Post NinjaTrader_JoshG  
                Started by Longhornmark, Today, 06:52 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Jim  
                Started by yeshujbp, Today, 05:33 AM
                1 response
                3 views
                0 likes
                Last Post NinjaTrader_JoshG  
                Started by Udimuz, Today, 06:24 AM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_ChrisL  
                Started by derivtrader, Today, 07:19 AM
                0 responses
                6 views
                0 likes
                Last Post derivtrader  
                Working...
                X