Australian (ASX) Stock Market Forum

Dump it Here

The charts above just show us how good that period coming out of the COVID crash really was for breakout type systems.

I am at the stage now that when I look at back tests that cover the few months commencing February / March 2020, that I look at individual trades, and discount the back test results for the couple of outliers that usually appear.

KH
 
The charts above just show us how good that period coming out of the COVID crash really was for breakout type systems.

I am at the stage now that when I look at back tests that cover the few months commencing February / March 2020, that I look at individual trades, and discount the back test results for the couple of outliers that usually appear.

KH

@KevinBB your backtest logic is sound. I've done something similar but have used a "6 month trading period" to capture the downside & evaluate how it responded in bouncing back over the next 3 months. (1st Feb 2020 to 30th June 2020). For the amount of time spent on this project, the efforts have not borne fruit "yet".

Yikes, a 40% drawdown - where's my spew bucket.

Backtest (1st February 2020 to 30th June 2020)
At this stage of its development, the results are not as expected even though I believe the idea has merit.

Jan to june .png

Skate.
 
Yikes, a 40% drawdown - where's my spew bucket.

Backtest (1st February 2020 to 30th June 2020)
At this stage of its development, the results are not as expected even though I believe the idea has merit.

View attachment 132772

Skate.

I might be misinterpreting your results, but if the above includes trading pullback when your index filer is off (index price is below the MA) I'm not surprised with that drawdown. My experience with pullbacks (which I assume is a reference to a mean reversion style) is that pullbacks are better traded when the market is trending up (your index filter is on). Intuitively when a market is trending down (your filter is off) stock will keep sliding south and less inclined to pullback. My swing system trades pullbacks and I only ever take positions when the index is trending up--it gets smashed when the market is declining. Do you believe there is a link between pullbacks and a declining market?
 
My experience with pullbacks (I assume is a reference to a mean reversion style)

Trading pullbacks
@MovingAverage your interpretation has given me food for thought. Let's not confuse trading "Pullbacks" with trading a "Mean Reversion System". Whether the "Index Filter" is "on or off" makes no difference to me. At times trading pullback can be hamstrung by an "index buy filter" & can lessen its effectiveness. With this strategy, "pullback" signals are "only generated" when the "Index Filter" is "off". I work on the theory that if the CCI is greater than zero with the ADX & MACD both falling & the close is above a nPeriod EMA, I'm good to go.

It's worth repeating
The Core Strategy only "Buy breakouts" when the "Index Filter is ON" & only buy "Pullbacks" when the "Index Filter is OFF" meaning they are never taking signals at the same time.

A picture paints a thousand words
The COVID crash period. The yellow rectangular box is the period the "Pullback Strategy" generated buy signals. The aqua rectangle box is the period that the "Breakout Strategy" generated buy signals. The ribbon at the bottom of the chart indicates when the "Index Filter" was on or off. (red = off, Green = on)

Core XAO.png

Skate.
 
Trading pullbacks
@MovingAverage your interpretation has given me food for thought. Let's not confuse trading "Pullbacks" with trading a "Mean Reversion System". Whether the "Index Filter" is "on or off" makes no difference to me. At times being hamstrung by an index buy filter can less this style of trading effectiveness. With this strategy, "pullback" signals are "only generated" when the "Index Filter" is "off". I work on the theory that if the CCI is greater than zero with the ADX & MACD both falling with the close above a nPeriod EMA, I'm good to go.
Got it.

I should probably add that by "pullback" I assumed the common reference of a retreat in price (pullback) and hoping to profit from the resulting rebound in price (reverting back to the mean). The typical pullback that results in short term profit taking in a strong up trending stock
 
View attachment 132768

I'm just putting it out there
Strategy construction consumes so much of my time it's downright annoying when I hit a stumbling block nearing the final hurdle. Having a break & discussing one of the projects might clear my mind. The project is worth the effort even though I've been working on the idea for quite some time. To explain my current project it necessitates a lengthy post but in all fairness, the post is mainly taken up with backtest reports for those who are interested.

Marrying two ideas
Since COVID my sole focus has been on capital protection. With this in mind, it necessitated a rethink on how to construct & code a trading system that has the ability to capitalise on (a) breakouts (my preferred method of trading) & (b) pullbacks (a trading method @peter2 often posts about) marrying them within the same strategy.

