Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
TSSuperTrend Optimizer
Updated August 15, 2010
Top Posters
looks_one
dsraider
with 5 posts (1 thanks)
looks_two
Trader.Jon
with 2 posts (0 thanks)
looks_3
baruchs
with 1 posts (0 thanks)
looks_4
spikoloco
with 1 posts (0 thanks)
trending_up
10,694 views
thumb_up
3 thanks given
group
1 followers
forum
11 posts
attach_file
3 attachments
TSSuperTrend Optimizer
February 3rd, 2010, 12:04 PM
New York, NY
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87
Hello Traders,
I was wondering if anyone knew of a way of putting the TSSuperTrend through the optimizer so that it can test all combos of:
1. Period
2. Multiplier
3. MAType
4. Smoothing period
5. SuperTrendMode
for trend changes and run this against different stops and targets.
Thanks,
Dave
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
February 3rd, 2010, 12:21 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,237
Thanks Received: 101,661
Yes there is, use the PH Genetic Optimizer and then optimize the enum's (item 3 and 5). The others there is nothing special.
Mike
February 3rd, 2010, 01:37 PM
Dallas,TX
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126
Mike, what is PH Genetic Optimizer? and where do you get it from
February 3rd, 2010, 01:39 PM
New York, NY
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87
Mike,
You rock! Thanks. Will work on coding my strat to get this thing to recognize all the different parameters.
E-mini:
Dave
February 3rd, 2010, 03:34 PM
New York, NY
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87
Uh-oh. Apparently, I am not as adept at programming as I thought I was. Reading though the thread, unfortunately, didn't help. Anyone have any tips on how to go about doing what I have in the first post? Will be happy to post the end result as I'm sure many people can benefit from this.
March 28th, 2010, 01:45 AM
Queretaro,Qro. Mexico
Experience: Intermediate
Platform: Ninja Trader, Multicharts
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 34 since Nov 2009
Thanks Given: 7
Thanks Received: 3
The genetic optimizer is not working well, any opinions on it?
March 28th, 2010, 05:46 AM
Israel
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
Posts: 323 since Jun 2009
You can optimize Enums in Brute Force optimizer too.
Declare int variable for each Enum and cast it in Initialize.
Baruch
August 14th, 2010, 12:58 AM
Near the BEuTiFULL Horse Shoe
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184
dsraider
Hello Traders,
I was wondering if anyone knew of a way of putting the TSSuperTrend through the optimizer so that it can test all combos of:
1. Period
2. Multiplier
3. MAType
4. Smoothing period
5. SuperTrendMode
for trend changes and run this against different stops and targets.
Thanks,
Dave
Dave,
Just saw this pos&threadt after moving in the same direction in another thread:
I have two strategy with TSST : I cant get the enums to work to get them optimized either ... have you had any success?
I am attaching what I have .. NT7b219 compile .. but the .cs 'with enums' wont compile, but the version up to where I get errors is good
Jon
Attached Files
Elite Membership required to download: MACDCrossOver_w_TSSTenum.cs
Elite Membership required to download: MACDCrossOver_w_TSST.cs
August 14th, 2010, 06:42 AM
New York, NY
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87
Morning Jon,
I was, actually. All you need to do is expose the parameters:
Code
[ Category ( "Parameters" )]
public int Length
{
get { return length ; }
set { length = Math . Max ( 1 , value ); }
}
[ Category ( "Parameters" )]
public MovingAverageType MAType
{
get { return maType ; }
set { maType = value ; }
}
MovingAverageType maType = MovingAverageType . HMA ;
[ Category ( "Parameters" )]
public double Multiplier
{
get { return multiplier ; }
set { multiplier = Math . Max ( 0.0001 , value ); }
}
[ Category ( "Parameters" )]
public int Smooth
{
get { return smooth ; }
set { smooth = Math . Max ( 1 , value ); }
}
[ Category ( "Parameters" )]
public SuperTrendMode TrendMode
{
get { return smode ; }
set { smode = value ; }
}
SuperTrendMode smode = SuperTrendMode . ATR ;
I haven't looked at your cs files yet only because I'm running short on time this morning. If this doesn't work, let me know and I'll take a look at what you have.
Dave
Last Updated on August 15, 2010