- Joined
- 27 November 2017
- Posts
- 1,200
- Reactions
- 1,887
@Warr87 that is the point of the exercise mate to determine what is the best strategy for handling such conditions, as I don't have the answers and my trading is short term I should be able to stay in the market at a reduced position size ( or so I would have thought ) as I can get in / out pretty quick as required.are you always in the market? Wouldn't it be easier to protect capital and move to cash during, say, volatile bear market?
The CAM system confirms an uptrend with MACD rising (today's MACD > Ref(MACD, -1)).
For those interested I ran an optimisation on my PositionSize for one for my strategies I am playing with and bellow are the results.
Before Fixed PositionSize is 10k
After is a mixture of 5k to 15k and definitely not what I would have expected
VolatileBear, 15000
QuietBear, 5000
QuietBull, 15000
VolatileBull, 10000
I will check over a few different strategies as I suspect a different style of strategy will produce a different mix of PositionSize
Anyway Optimisation code used
PositionSize = IIf( VolatileBear, Optimize("VolatileBear", 10000, 5000, 15000, 5000), IIf( QuietBear, Optimize("QuietBear", 10000, 5000, 15000, 5000),
IIf( QuietBull, Optimize("QuietBull", 10000, 5000, 15000, 5000), IIf( VolatileBull, Optimize("VolatileBull", 10000, 5000, 15000, 5000), 0))));
Before / After - View attachment 104684
View attachment 104687
Obvious change to profit but some subtle changes overall, which I will need to review.
I am not an expert with all these metrics but tend to be drawn to a couple and even these surprise me (MDD) but will be interested to see how a change in stop parameters impacts this area as well.
Gee the fun never stop, enjoy
Also, very happy to discuss mean reversion strategies with you if your interested. I've dedicated a considerable portion of my research to them, though I'm not rich yet.... Lol
And finally this still leaves a few question for me as the weighting is not what I expected and will test against another style of system today to compare.
Note: I need to be more clevererin looking at backtests and will need to brush up on the CBT to extract better metrics for each regime and what it is doing in the complete system test
@Willzy good idea to strip it apart and see what the main driver and the weakest link.
I am not the best backtester in the world so feel free to correct me if I have this wrong.
From @Willzy suggestion I did 2 types of tests over the previous sample period and stock universe and then recorded each regimes results for the test.
***** Note results are different from the previous as I found that I had the initial equity amount incorrect and allow position size shrinkage ticked for some reason ? but end of the day all results are tested on a equal basis and gives a good indication of what impact the regime filter has.******
1. Incorporated each regime into the buy line and put the PositionSize back to $10k so the playing field was level
PostionScore Weighting - VolatileBear, 0, QuietBear, 1000, QuietBull, 2000 ,VolatileBull, 0
2. Incorporated each regime into the buy line and allowed for PositionSize to be varied
PostionScore Weighting - VolatileBear, 0, QuietBear, 1000, QuietBull, 2000 ,VolatileBull, 0
PositionSize as per combined system test VolatileBear, 15000, QuietBear, 5000, QuietBull, 10000 ,VolatileBull, 20000
Results are in the attached spreadsheet
Summary
- Individually the Volatile Bull Regime is a clear winner on it's own and lends to @Warr87 comment about protecting capital in a bear market.
- But for a complete system with regime filter controlling position size and position score it has the edge.
Note: I need to be more clevererin looking at backtests and will need to brush up on the CBT to extract better metrics for each regime and what it is doing in the complete system test
And finally this still leaves a few question for me as the weighting is not what I expected and will test against another style of system today to compare.
Cheers
Wow what an experience that was.
I Picked another system of the shelf and dusted it of for the purpose of testing Market Regime Filter and I was surprised at the results.
Back test parameters as per before ASX200, 1/1/2018 - 11/6/2020
1. Incorporated each regime into the buy line and put the PositionSize back to $10k so the playing field was level
PostionScore Weighting - VolatileBear, 1000, QuietBear, 1000, QuietBull, 0,VolatileBull, 1000
2. Incorporated each regime into the buy line and allowed for PositionSize to be varied
PostionScore Weighting - VolatileBear, 1000, QuietBear, 1000, QuietBull, 0 ,VolatileBull, 1000
PositionSize as per combined system test VolatileBear, 15000, QuietBear, 5000, QuietBull, 20000 ,VolatileBull, 20000
Column B - Default systems of the shelf (default)
Column D - Optimized with parameters above in 2 (Complete)
Columns F-I - Fixed positions
Columns K-N - Variable as defined by Filter
View attachment 104723
More detailed results in the attached if you are interested, but some intriguing results above and does make you challenge your initial thoughts on were the money will come from.
What I find interesting in both systems tested that the complete system does very well and this will need to be investigated further so onto the next challenge and I will need some help !
we can explore some other information that I uncovered during this process
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?