The idea is simple enough
Recent turbulent times have required me to rethink & re-evaluate a new trading methodology. Trading breakouts with an "Index Buy Filter" helps with the downside risk to some extent but at times you can be sitting on the sideline for an extended period. Buying pullbacks, but only when the "Index Filter" is turned off allows me to have the best of both worlds.

Trading rules
1. Buy breakouts when the "Index Filter is on" &
2. Buy Pullbacks when the "Index Filter is off"

Summary
Trading has its compromises & this strategy is no different. The backtest results are within tradable limits for those wishing to have the extra comfort profiting from the markets no matter the prevailing conditions but the metrics indicate I've more work to do.

Backtest
The backtest results are from Norgate Platinum Data with "historical constituents" spanning from 1st July 2015 to now (the year & month I first started trading) & each year after that so a fuller picture of how this strategy would have handled a variety of starting dates.

1st July 2015 to now

View attachment 132761


1st July 2016 to now

View attachment 132762


1st July 2017 to now


View attachment 132763


1st July 2018 to now

View attachment 132764


1st July 2019 to now


View attachment 132765


1st July 2020 to now

View attachment 132766


1st July 2021 to now


View attachment 132767

Just keep in mind that this strategy is a "work in progress"

Skate.
Hey @Skate, can you run a 20 year backtest for me on the historical constituent data and put up all the stats and graphs? If yes, can you also put up all the stats below max DD that have been cut off too. Thanks!
 
Hey @Skate, can you run a 20 year backtest for me on the historical constituent data and put up all the stats and graphs? If yes, can you also put up all the stats below max DD that have been cut off too. Thanks!

@Cam019 thanks for showing interest in one of my ongoing projects being my "Core Logic Strategy". I'm sorry but I won't be posting additional information at this stage as it serves no purpose as the strategy has been systematically designed to take advantage of "changed" trading conditions since COVID hit in early 2020.

Recent turbulent times have required me to rethink & re-evaluate a new trading methodology.

Also, the strategy is a work in progress with untradeable metrics "at this stage". I periodically post trading ideas "not for others to follow" but to stimulate thinking. By doing so explains that there is "more than one way" to skin a cat.

Skate.
 
Hi Skate, not all may be sunshine and roses.

Once bought, there was no guarantee of any updates if errors are found.

After purchase, maybe a year later found issues trading live and the code had been updated without my knowledge. This happened twice with the same code over a few years. If I had said nothing I would not have received the updated code. Having knowledge of Amibroker coding and being able to pick up problems is still something required as far as I'm concerned.

I believe that code (think I paid $660) has been removed.

Okey dokey boys and girls. Thing about the dump it here thread is that it "keeps things real". So I'm keeping it real.

After reading this post I thought why not raise this with Nick. I know the guy that codes Nick's systems and was surprised to read about this as he is very experienced and it didn't sound right. After reading @Skate follow up post to @Sir Burr quoted post I thought "this isn't right". I was talking with Nick today and put this to him...."hey some folks on ASF reckon your WTT code has future leaks". You can imagine his response so I'll spare you the detail, but to cut a long story short here is the truth. The original WTT code was designed and offered for sale prior to Norgate offering their historic constituents. Once this became available the WTT was updated to exploit historical constituents. This was NOT a bug fix but an update to access something not previously available via the old Premium data service.

As for future leaks, here is the detail in short. The WTT code only looks ahead to determine if a stock is being delisted and if so will exit the position at the relevant close price. The way this has been coded is such that it does not in anyway exploit future insight for current benefit. Backtests are not inflated.

So before anyone wants to jump on this as the code being bad perhaps we can have some more detail.
 
Okey dokey boys and girls. Thing about the dump it here thread is that it "keeps things real". So I'm keeping it real. (NO YOU ARE NOT)

Misleading others is not "keeping it real"

I was talking with Nick today and put this to him...."hey some folks on ASF reckon your WTT code has future leaks". (WRONG - NO ONE SAID THIS) You can imagine his response so I'll spare you the detail.

So before anyone wants to jump on this as the code being bad perhaps we can have some more detail. (YOU SUPPLIED THE WRONG INFORMATION)

So I'm keeping it real
@MovingAverage you have misinterpreted & misrepresented the issue @Sir Burr posted about. He had a genuine issue & rightly reported it to Nick & he received an update after complaining that the code had a "future leak", not once but twice. (TWICE)

