NexusFi: Find Your Edge


Home Menu

 





how long to forward test to know Drawdown and avg monthly PnL


Discussion in Psychology and Money Management

Updated
    1. trending_up 1,188 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

how long to forward test to know Drawdown and avg monthly PnL

  #1 (permalink)
 emini_Holy_Grail 
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

I didnt know about my strategy until I "forward tested" for 9 months, and it was very tedious
of course (after lots of backtesting), so I knew which months it was bad and gave me a drawdown on 4 months out of 9months and avg monthly of ES was quite low, like $724/month with drawdown was $2577

not sure if someone else can do in 3months, how can you catch best and worst months for "your method"

how long do you forward test to know Drawdown and avg monthly PnL

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
  #3 (permalink)
 PeakGrowth 
Sydney, Australia
 
Experience: Intermediate
Platform: Sierra Chart, IRESS
Broker: IB, IQFeed
Trading: ES, SPI, ASX stocks, options
Posts: 399 since Jun 2015
Thanks Given: 169
Thanks Received: 465


I built a lot of automated systems in the past and I looked at system testing differently. You are placing everything in to a "monthly silo" when in fact, the market does not care when the start or the end of the month is.

Markets are usually in 1 of 3 phases, uptrend, downtrend or ranging. Since most algos are built to take advantage of only trends or ranges, your back test should run through all 3 of those scenarios then determine its performance in the three market states and whether your system can survive an unfavourable market condition.

Your forward test therefore, is no different. The forward test needs to survive all 3 scenarios. Depending on the time frame you're testing on, it could be 3 months or 3 years.

If you curve fit your system to work great across all 3 types of markets without isolating and testing each market condition, it will fail because your curve fit will make it perform poorly during unfavourable conditions and mediocre during conditions which are favourable to your algo (trend or range). A good system should perform strongly for its intended market condition and not at all during unfavourable conditions (in which case you switch it off, or use a different strategy).

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 emini_Holy_Grail 
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


PeakGrowth View Post
I built a lot of automated systems in the past and I looked at system testing differently. You are placing everything in to a "monthly silo" when in fact, the market does not care when the start or the end of the month is.

Markets are usually in 1 of 3 phases, uptrend, downtrend or ranging. Since most algos are built to take advantage of only trends or ranges, your back test should run through all 3 of those scenarios then determine its performance in the three market states and whether your system can survive an unfavourable market condition.

Your forward test therefore, is no different. The forward test needs to survive all 3 scenarios. Depending on the time frame you're testing on, it could be 3 months or 3 years.

If you curve fit your system to work great across all 3 types of markets without isolating and testing each market condition, it will fail because your curve fit will make it perform poorly during unfavourable conditions and mediocre during conditions which are favourable to your algo (trend or range). A good system should perform strongly for its intended market condition and not at all during unfavourable conditions (in which case you switch it off, or use a different strategy).

very good feedback
yes, my system based on Dynamic SR, ATR beside stops/targets, time to enter/exit does go thru all 3 modes uptrend, downtrend or ranging, but it works better for uptrend, downtrend and I have a 2nd system that works better for ranging.
I have done for 3 years to learn and 9months forward test so far and proved the same

But i dont know much about curve fit. does it mean, it is fooling me in backtest by adjusting parameters ?

I just 3 parameters
ATR (variable), Target (fixed), stop(fixed)
so my only parameter that's optimized is ATR, beside Chart's data series. 15/30/60min charts
i thought i kept it simple.

so Do you think would you curve fit bet ATR and 15/30/60min charts to fool me in backtest

Started this thread Reply With Quote
  #5 (permalink)
 emini_Holy_Grail 
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


PeakGrowth View Post
I built a lot of automated systems in the past and I looked at system testing differently. You are placing everything in to a "monthly silo" when in fact, the market does not care when the start or the end of the month is.

Markets are usually in 1 of 3 phases, uptrend, downtrend or ranging. Since most algos are built to take advantage of only trends or ranges, your back test should run through all 3 of those scenarios then determine its performance in the three market states and whether your system can survive an unfavourable market condition.

Your forward test therefore, is no different. The forward test needs to survive all 3 scenarios. Depending on the time frame you're testing on, it could be 3 months or 3 years.

If you curve fit your system to work great across all 3 types of markets without isolating and testing each market condition, it will fail because your curve fit will make it perform poorly during unfavourable conditions and mediocre during conditions which are favourable to your algo (trend or range). A good system should perform strongly for its intended market condition and not at all during unfavourable conditions (in which case you switch it off, or use a different strategy).

1 another thing to backtest stocks, the last 6 years market has been BULLISH, it is some times pain to check in BEARISH, so I pick up some months that are BEARISH in every year

futures swing both way a lot even in one BULLISH market, so testing Futures is quite diff from stocks (there are 1000s and many dont even care of market direction)

Started this thread Reply With Quote
  #6 (permalink)
 PeakGrowth 
Sydney, Australia
 
Experience: Intermediate
Platform: Sierra Chart, IRESS
Broker: IB, IQFeed
Trading: ES, SPI, ASX stocks, options
Posts: 399 since Jun 2015
Thanks Given: 169
Thanks Received: 465

