How to properly optimize an strategy? - NinjaTrader Programming | futures io social day trading
futures io futures trading


How to properly optimize an strategy?
Updated: Views / Replies:1,590 / 3
Created: by pakricard Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How to properly optimize an strategy?

  #1 (permalink)
Elite Member
Indonesia
 
Futures Experience: Beginner
Platform: NT
Favorite Futures: FDAX
 
Posts: 29 since Jan 2011
Thanks: 13 given, 17 received

How to properly optimize an strategy?

How to optimize/ backtest properly?

I know it's a tricky and grey area, but I would like to share how do I optimize an strategy, and also would like to know how do you optimize/ backtest yours.

I think we must look for a GOOD combinationm of parameters, but NOt the best, as it will be obviously curve fitted.
Parameters should be stable over diferent epriods of time (on backtesting side) and should give similar results on sim / forward testing.

Also I think the GOOD strategy should have:
- Good profits
- Good win/loss ratio
- Few number of trades

Ninja Trader allows to optimize of ONE of these oncepts but not a combination of them, so i wrote a pice of code (attached) combining the 3 concepts, to be copied into your bin/custom/Type folder of NT.

1) Run optimization
2) Results exported to Excel ans get the top X (usually 1.000) and I get the average parameters.
3) Run the stratgey with those parameters in ANTHER set of data (diferent dates, to confirm it's stable)
4) Go to step 1) until I'm happy with the results.

Well, how do you optimize your strategies? From the zillions of parameters' combinations, which one do you choose?

To moderators: I could not find any similar thread, so I started a new one. If there's already one, please move this one there ;-)

Attached Files
Register to download File Type: cs MaxSB.cs (1.3 KB, 15 views)
Reply With Quote
The following user says Thank You to pakricard for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Near the BEuTiFULL Horse Shoe
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: MBTrading Dukascopy ZenFire
Favorite Futures: $EURUSD when it is trending
 
Trader.Jon's Avatar
 
Posts: 500 since Jul 2009
Thanks: 401 given, 176 received



pakricard View Post
How to optimize/ backtest properly?

To moderators: I could not find any similar thread, so I started a new one. If there's already one, please move this one there ;-)

Perhaps similar enough?
https://futures.io/ninjatrader-programming/4979-system-optimization-fitness-functions.html

Pakicard,

Have a look at what was attached to the other thread and comment further. I am sure it will be appreciated.

TJ

Writing to you from the wonderful province of Ontario, Canada. Home to the world's biggest natural negative ion generator, the Niagara Falls, and to those that dare to know how to go over it in a barrel. SALUTE!
Reply With Quote
 
  #4 (permalink)
Elite Member
Indonesia
 
Futures Experience: Beginner
Platform: NT
Favorite Futures: FDAX
 
Posts: 29 since Jan 2011
Thanks: 13 given, 17 received

Thanks TJ. I'll post there.

Moderators, please delete this thread.

Reply With Quote

Reply



futures io > > > > > How to properly optimize an strategy?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set my chart properly for the RUSSELL (TF) trendisyourfriend Emini Index Futures Trading 13 July 9th, 2017 07:36 PM
How to Optimize a discretionary system AresBowman NinjaTrader 4 August 26th, 2011 06:14 AM
Anyone know of a slope-colored EMA that repaints properly? Surly NinjaTrader 5 June 23rd, 2011 02:03 PM
How can I get this counter to work properly - TD Sequential kaywai NinjaTrader Programming 56 December 8th, 2010 03:53 PM
How to set renko chart properly in NT7 roadshow NinjaTrader 1 August 31st, 2010 07:26 AM


All times are GMT -4. The time now is 05:25 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-18 in 0.08 seconds with 20 queries on phoenix via your IP 23.22.136.56