NexusFi: Find Your Edge


Home Menu

 





How to Reveal anaSuperTrendU11 Trend Direction?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 12 posts (35 thanks)
    2. looks_two bstzgr with 11 posts (1 thanks)
    3. looks_3 master trader with 2 posts (2 thanks)
    4. looks_4 aventeren with 2 posts (8 thanks)
      Best Posters
    1. looks_one aventeren with 4 thanks per post
    2. looks_two Fat Tails with 2.9 thanks per post
    3. looks_3 master trader with 1 thanks per post
    4. looks_4 WilleeMac with 1 thanks per post
    1. trending_up 17,176 views
    2. thumb_up 48 thanks given
    3. group 17 followers
    1. forum 31 posts
    2. attach_file 3 attachments




 
Search this Thread
  #31 (permalink)
 jeronymite   is a Vendor
 
Posts: 21 since Jul 2013
Thanks Given: 6
Thanks Received: 22

May I add my sincere thanks to @ Fat Tails to those already given by others.

I create an instance of anaSuperTrendU11 in Initialize(). To do that, I supply various parameters to anaSuperTrendU11.

What if I want to change those parameters later to different values? Is it as simple as merely calling the method again with the new parameters to set the Indicator variable to the new anaSuperTrendU11? Or do I need to create individual Indicator instances for each and every variation of the parameters?

Given that I have 28 data series and possibly many variations of parameters, this later approach would tend to negate the usefulness of this very valuable indicator.

Thanks!


Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #32 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114


jeronymite View Post
May I add my sincere thanks to @ Fat Tails to those already given by others.

I create an instance of anaSuperTrendU11 in Initialize(). To do that, I supply various parameters to anaSuperTrendU11.

What if I want to change those parameters later to different values? Is it as simple as merely calling the method again with the new parameters to set the Indicator variable to the new anaSuperTrendU11? Or do I need to create individual Indicator instances for each and every variation of the parameters?

Given that I have 28 data series and possibly many variations of parameters, this later approach would tend to negate the usefulness of this very valuable indicator.

Thanks!


If you have a SuperTrend with permanently changing parameters, then you do not need to create an instance in the Initialize() section.

Creating an instance in the Initialize() section is just meant to simplify and speed up the strategy or indicator that calls the SuperTrend.

In case that your parameters are changing, you can simply call the SuperTrend with all its parameters from within OnBarUpdate().


Reply With Quote




Last Updated on August 26, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts