NexusFi: Find Your Edge


Home Menu

 





Does Ninjatrader optimization really work?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Adamus with 6 posts (2 thanks)
    2. looks_two elitetradernyc with 6 posts (0 thanks)
    3. looks_3 Big Mike with 5 posts (14 thanks)
    4. looks_4 bob7123 with 3 posts (2 thanks)
      Best Posters
    1. looks_one Big Mike with 2.8 thanks per post
    2. looks_two Jayswiss with 1 thanks per post
    3. looks_3 bob7123 with 0.7 thanks per post
    4. looks_4 Adamus with 0.3 thanks per post
    1. trending_up 11,290 views
    2. thumb_up 20 thanks given
    3. group 7 followers
    1. forum 28 posts
    2. attach_file 0 attachments




 
Search this Thread

Does Ninjatrader optimization really work?

  #1 (permalink)
 elitetradernyc 
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
Posts: 80 since Nov 2012
Thanks Given: 6
Thanks Received: 4

Hey guys, just wondering, what's a good way to make sure that your optimized NT strategy works going forward on a certain set of stocks? I'm curious to know whether an optimized strategy "sticks" to its optimized instruments. Would working on different timeframes be enough to tell?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
11 thanks
HumbleTraders next chapter
11 thanks
  #3 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789


In my experience (and I had to learn this for myself because I wouldn't believe people who told me otherwise) optimization of trading systems rarely works except on a very basic level.

Optimize on half your historical data - taking precautions that you are not curve-fitting (you should know what that is before you start optimizing), and then run the optimized system on the other half of your data. If it is profitable on the unseen data, then it could be profitable in the future.

You have only one chance with any particular set of data. If the optimized system fails to reproduce the expected profits on the blind data, that's it. The system either doesn't work or is not optimizable. You can't go back and choose a different optimization to see whether that works on the blind data.

And after that is done and you created a system which worked on blind historical data, you can put the system into simulated trading for a year to see if it still holds up.

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 elitetradernyc 
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
Posts: 80 since Nov 2012
Thanks Given: 6
Thanks Received: 4

Thanks, how does one know if something is or is not curve-fitting? I am assuming I do have something that works because it works on different years but to varying levels of success.

Started this thread Reply With Quote
  #5 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789

I wouldn't optimize, it's that simple. When you have to choose a value for a parameter in your trading system, choose one that makes sense from your knowledge of the markets you're trading it on. If you really have no idea what would be sensible, then make a graph of the tested values vs the profit that value results in. If the graph is nicely sloping up to a brow and then back down again, it's pretty obvious you have found an optimum value.

If your graph looks like a seismograph read-out from the Fukushima earthquake, then you can't optimise the parameter.

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 elitetradernyc 
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
Posts: 80 since Nov 2012
Thanks Given: 6
Thanks Received: 4

That's sounds like a good thing to try, might take some time though, given that I have a good # of parameters. Of course this means keeping all the other parameters the same right?

Started this thread Reply With Quote
  #7 (permalink)
 
Big Mike's Avatar
 Big Mike 
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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

The honest answer is you've asked a question that takes years to properly understand the answer to.

There are hundreds of posts about this subject on the forum, spread out, maybe even a few good threads that focus on answering it. I know one thread top of my head where it was discussed:



I am sure it is primarily mentioned in other Elite threads where most all the automated discussion takes place.

But long story short, I look for thousands of trades over a multi-year period. I use market orders, and always incorporate 1 tick slippage to make sure I am hitting the offer price as a realistic fill. From there, you need to consider the macro economy during your backtest period --- was it bullish or bearish, etc.

Last, a single strategy is not the holy grail by any stretch of the imagination. The best way to approach it is from a portfolio standpoint, combining multiple uncorrelated markets and strategies into a single portfolio, analyze the total risk and total correlation between trades. Focus should be here. Ernie Chan recently did a good webinar on this subject:

Webinar: [AUTOLINK]Ernest Chan[/AUTOLINK] - Capital Allocation and Risk Management

There are also at least three or four other good webinars on this subject in the webinars section.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

I forgot to mention -- unless you have a solid track record of multi-year profits as a discretionary trader, stop spending time on automation.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


Big Mike View Post
I forgot to mention -- unless you have a solid track record of multi-year profits as a discretionary trader, stop spending time on automation.

Mike

Best advice heard this week. Simple truth is the lump of fat and water between the ears is still 1000X better at feature extraction than any hot silicon. Its not so much about having an edge as edge detection in the first place, minus all the illusions.

Travel Well
Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 
Big Mike's Avatar
 Big Mike 
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,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599



ratfink View Post
Best advice heard this week. Simple truth is the lump of fat and water between the ears is still 1000X better at feature extraction than any hot silicon. Its not so much about having an edge as edge detection in the first place, minus all the illusions.

Too bad no one listens. The OP probably hasn't even come back to this thread after posting. I noticed he hasn't Thanked a single post since he's been on the forum --- not a good sign that he is paying attention

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on July 10, 2016


© 2024 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 - Privacy Policy - Downloads - Top
no new posts