OK folks, here's the crack.
GJ has started a thread designing an automated / mechanical system using technical indicators. Taking an interest in how he gets on, I threw a few ideas into the air to bash around; one of these was "how do you define a trend, and how can you measure it?".
Now, normally I am not one to take on indicators as part of a trade setup, but having recently switched to trading contracts with reliable volume, I have reconsidered this. As it happens, I am interested in Volume @ Price, its distribution, Market Delta, etc.. - none of that is going to be discussed here. However, I found myself asking the question above, and how you might be able to quantify the strength / development of a trend... Of course, not really knowing a whole lot about indicators, I have no idea of there is something that does this already - I think ADX has something to do with the strength of a trend (?), but I thought it a better idea to sit down with a pencil and paper and really think about it myself...
Which brings us on to this thread, the purpose of which is to answer a few questions:
1) How do you define a trend quantitavely?
2) How do you measure a trend quantitavely?
3) How do you turn that into tangible information?
Having thought a bit about it myself, I came up with the general principal of trigonometry and pretty basic physics (cue boo's and hisses), and sort of muddled around until I came up with something that could use as a framework for building a custom indicator. I have chosen to define a trend as the velocity of price over time (i.e. how many points does it move in 24 hours), because it seems the most intuitive measure of a trend that you can reflect in a number (remember, we are talking about quantitave measures, "higher highs and higher lows" isn't going to cut it); furthermore, it is pretty straightforward, and you can even find the "acceleration" with a bit more fun.
So, I have set myself the challenge of finding out how to measure "price velocity" and "price acceleration". As for going about how to actually do it, well I don't know yet. I have played around with some ideas (that didn't work), and also want to leave the page pretty blank to begin with (you'll see why later).
Getting down to it, you can see the attached diagram. The dashed dotted line represents a "smoothing"line, like an MA... I have approximated the change in the "smoothing line" with a right angled triangle, to give me a framework to go and play with the idea - you can see the edge of the triangle along the bottom (where Time will be on regular charts) as "Adj", the rightmost edge (where Price will be) as "Opp", and the edge joining up the two as "Hyp". Additionally, as was my original idea, you can see the angle theta (looks a bit like @) identified as well.
Now, to the crux: I would like to build some indicator that measure the velicoty of price, which in the diagram is approximated by the gradient (slope) of the "hyp" edge, or by the size of the angle @ - basically, how steep is the smoothing line. I present the problem here so that others can take the idea and put their own spin on it, perhaps go away and mess about with some ideas, and post their progress / thoughts / whatever on this thread. If enough people take the idea up and run with it, we might get a good discussion going of the results and their potential, and maybe even a few indicators that are useful.
So that's it - here is an idea I had for defining a trend in numbers, but haven't quite got a working model yet. If anyone has any thoughts or comments, please feel free to post them (this is why I want to leave the page blank) - the more ideas we get, the better we can evauluate what might work and what won't. Of course, there are no right and wrongs, so if you find that a method works for you but someone else disagrees, it just doesn't matter.
Right, going on a bit now, so I will leave you with some thoughts / experiences of my own so far:
# The indicator should be portable, going from stocks to FX, whatever - means relative price changes are important
# Given the above, there should be some inclusion of what constitutes a typical "unit" of price change PER ASSET - i mean, doing Ln returns on an FX chart is going to give you crazy results compared to a stock chart
# Using pixels on the screen to figure it out is just plain amateur
# You might like to calculate i tin many different ways - the gradient of the line, the size of the angle, the area of the triangle - all are representative of the same thing, the size of the "Opp".
# How do you determine what the threshold is for a trending market, instead of a rangebound one?
# can you combine velocity w/ acceleration to give entry signals as well?
Let's see if anyone takes a bite... I will post some more of my ideas later if there is any interest.
NOTE: Let's refer to the indicator as "Moving ratio Gradient" - codename MrG. That way, if it is absolutely f*cking brilliant and will make you stacks money all the time, I get a bit of internet fame too to see GJ's thread, click here
GJ has started a thread designing an automated / mechanical system using technical indicators. Taking an interest in how he gets on, I threw a few ideas into the air to bash around; one of these was "how do you define a trend, and how can you measure it?".
Now, normally I am not one to take on indicators as part of a trade setup, but having recently switched to trading contracts with reliable volume, I have reconsidered this. As it happens, I am interested in Volume @ Price, its distribution, Market Delta, etc.. - none of that is going to be discussed here. However, I found myself asking the question above, and how you might be able to quantify the strength / development of a trend... Of course, not really knowing a whole lot about indicators, I have no idea of there is something that does this already - I think ADX has something to do with the strength of a trend (?), but I thought it a better idea to sit down with a pencil and paper and really think about it myself...
Which brings us on to this thread, the purpose of which is to answer a few questions:
1) How do you define a trend quantitavely?
2) How do you measure a trend quantitavely?
3) How do you turn that into tangible information?
Having thought a bit about it myself, I came up with the general principal of trigonometry and pretty basic physics (cue boo's and hisses), and sort of muddled around until I came up with something that could use as a framework for building a custom indicator. I have chosen to define a trend as the velocity of price over time (i.e. how many points does it move in 24 hours), because it seems the most intuitive measure of a trend that you can reflect in a number (remember, we are talking about quantitave measures, "higher highs and higher lows" isn't going to cut it); furthermore, it is pretty straightforward, and you can even find the "acceleration" with a bit more fun.
So, I have set myself the challenge of finding out how to measure "price velocity" and "price acceleration". As for going about how to actually do it, well I don't know yet. I have played around with some ideas (that didn't work), and also want to leave the page pretty blank to begin with (you'll see why later).
Getting down to it, you can see the attached diagram. The dashed dotted line represents a "smoothing"line, like an MA... I have approximated the change in the "smoothing line" with a right angled triangle, to give me a framework to go and play with the idea - you can see the edge of the triangle along the bottom (where Time will be on regular charts) as "Adj", the rightmost edge (where Price will be) as "Opp", and the edge joining up the two as "Hyp". Additionally, as was my original idea, you can see the angle theta (looks a bit like @) identified as well.
Now, to the crux: I would like to build some indicator that measure the velicoty of price, which in the diagram is approximated by the gradient (slope) of the "hyp" edge, or by the size of the angle @ - basically, how steep is the smoothing line. I present the problem here so that others can take the idea and put their own spin on it, perhaps go away and mess about with some ideas, and post their progress / thoughts / whatever on this thread. If enough people take the idea up and run with it, we might get a good discussion going of the results and their potential, and maybe even a few indicators that are useful.
So that's it - here is an idea I had for defining a trend in numbers, but haven't quite got a working model yet. If anyone has any thoughts or comments, please feel free to post them (this is why I want to leave the page blank) - the more ideas we get, the better we can evauluate what might work and what won't. Of course, there are no right and wrongs, so if you find that a method works for you but someone else disagrees, it just doesn't matter.
Right, going on a bit now, so I will leave you with some thoughts / experiences of my own so far:
# The indicator should be portable, going from stocks to FX, whatever - means relative price changes are important
# Given the above, there should be some inclusion of what constitutes a typical "unit" of price change PER ASSET - i mean, doing Ln returns on an FX chart is going to give you crazy results compared to a stock chart
# Using pixels on the screen to figure it out is just plain amateur
# You might like to calculate i tin many different ways - the gradient of the line, the size of the angle, the area of the triangle - all are representative of the same thing, the size of the "Opp".
# How do you determine what the threshold is for a trending market, instead of a rangebound one?
# can you combine velocity w/ acceleration to give entry signals as well?
Let's see if anyone takes a bite... I will post some more of my ideas later if there is any interest.
NOTE: Let's refer to the indicator as "Moving ratio Gradient" - codename MrG. That way, if it is absolutely f*cking brilliant and will make you stacks money all the time, I get a bit of internet fame too to see GJ's thread, click here
Attachments
Last edited: