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
                168 responses
                2,262 views
                0 likes
                Last Post sidlercom80  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                10 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by WeyldFalcon, 12-10-2020, 06:48 PM
                14 responses
                1,429 views
                0 likes
                Last Post Handclap0241  
                Started by DJ888, 04-16-2024, 06:09 PM
                2 responses
                9 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                41 views
                0 likes
                Last Post jeronymite  
                Working...
                X