- Joined
- 28 December 2013
- Posts
- 6,392
- Reactions
- 24,319
We as humans are really good at one thing
"Selecting only the evidence that supports what we want to believe"
Shooting the breeze: The idea is to start a portfolio of large caps. The spec portfolio has done very well but while that was progressing nicely I've missed out on some very good moves in the large cap stocks. Looking at the charts of ANZ (other banks), BHP/RIO and FMG, I see opportunity missed.
Investing rather than trading
@Smurf1976 without even realising has given @bfhoon some really sound investing advice to make a profit over a 3-5 year period, opportunities like these don't come around all that often. @bfhoon has already stated: "Eventually I would really like to have a fair bit of money tied up in the ASX that could potentially earn me at least 50 to 60K after tax via dividend payments at least $800,000 invested for that kind of return" I've recently invested $800k equally in ANZ, BHP, CBA & MQG - @Smurf1976 calls them "beaten up large caps" which is a good analogy. If those 4 positions can reclaim their former glory over the next 2 years with dividends along the way they have the potential to represent a good risk/reward investment that will not only meet @bfhoon's criteria but hopefully exceed it - only time will tell.
Entry: We won't buy when price is going down. We wait for price to go up and close above an entry trigger. The entry trigger is based on a 2 or 3 bar count back level off the higher swing low. This trigger level is similar to a 1.5(2) x ATR(10) increase off the higher swing low. There's a few possibilities here. We could use a 2bar count back line (CBL) on the daily chart (popularised by D Guppy) OR we could use a 123Low setup using the 1hr chart.
Fear & uncertainty at times can lead to poor judgment about timing. There is a suite of strategies that can highlight mispriced positions.
I find ... his shared CV19 views alarming on every level. Actions, views on future and understanding of PAST events.
@kahuna1 got this one right. MFG has significantly underperformed over the past six months.
Something has seriously gone wrong with this fund manager.
Performance is the measure of MFG success, and maybe attracting too much money, and the fees that flow, has trapped them.
The idea is to start a portfolio of large caps. The spec portfolio has done very well but while that was progressing nicely I've missed out on some very good moves in the large cap stocks. Looking a the charts of ANZ (other banks), BHP/RIO and FMG, I see opportunity missed.
The benefits of trading a mechanical system are "consistency of signals"
@Skate, I hope this post fits within the dump it here ethos.
Cheers skate, I'll run some additional testing including your code and try provide a comparison for those interested in future.@Wilham I've made multiple posts on the Bollinger Band Breakout Strategy & recently uploaded some Amibroker code.
The Bollinger Bands theory has merit
(a) The bands track market volatility, prices are relatively high when prices are at the upper band and relatively low when they are at the lower band.
(b) Powerful signals that usually follow Bollinger band squeezes make Bollinger Bands an important tool for all traders
(c) Bollinger Bands indicator has been a technical tool that continues to be of immense value to many traders.
Urban's Daily Bollinger Band Daily Breakout Strategy
When I read comments from Urban Jaekle's book (Trading Systems 2nd Edition) I was doing cartwheels with excitement & couldn't wait to test Urban's Bollinger Bands Strategy using his methodology. Urban's Daily Bollinger Band Breakout Strategy is rather disappointing. It should be noted that the Bollinger band code supplied on his website is basic without being a trading strategy. In my opinion Urban's Daily Bollinger Band Breakout Strategy shouldn't be traded - not even with "counterfeit money"
Bollinger Bands Weekly Breakout Strategy
I'll upload "Skate's version" of Urban's Bollinger Bands Weekly Strategy so you can do a similar backtest. The strategy uploaded is a rough & dirty interpretation of Urban's methodology & not guaranteed to be error-free. (I've commented on the code for readability). The "BBO" code has been extracted from Urban Jaekle's new book that has been disclosed in full on his website.
Uploading & comparing the results
Taking the time to do a backtest & upload the results of "Skate's modified" interpretation of Urban's BBO code & comparing the results should be an interesting exercise for others to view.
Would I trade the uploaded Strategy?
No way !!
All I'm saying
Bollinger Bands is a trading idea & it pays to understand "oils ain't oils"
Skate.
If I mayCheers skate, I'll run some additional testing including your code and try provide a comparison for those interested in future.
Personally I'm not interested in total profit etc. After slippage and mostly taxes it's pretty irrelevant imo.
I'm not too familiar with Monte Carlo in amibroker yet, will do some further reading. Some kind of walk forward testing would be good too, guessing returns/DD will be heavily influenced by year of commencement.
Wilham
Hi Skate, thanks for providing the code. I've done some comparison tests as you can see below. Only change I made to your AFL was to add a "gonetogod" sell exit when delisted as I'm using current and past XAO consistuents.@Wilham I've made multiple posts on the Bollinger Band Breakout Strategy & recently uploaded some Amibroker code.
The Bollinger Bands theory has merit
(a) The bands track market volatility, prices are relatively high when prices are at the upper band and relatively low when they are at the lower band.
(b) Powerful signals that usually follow Bollinger band squeezes make Bollinger Bands an important tool for all traders
(c) Bollinger Bands indicator has been a technical tool that continues to be of immense value to many traders.
Urban's Daily Bollinger Band Daily Breakout Strategy
When I read comments from Urban Jaekle's book (Trading Systems 2nd Edition) I was doing cartwheels with excitement & couldn't wait to test Urban's Bollinger Bands Strategy using his methodology. Urban's Daily Bollinger Band Breakout Strategy is rather disappointing. It should be noted that the Bollinger band code supplied on his website is basic without being a trading strategy. In my opinion Urban's Daily Bollinger Band Breakout Strategy shouldn't be traded - not even with "counterfeit money"
Bollinger Bands Weekly Breakout Strategy
I'll upload "Skate's version" of Urban's Bollinger Bands Weekly Strategy so you can do a similar backtest. The strategy uploaded is a rough & dirty interpretation of Urban's methodology & not guaranteed to be error-free. (I've commented on the code for readability). The "BBO" code has been extracted from Urban Jaekle's new book that has been disclosed in full on his website.
Uploading & comparing the results
Taking the time to do a backtest & upload the results of "Skate's modified" interpretation of Urban's BBO code & comparing the results should be an interesting exercise for others to view.
Would I trade the uploaded Strategy?
No way !!
All I'm saying
Bollinger Bands is a trading idea & it pays to understand "oils ain't oils"
Skate.
Hi qldfrog - thanks for taking the time to reply.If I may
instead of trying a period 1992 to present, work on a recent year;
In 1992, was there many qant around?, fast trading? were Central bank covering your asses?
what I mean is you try to compare the performance of a ferrari in 2020 against the speed of a roman charriot in a mud track in 10BC..
totally irrelevant IMHO;
I would dare saying testing anything before 2006 and expecting a relevance in 2021 is a folly;
Anyway:
then try to run and compare with 2011 as per Monsieur Skate; the 2019 crash?
how does your system behave and handle the crash then the recovery ?
what about the yoyo period we have had since nov 2020 to now basically?
We are REALLY lucky to have many types of markets within the last 2 y..use these to your advantage
PS I noticed you have a 42% exposure during some of the longest bull market in history,
if not during that given period, when would your system get in ? A bad sign IMHO
also: std error: 1986636?????
what does the MC show?
Hey manI'm by no means experienced with MC simulations, I ran 1000 instances using positionscore from Harro26 here.
PS=Optimize("Postion Score",1,1,1000,1);
PositionScore = Random()*PS;
Will add my thoughts later today when I have time.
View attachment 121432
Thanks for the tip, I'll have a look using your version. Yes, I do use a simple position score to preference lower priced stocks (forget who suggested this if I'm honest). I found this had a noticeable but minor effect on car but just removed it for simplicity with the MC Sim.Hey man
Are you using position score as part of your code if you are or planning to then that isn't the best method.
i used a different method which was posted by @LoneWolf which works really well. Have it as part of your buy method. Just be very careful, make sure you take it out of your production code. made the mistake many times and had a few WTF is going on moments.
step = Optimize( "step", 1, 1, 1000, 1 );
Buy = cond1 AND Random() >= 0.20
I found the best way to differentiate between strategies is to plot CAR v MDD as below. CAR is X and MDD is Y. Green strategy 1 blue strategy 2.View attachment 121441
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?