NexusFi: Find Your Edge


Home Menu

 





Auto strategy performance - fit enough?


Discussion in Psychology and Money Management

Updated
      Top Posters
    1. looks_one petrmac with 10 posts (1 thanks)
    2. looks_two vvhg with 6 posts (5 thanks)
    3. looks_3 pengi with 2 posts (2 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
      Best Posters
    1. looks_one Loren with 2 thanks per post
    2. looks_two pengi with 1 thanks per post
    3. looks_3 kojava with 1 thanks per post
    4. looks_4 vvhg with 0.8 thanks per post
    1. trending_up 6,874 views
    2. thumb_up 11 thanks given
    3. group 6 followers
    1. forum 20 posts
    2. attach_file 12 attachments




 
Search this Thread

Auto strategy performance - fit enough?

  #1 (permalink)
 
petrmac's Avatar
 petrmac 
Czech Republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: E7, M6E
Posts: 175 since Jun 2011
Thanks Given: 275
Thanks Received: 211

Hello,

I have spent last three weeks developing an auto strategy since I am not fast and decisive enough to trade discretionary these times. NQ is three times faster than it used to be before the holiday...

Anyway, I tried backtesting the strategy on 2 months of historic data and fixed the strategy enough that I arrive at similar results in backtest and replay.

Despite I managed to decrease the drawdown and improved the performance for June, I am still in doubt whether the strategy is fit enough to run be run live. I understand that the strategy needs to be optimized from time to time, but the market was very different in June than in July and I don't know if it is necessary to fit to very different market conditions.

The attached images are the results of the backtest. The numbers are for one contract trading (I don't have account big enough to try to scale yet).

Any thoughts? Would any of you consider this good enough? The expectancy BTW is far better than in my discretionary trading.

Thanks

Petr

Attached Thumbnails
Click image for larger version

Name:	Snímek obrazovky 2011-09-04 v*20.01.29.png
Views:	288
Size:	23.0 KB
ID:	48368   Click image for larger version

Name:	Snímek obrazovky 2011-09-04 v*20.05.16.png
Views:	315
Size:	29.4 KB
ID:	48369  
Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
23 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #3 (permalink)
 
kojava's Avatar
 kojava 
Orlando, FL
 
Experience: Advanced
Platform: NinjaTrader, ToS, Sierra Chart, MCDT
Broker: Interactive Brokers
Trading: ES, NQ, 6E, 6A, TF, CL
Posts: 43 since Jan 2011
Thanks Given: 53
Thanks Received: 29


I would set slippage to 2 and run it on the sim account with live data and see how it performs.

Reply With Quote
Thanked by:
  #4 (permalink)
 
pengi's Avatar
 pengi 
Tokyo, Japan
 
Experience: Intermediate
Platform: NT7
Trading: GC
Posts: 35 since Jan 2011
Thanks Given: 26
Thanks Received: 40

On your chart, the first half of trading is a net loss. Then, suddenly it became hugely profitable in the second half - are you sure this isn't just curve fit to the second half of the trading period? Why not backtest it over a year or 2 years of data?

Reply With Quote
Thanked by:
  #5 (permalink)
 
petrmac's Avatar
 petrmac 
Czech Republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: E7, M6E
Posts: 175 since Jun 2011
Thanks Given: 275
Thanks Received: 211

@pengi, it is probably curve fitted. I run it on the couple of years and the results are not as good. But the thing is that the market conditions have changed quite recently. How to take that into account? I would need to find the similar conditions in the years back...

@kojava, I think that the slippage of two ticks is a bit too harsh. The strategy is able to withstand one tick slippage, but two ticks are killer.

Anyway, I gave it a try live with one contract.
today +$135, yesterday +$120, Friday -$140... everything in total.

not too good.

In the backtest, the strategy has positive expectancy for the whole year of data, but it nets far too little.
I am not able to eliminate the trades in the times the market goes sideways or ranging.

So I could only use it in semi-automatic mode when I could turn it off, if I don't like the conditions.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 
pengi's Avatar
 pengi 
Tokyo, Japan
 
Experience: Intermediate
Platform: NT7
Trading: GC
Posts: 35 since Jan 2011
Thanks Given: 26
Thanks Received: 40


petrmac View Post
But the thing is that the market conditions have changed quite recently. How to take that into account?

In my experience, I've found that my strategy should have a positive expectancy and a net gain every day before ever running the optimizer. If it doesn't, then my entry and exit code probably isn't solid. The optimizer should only tweak your numbers slightly, to avoid curve fitting your strategy (ie. destroying it).

I try to avoid using variables that are directly related to market conditions that change over time. My good strategy should be profitable all year, every month, every week, every day, and every hour. If it isn't, then it's not a good strategy!

Reply With Quote
Thanked by:
  #7 (permalink)
 
petrmac's Avatar
 petrmac 
Czech Republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: E7, M6E
Posts: 175 since Jun 2011
Thanks Given: 275
Thanks Received: 211

I have recently found another strategy that I could automate.

Here are the results on 4 months of data. It performs better than my previous strategies but still not sure, whether it is fit enough.
The drawdown is big and it is certainly not profitable every day. The winners are on average 2x bigger than losers.
Commissions calculated, slippage standard.
I tried to simulate with different starting capital (10k) and the results were similar (25k), but the return was not so big in percentage.
The exits are something I need to work on - I am leaving money on the table, so I need to perhaps implement some better exit strategies.

Is there some way to improve the equity curve other than strategy portfolio diversification?



What do you think?

Thanks

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #8 (permalink)
 
petrmac's Avatar
 petrmac 
Czech Republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: E7, M6E
Posts: 175 since Jun 2011
Thanks Given: 275
Thanks Received: 211

and another mutation of the strategy with a couple of parameters changed and two more months added...

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #9 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824

Although I am not really in the automation corner, I at least have been there ( my quest for the holy grail, but the closest I could find was price action).
So for my taste the drawdowns are very large, run a MC over that data to see what kind of drawdowns you get there.

Also I would suspect due to the shape of the p/l curve that your bot doesn't cope too well with changing market conditions, but that's just a guess.
An other hint toward that would be if the MC wold suggest much smaller drawdowns as the ones observed.


vvhg

Hic Rhodos, hic salta.
Reply With Quote
Thanked by:
  #10 (permalink)
 
petrmac's Avatar
 petrmac 
Czech Republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: E7, M6E
Posts: 175 since Jun 2011
Thanks Given: 275
Thanks Received: 211


thanks for hints. Maybe stupid question, but what the MC acronym stands for?

The second point is very true. NQ has changed a lot (much more volatile) and the bot works better in bigger volatility. I need to decrease the number of trades in worse conditions and also decrease the Profit targets.

I have just tried that and the bot is mostly break-even in such situation.
Once the volatility pops, the fixed ratio kicks in and the curve flies high....

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on January 12, 2012


© 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