- Joined
- 28 December 2013
- Posts
- 6,392
- Reactions
- 24,319
I'm personally either too old or too lazy to implement something similar
Great conversation going on here. I'm sitting on the sidelines taking it all in as I'm still several steps behind you all in experience here.@barney, when we fail to listen, we forgo the right to learn.
Every poster has something to contribute
Barney, I've read most of your posts & at times you tend to sell yourself a bit short.
I'm posting information that worked for me
@ducati916, @peter2, @qldfrog, @Newt, @tech/a, @Warr87, @Joe90, @frugal.rock, @othmana86, @bigdog, @lindsayf, @debtfree, @CNHTractor, @Saqeeb, @martyjames, @Cam019, @rnr, @Rsthree, @MovingAverage @Lone Wolf, & @Beaches all have their own "particular style & trading experience" posting in a manner that they feel will be helpful to others. (sorry if I've missed a contributor to this thread, I've gone from memory)
Sharing is caring
Without realising it, we are all in this game together just playing different positions on the same team. (even if at times it doesn't feel that way)
Skate.
This is a very interesting topic and one that I'm sure has the potential to generate another flurry of posts. "Returns from trading started to become the scorecard". Yes, returns is an important measure, but for me it is a secondary important measure and doesn't top my scorecard measure. For me personally my priority is to chase a nice tight standard deviation in returns. Why, it delivers a better level of predictability and lessens surprises. Yes, a tight standard deviation generally comes at the cost of a higher return, but I also don't like the wild ride that comes with surprises.
@Wilham, I knew I'd miss someone from memory (thank you for your contribution to this thread)Great conversation going on here
This is a good point. And reminds me that some systems traders often develop and trade a single system across many different market conditions--up, down and sideways. Problem is getting a single system to deal efficiently with all those market conditions is a bit of a holy grail. Kind of like a committee setting out to design a race horse, but in the end it finishes up with a camel. Too many compromises and a system that can be somewhat average. For me I've had much greater results trading very different and separate systems for different market conditions.In defence of "system trading"
The "Dump it here" thread is full of practical examples of buying into an uptrend. Trading this way "sometimes it works". In my case, having a 40% strike rate works for me which is enough to make trading a profitable pastime.
If you can, would you mind elaborating on this? My thought is that the common problem of when and for how long is the market going to trend isn't solved by this. I'd be interesting to understand how you turn on and off your systems accordingly? Alternatively are your systems across different universes?This is a good point. And reminds me that some systems traders often develop and trade a single system across many different market conditions--up, down and sideways. Problem is getting a single system to deal efficiently with all those market conditions is a bit of a holy grail. Kind of like a committee setting out to design a race horse, but in the end it finishes up with a camel. Too many compromises and a system that can be somewhat average. For me I've had much greater results trading very different and separate systems for different market conditions.
I use an overarching TSI indicator (Trend SI and not the True SI indicator) to determine the general trend of the market. If you're an AB user you can find the AFL for it in their library. I'm over simplifying things for the sake of keeping it simple, but this indicator serves me well in switching my systems in an out. I "turn on" my breakout system when the TSI indicates a broader upward direction and I "turn on" my swing system when the TSI suggests the market is moving sideways. I don't short so my systems tend to remain inactive when TSI suggests a broader downtrend. I guess there are any number trend strength indicators you could use for the broader market, but I've been using TSI for several years with reasonable results. In relation to your universe question, I should add by break out system trades only XAO with turnover filter applied and my swing system trades all listed equities with turnover filter appliedIf you can, would you mind elaborating on this? My thought is that the common problem of when and for how long is the market going to trend isn't solved by this. I'd be interesting to understand how you turn on and off your systems accordingly? Alternatively are your systems across different universes?
I use an overarching TSI indicator (Trend SI and not the True SI indicator) to determine the general trend of the market.
If you can, would you mind elaborating on this? My thought is that the common problem of when and for how long is the market going to trend isn't solved by this.
Is it actually called the Trend Strength Indicator (TSI)? I've been searching google and the Amibroker library for 45 minutes and can't find it. There's one post on the Amibroker forum, but that's not an oscillator like Skate suggests.I use an overarching TSI indicator (Trend SI and not the True SI indicator) to determine the general trend of the market. If you're an AB user you can find the AFL for it in their library.
Trend. I’ll post up the AB link (think I should be able to do that) a bit later todayIs it actually called the Trend Strength Indicator (TSI)? I've been searching google and the Amibroker library for 45 minutes and can't find it. There's one post on the Amibroker forum, but that's not an oscillator like Skate suggests.
If we can set aside the MC and statistic significance for a moment (if that is possible given the below?) I would really be interested in this groups discussion on how to test a system. The majority of research I've done states you need to optimize with IS data, test it over OOS data then perform WF testing of the entire system (or how I've understood it). When designing a system, if I use a simplified example of BBO I'm playing with at the moment how do you go about this in practice?
Say I have 4 variables I'm trying to optimize:
Var 1: Period of the moving average I use for the index filter
Var 2: BB MA period
Var 3: BB Deviations
Var 4: Trailing stop 20%
Using either the full data set I have for ASX, or going by the 2006-present discussion. I can optimise my variables and test them out of sample without overlapping. Then have a period of WF testing of the full system. The first example I can test my potentially less 'relevant' variables over the more recent data that includes a wide range of market types. The latter example I could use the sample method and have less WF timeframe available, or just paper trade it live.
View attachment 121545
I've been using the top method. My rationale being following a trend should be similar through time in terms of characterists. If I can select robust variables that turned an acceptable CAR/MDD from 1992-2005 and then test this over 2006-2020 with accpetable returns I can be reasonably comfortable that it would continue to work going forward.
Couple questions as I think I've missed some things in my understanding:
1. Without inherently 'fitting' my optimisations, how do I go back and tweak my system or variables in a design, built, test loop? Is it by finding robust variables that are profitable around my 'best' value. e.g. Var 2 of 100 days, where 80-120 all return a CAR/MDD result that is varying levels of favourable?
2. Is the above even a good way to optimize a system, appreciating people have person preferences etc.
3. Can your IS time periods overlap, e.g. 1992-1994, then 1993-1995 and so on..
The point of this isn't which is better, but I haven't seen much discussion here or on the internet on HOW people with successful systems do this.. usually people in my situation who are far from experts. I feel like a primary school student with the professors but I'm hoping some other students are sitting behind me listening in as well.
Here is a link to the original article: https://engineeringreturns.wordpress.com/tsi/Is it actually called the Trend Strength Indicator (TSI)? I've been searching google and the Amibroker library for 45 minutes and can't find it. There's one post on the Amibroker forum, but that's not an oscillator like Skate suggests.
One other point and sorry if this is turning into a class in statistics. But what I like to do is plot the distribution of system's key performance metrics (e.g., CAGR, DD, W/L ratio etc) from the in sample testing from MC. Then I take the same key performance metrics from a single run on the out of sample data and see where they fall within the distributions. If the single run metrics fall with 2SDs of the distributions it gives me a much better level of confidence on the system's performance on future data. If the single run metrics are outside the 2SD my level of confidence in the system's ability to perform as expected on future data is very low and I go back to the drawing boardIf we can set aside the MC and statistic significance for a moment (if that is possible given the below?) I would really be interested in this groups discussion on how to test a system. The majority of research I've done states you need to optimize with IS data, test it over OOS data then perform WF testing of the entire system (or how I've understood it). When designing a system, if I use a simplified example of BBO I'm playing with at the moment how do you go about this in practice?
Say I have 4 variables I'm trying to optimize:
Var 1: Period of the moving average I use for the index filter
Var 2: BB MA period
Var 3: BB Deviations
Var 4: Trailing stop 20%
Using either the full data set I have for ASX, or going by the 2006-present discussion. I can optimise my variables and test them out of sample without overlapping. Then have a period of WF testing of the full system. The first example I can test my potentially less 'relevant' variables over the more recent data that includes a wide range of market types. The latter example I could use the sample method and have less WF timeframe available, or just paper trade it live.
View attachment 121545
I've been using the top method. My rationale being following a trend should be similar through time in terms of characterists. If I can select robust variables that turned an acceptable CAR/MDD from 1992-2005 and then test this over 2006-2020 with accpetable returns I can be reasonably comfortable that it would continue to work going forward.
Couple questions as I think I've missed some things in my understanding:
1. Without inherently 'fitting' my optimisations, how do I go back and tweak my system or variables in a design, built, test loop? Is it by finding robust variables that are profitable around my 'best' value. e.g. Var 2 of 100 days, where 80-120 all return a CAR/MDD result that is varying levels of favourable?
2. Is the above even a good way to optimize a system, appreciating people have person preferences etc.
3. Can your IS time periods overlap, e.g. 1992-1994, then 1993-1995 and so on..
The point of this isn't which is better, but I haven't seen much discussion here or on the internet on HOW people with successful systems do this.. usually people in my situation who are far from experts. I feel like a primary school student with the professors but I'm hoping some other students are sitting behind me listening in as well.
dead link for afl code , but I foundHere is a link to the original article: https://engineeringreturns.wordpress.com/tsi/
I've made a few tweaks to my implementation, but it is fundamentally the same.
That's pretty much it. There are some interesting discussions on another forum about this indicator and a few interesting suggestions for refinement. You can also add a signal line to the TSI (which I use in conjunction with the TSI), which is the main difference between my version and the TSI as originally proposeddead link, but I found
function TSI()
{
Ratio = abs(Close - Ref(Close,-10)) / ATR(10) ;
Result = MA(MA(Ratio,10),100);
return Result;
}
hope it helps
Sorry MA, not sure I understand what you mean about signal line?are you saying a line of code about signal?, a line(threshold)? Sorry for the stupid question :-(That's pretty much it. There are some interesting discussions on another forum about this indicator and a few interesting suggestions for refinement. You can also add a signal line to the TSI (which I use in conjunction with the TSI), which is the main difference between my version and the TSI as originally proposed
Like the MACD indicator in AB...there is the MACD line and there is a Signal line. I have incorporated a Signal line into my TSISorry MA, not sure I understand what you mean about signal line?are you saying a line of code about signal?, a line(threshold)? Sorry for the stupid question :-(
for newbies like me: whar is signal? in MACD case:Like the MACD indicator in AB...there is the MACD line and there is a Signal line. I have incorporated a Signal line into my TSI
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?