Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Super Trend For Ninja Trader Needed

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

    Include TSSupertrend INDICATOR in the SupeTrendTrail STRATEGY

    Hi,

    Does anybody know how to include the TSSupertrend Indicator within the SupertrendTrail Strategy?

    I haven't been successful in my efforts. I would like to try the updated indicator instead of, or alternatively with the original Supertrend Indicator the strategy program was designed with.

    Thanks.

    rperez

    Comment


      Attached is the latest version 2.3

      -Fixed bug with VWMA;
      -Added sound alerts.
      Attached Files

      Comment


        When I tried to import I got an error message "Errors---Unable to compile"

        Comment


          Does TSSuptrend repaint?

          I notice that Supertrend uses ATR as part of the system. Does Supertrend repaint signals? In other words does it change previously issued signals?

          Comment


            Great job Roonius!!!
            I was able to import and do some test . It works great

            Comment


              Originally posted by ninjablanks View Post
              I notice that Supertrend uses ATR as part of the system. Does Supertrend repaint signals? In other words does it change previously issued signals?
              No, it does not

              Comment


                Roonius - can we see the ATR value and MA crossover in the chart?

                Comment


                  Calling TSSupertrend from a strategy program

                  Roonius,

                  How may I call the TSSupertrend from a strategy program, and what parameters must be passed?

                  Thanks,

                  rperez

                  Comment


                    Originally posted by Elliott Wave View Post
                    I added a fourth algorithm:

                    - 'Fixed Percent' based on Sylvain Vervoort's 'Using Initial Stop Methods' May 2009 S&C article.

                    I also added additional moving average types:

                    -T3, ADVMA, ZeroLagEMA, ZeroLagTEMA, EhlersFilter and JurikJMA (you need the Jurik indicators for it to work).

                    I also changed the plot style from Hash back to a line like every previous incarnation ( I found the hash hard to read).

                    Hi Elliot any idea how i can convert this code to ELD file for tradestation strategy ? thanks

                    Comment


                      I can't get this to work. I'm using the parameters I see on the plot when I run the indicator:

                      TSSuperTrend(14,HMA,2.618,14,ATR).Trend[0];

                      Get multiple invalid arguments errors.

                      Comment


                        Please type in 'TSSuperTrend' and then followed by the open brace '(' to see what overload Intellisense would offer you -

                        BertrandNinjaTrader Customer Service

                        Comment


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

                          Comment


                            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
                            BertrandNinjaTrader Customer Service

                            Comment


                              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?

                              Comment


                                Please provide the exact error so other users of this indicator may be able to help you understand why you are receiving it.
                                Josh P.NinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by mgco4you, Today, 09:46 PM
                                1 response
                                2 views
                                0 likes
                                Last Post NinjaTrader_Manfred  
                                Started by wzgy0920, Today, 09:53 PM
                                0 responses
                                3 views
                                0 likes
                                Last Post wzgy0920  
                                Started by Rapine Heihei, Today, 08:19 PM
                                1 response
                                8 views
                                0 likes
                                Last Post NinjaTrader_Manfred  
                                Started by Rapine Heihei, Today, 08:25 PM
                                0 responses
                                6 views
                                0 likes
                                Last Post Rapine Heihei  
                                Started by f.saeidi, Today, 08:01 PM
                                1 response
                                9 views
                                0 likes
                                Last Post NinjaTrader_Manfred  
                                Working...
                                X