Have a google on curve fitting, it's when you change parameters and re-run a backtest to make the performance come out better than before. The purpose of back testing is not to fine tune your algo so that it eeks out an extra 1% per year (that would be curve fitting), it's to ensure that you do have an edge and you don't blow up.

In terms of changing your ATR, stops and targets, I suggest you have a look at a thread here on futures.io (formerly BMT) (can't remember where it is, but try search for it) where a few of the fellas here tested whether money management gave you an edge (it didn't). It didn't matter what your R:R was, the drop in win rate will just balance out so you end up with no edge in the end. There really isn't a point in optimising the relation between target and stop, just make sure its wide enough to stay out of the noise and that the target isn't unreasonable (i.e. expecting ES to move 40 points a day). The edge has to come from your entry or exit logic, so optimising ATR, stop and target is not going to help.

In terms of ATR, I have found in the past ATR is good in theory, but I prefer to just use a fixed target/stop (are you using an ATR mutliple for target and stops? Not sure if that's what you mean by dynamic). The problem is that markets transition from high vol to low vol and back to high, a lot of the times you get caught with stops and targets that are too tight when it transitions to high, and too loose when it transitions to low. When you use something like a 14 day ATR, the transition can be a bit too slow and catch you out quite a lot.

I did a lot of testing with single stock algos, the problem with applying an algo to stocks is that stocks behave in all sorts of ways. You have dividend payers which tend to range, you have growing companies which trends, you have speculative growth like Healthcare doing R&D that suddenly drop or pop with news, you have companies that can decline slowly instead of quickly. A single algo cannot cater for all of those conditions, so you're better off sticking with Futures.

Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 emini_Holy_Grail 
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


PeakGrowth View Post
Have a google on curve fitting, it's when you change parameters and re-run a backtest to make the performance come out better than before. The purpose of back testing is not to fine tune your algo so that it eeks out an extra 1% per year (that would be curve fitting), it's to ensure that you do have an edge and you don't blow up.

In terms of changing your ATR, stops and targets, I suggest you have a look at a thread here on futures.io (formerly BMT) (can't remember where it is, but try search for it) where a few of the fellas here tested whether money management gave you an edge (it didn't). It didn't matter what your R:R was, the drop in win rate will just balance out so you end up with no edge in the end. There really isn't a point in optimising the relation between target and stop, just make sure its wide enough to stay out of the noise and that the target isn't unreasonable (i.e. expecting ES to move 40 points a day). The edge has to come from your entry or exit logic, so optimising ATR, stop and target is not going to help.

In terms of ATR, I have found in the past ATR is good in theory, but I prefer to just use a fixed target/stop (are you using an ATR mutliple for target and stops? Not sure if that's what you mean by dynamic). The problem is that markets transition from high vol to low vol and back to high, a lot of the times you get caught with stops and targets that are too tight when it transitions to high, and too loose when it transitions to low. When you use something like a 14 day ATR, the transition can be a bit too slow and catch you out quite a lot.

I did a lot of testing with single stock algos, the problem with applying an algo to stocks is that stocks behave in all sorts of ways. You have dividend payers which tend to range, you have growing companies which trends, you have speculative growth like Healthcare doing R&D that suddenly drop or pop with news, you have companies that can decline slowly instead of quickly. A single algo cannot cater for all of those conditions, so you're better off sticking with Futures.

sorry, couldn't get back in time here
no, when I say I am using ATR multiplier, that's parameter in superTrend (that's what I am testing now).
when does the trend change is identified by "ATR multiplier"
Target/stop - fixed numbers and not depend on ATR
and I said dynamic as the indicator is similar to a dynamic S/R (nothing but where the trend changes)

Started this thread Reply With Quote
  #8 (permalink)
 emini_Holy_Grail 
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


PeakGrowth View Post
Have a google on curve fitting, it's when you change parameters and re-run a backtest to make the performance come out better than before. The purpose of back testing is not to fine tune your algo so that it eeks out an extra 1% per year (that would be curve fitting), it's to ensure that you do have an edge and you don't blow up.
.

ok, I read that and I just have 1 parameter called ATR multiplier that decides when trend changes, so I hope thats very less curve fitting. beside that i do optimise on diff charts, like
15min, 30min, 60min
and target/stop are fixed numbers

Started this thread Reply With Quote
  #9 (permalink)
 emini_Holy_Grail 
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


PeakGrowth View Post
Have a google on curve fitting, it's when you change parameters and re-run a backtest to make the performance come out better than before. The purpose of back testing is not to fine tune your algo so that it eeks out an extra 1% per year (that would be curve fitting), it's to ensure that you do have an edge and you don't blow up.

ok, couldnt complete in previous posts.

you say purpose of backtest "it's to ensure that you do have an edge and you don't blow up"
how would you do without changing few parameters atleast

Started this thread Reply With Quote
  #10 (permalink)
 PeakGrowth 
Sydney, Australia
 
Experience: Intermediate
Platform: Sierra Chart, IRESS
Broker: IB, IQFeed
Trading: ES, SPI, ASX stocks, options
Posts: 399 since Jun 2015
Thanks Given: 169
Thanks Received: 465


You can definitely change parameters to make it work, but don't tweak the lengths and what not just to eek out a few more percentage gains.

i.e. if you are changing your ATR length from 14, 15, 16 and picking 16 because it gives you the best results, it will generally be curve fitting

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on July 19, 2015


© 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