Let's set the record straight
There has never been any mention that the issue of a ("future leak") related to Nicks's "WTT Strategy". To be fair you should have not jumped to a conclusion without first reading & understanding @Sir Burr issue.

Read here (my bolding)
After purchase, maybe a year later found issues trading live and the code "had been updated without my knowledge". This "happened twice" with the same code over a few years. If I had said nothing "I would not have received the updated code".

Also, read here
I'm trading one of his sold Amibroker systems ("similar to WTT"), tweaked version and is doing OK. A long shot better than his subscription service where I lost money hand over fist not to mention the opportunity cost. Leason learnt to do it yourself. "By the way, as far as Nicks sold Amibroker systems go. I bought the system with a "future leak". I didn't pick up until many months later, maybe a year. He had already fixed it (had a few iterations) but unless you pick up on problems yourself "he does not freely update/send/advise of any corrected code". If I didn't complain about it I would still be using his wrong coding.

I think WTT would be OK but check it well.

Moreover
I'm now wondering if my assumption was correct?
20% Flipper
I remember reading your post at the time "assuming" you had purchased the 20% Flipper. This is a perfect example of "how our minds" make up stories to suit a narrative.

My response to resellers
I hope code sellers are reading this
I very much doubt they are reading this post but their "in-action" is their modus operandi. All I'm saying is "if sellers want to hold credibility" they have a responsibility & ongoing commitment to the purchaser for error & omissions. Updating the strategy with "improvements" is another "kettle of fish" altogether. By keeping in touch with customers it facilitates another revenue stream for them to take advantage of.

Summary
If you read one of my posts, read it slowly, don't fall into the trap of "speed reading" as it doesn't give you time to fully understand it.

Skate.
 
Misleading others is not "keeping it real"



So I'm keeping it real
@MovingAverage you have misinterpreted & misrepresented the issue @Sir Burr posted about. He had a genuine issue & rightly reported it to Nick & he received an update after complaining that the code had a "future leak", not once but twice. (TWICE)

Let's set the record straight
There has never been any mention that the issue of a ("future leak") related to Nicks's "WTT Strategy". To be fair you should have not jumped to a conclusion without first reading & understanding @Sir Burr issue.

Read here (my bolding)


Also, read here


Moreover

I'm now wondering if my assumption was correct?


My response to resellers


Summary



Skate.
The original post that you posted up referred to a bug being a future leak. This is NOT correct! There is no future leak in the code. Call Nick and he will explain it to you.
 
The original post that you posted up referred to a bug being a future leak. (WRONG) This is NOT correct! There is no future leak in the code. (WHAT CODE?) - it can't be Nicks WTT Strategy as there was "never ever" a reference made with Nick's "WTT strategy". I'll say it again the "WTT Strategy" has NEVER BEEN MENTIONED - let alone anyone saying that the "WTT Strategy" had a "future leak"

No, that is not correct, you need to read my posts again "slowly"
Please read my original post where "I was going from memory" - that didn't fail me by the way.

Read this again

Read This

The confusion may be that @Sir Burr posted his comments (NOT ABOUT Nick's "WTT" strategy) but made his comment in the "WTT thread".

Skate.
 
View attachment 132768

I'm just putting it out there
Strategy construction consumes so much of my time it's downright annoying when I hit a stumbling block nearing the final hurdle. Having a break & discussing one of the projects might clear my mind. The project is worth the effort even though I've been working on the idea for quite some time. To explain my current project it necessitates a lengthy post but in all fairness, the post is mainly taken up with backtest reports for those who are interested.

Marrying two ideas
Since COVID my sole focus has been on capital protection. With this in mind, it necessitated a rethink on how to construct & code a trading system that has the ability to capitalise on (a) breakouts (my preferred method of trading) & (b) pullbacks (a trading method @peter2 often posts about) marrying them within the same strategy.

The idea is simple enough
Recent turbulent times have required me to rethink & re-evaluate a new trading methodology. Trading breakouts with an "Index Buy Filter" helps with the downside risk to some extent but at times you can be sitting on the sideline for an extended period. Buying pullbacks, but only when the "Index Filter" is turned off allows me to have the best of both worlds.

Trading rules
1. Buy breakouts when the "Index Filter is on" &
2. Buy Pullbacks when the "Index Filter is off"

Summary
Trading has its compromises & this strategy is no different. The backtest results are within tradable limits for those wishing to have the extra comfort profiting from the markets no matter the prevailing conditions but the metrics indicate I've more work to do.

Backtest
The backtest results are from Norgate Platinum Data with "historical constituents" spanning from 1st July 2015 to now (the year & month I first started trading) & each year after that so a fuller picture of how this strategy would have handled a variety of starting dates.

1st July 2015 to now

View attachment 132761


1st July 2016 to now

View attachment 132762


1st July 2017 to now


View attachment 132763


1st July 2018 to now

View attachment 132764


1st July 2019 to now


View attachment 132765


1st July 2020 to now

View attachment 132766


1st July 2021 to now


View attachment 132767

Just keep in mind that this strategy is a "work in progress"

Skate.
Late to the party, but many many thanks for showing such graphical detail in these recent thought-provoking work in progress backtests Skate.
 
thanks for showing such graphical detail in these recent thought-provoking work

I work on the theory that if the CCI is greater than zero with the ADX & MACD both falling & the close is above a nPeriod EMA, I'm good to go.

Trading a pure Pullback Strategy
Trading a "Pullback Strategy" constrained by an "Index Buy Filter" admittedly gives confidence but (IMHO) it's safe to trade a "Pullback Strategy" no matter how the overall market is travelling. Just for the record, whether the Index you are trading is below a "Simple Moving Average" doesn't mean there aren't positions ripping higher after a pullback.

This is important
If the Commodity Channel Index (CCI) is greater than zero & the close is above a nPeriod (EMA) there is momentum in the move. I'm just saying "don't" buy pullbacks until upward momentum is re-established.

A bit of info on the Commodity Channel Index (CCI)
The (CCI) momentum oscillator identifies cyclical trends, that's a given. The issue that most traders have using the CCI momentum oscillator is that they believe it displays "excessive lag" making it an unreliable generator of buy & sell signals. Well, that's true to a certain extent but using another confirming indicator can alleviate false signals to some degree. This is where an (EMA) indicator attached to a buy condition comes in handy. I'm a believer if the "Close" is above a nPeriod (EMA) & the (CCI) is greater than zero, there is nothing stopping me from executing a "pullback trade".

There are three backtests
The backtest period is from 1st January 2020 to EOT Friday

# 1. The "left" backtest is a pure "Pullback Strategy" with no "Index Buy Filter" (meaning it buys at will, Index Filter On & OFF)
# 2. The "middle" backtest is a pure "Pullback Strategy" at the mercy of an "Index Buy Filter" (only buys new positions when the Index Filter is ON)
# 3. The "right" backtest is a "Mean Reversion Daily Strategy" that has no "Index Buy Filter" (meaning it buys at will, Index Filter On & OFF)

Side by side backtest results for easy comparison

PullBack Strategy & MRS Backtest.png


Side by side Equity Curve for comparison

PullBack Strategy & MRS Equity Curve.png


Individual expanded view
"Pullback Strategy" with no "Index Buy Filter" (meaning it buys at will, whether the Index Filter is On & OFF)

PullBack Strategy No Index Buy Filter Backtest.png


Individual expanded view
"Pullback Strategy" with an "Index Buy Filter" (meaning it buys only when the Index Filter On)

PullBack Strategy with an Index Buy Filter Backtest.png


Individual expanded view
As @MovingAverage mentioned a "Mean Reversion Strategy" it was only fitting that I throw up a daily backtest over the same period for comparison. The "Mean Reversion Daily Strategy" trades without an "Index Buy Filter" (meaning it buys daily at will, whether the Index Filter On & OFF)

Mean Reversion Daily Strategy No Index Buy Filter Backtest.png


Skate.
 
It doesn't matter what recipe you use to "cook this goose". Regardless of how we buy, break-outs, pull-backs or reversals, a long only system will always be susceptible to a sharp dip in the general market. The consensus drawdown (DD) in all trend following systems is approx 20%. The GTFO exit will exit around this level also. If we try to reduce the GTFO DD we run the risk of a premature and unnecessary exit when the market dips are only 15-20%.

One way long only system traders attempt to reduce the DD is to have systems running across two time frames eg Monthly/Weekly, Weekly/Daily, Daily/Hourly. The system operating in the shorter timeframe will exit before the longer TF system. The normal 20% DD of the LT system will be only 10% when considered with the total trading capital.
 
Top