Now, I am not familiar with this particular data source, but if it adjusts for splits and dividends, why not use an index based ETF as your benchmark?Data: using yahoo finance. This gives you adjusted OHLC which accounts for all splits and dividends. However, if I use this, it is a little hard to compare to XAO unless I can easily split out the dividend yield.
As of June 30, 2021, that $10,000 in the SPDR® S&P®/ASX 200 Fund (STW) would have turned into $48,789. Meanwhile, the $10,000 in the SPDR® S&P®/ASX 50 Fund (SFY) would be worth $46,230, assuming all distributions from the funds were reinvested.
I'm not sure if you have this sorted or not, but I don't see any further comments on it.Are the amibroker code and comments correct for conditions 1 & 3 ?
cond1=Cross(H,Ref(HHV(H,10),-1)); //todays high crosses last highest high over the last 10 periods
Yes, but the important part here is not just that it is the highest high, but that it crossed the highest high of the last 10 bars.I would say that if todays high crosses the highest high of the last 10 bars, then it must also be the highest high of the last 10 bars.
This isn't true, but the opposite is true (and maybe you just wrote it the wrong way around). The if a bar is the highest in the last 70 then it must also be the highest in the last 10. But a bar can be the highest in the last 10 without being the highest in the last 70. Think of a chart coming out of a downtrend. But again, cond1 is about breaking out of a small pullback, not just being the highest.If it is highest high of the last 10 bars, then it must also be the highest high of the last 70 bars.
When backtesting Techtrader, don't forget that there are two other conditions that are not defined in the code. It's for the trader to apply these two rules by looking at the chart before taking the signal.
- It must be in an obvious uptrend or obviously breaking out of a downtrend.
- It must not be stuck in a trading range.
Without looking through the charts, I'll vote no. Once price has been in a range for 70 bars it shouldn't be hard for price to be above both the 40EMA and the 70 period HHV and still not be in an obvious uptrend.Isn't that covered by "AND above a 40 day EMA so that it’s not just inside a flat accumulation stage."?
OK, i can see if the price jumped say 50% it would quickly get above the 40EMA without being in any real uptrend.Without looking through the charts, I'll vote no. Once price has been in a range for 70 bars it shouldn't be hard for price to be above both the 40EMA and the 70 period HHV and still not be in an obvious uptrend.
This is not based on experience as I've never traded it. I'm just stating the rules as listed in the original Techtrader since people tend to stumble across the code and not realise there were additional rules.
I had a quick look. This is what I was thinking of. Green line is the 40EMA, the right most bar is a valid entry if looking only at the code. There weren't that many in my sample. Most of the time it seems it's actually the volume filter that keeps you out of these. Stocks that go nowhere for long periods of time tend to fail the turnover filter.OK, i can see if the price jumped say 50% it would quickly get above the 40EMA without being in any real uptrend.
When backtesting Techtrader, don't forget that there are two other conditions that are not defined in the code. It's for the trader to apply these two rules by looking at the chart before taking the signal.
- It must be in an obvious uptrend or obviously breaking out of a downtrend.
- It must not be stuck in a trading range.
Yes Amibroker montecarlo - I don't think it is that intuitive. The best info is below but you don't get the actual data points to do a histogram like I prefer (which I think Tradesim does give you as you say)
This means 50% of the time the annual return is less than 5%, 85% of the time the annual return is less than 10%, 25% of the time the return is less than 2.75% or so. I get it, but not my preferred presentation.
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?