Ok let's take the discussion from where we left it.
We have defined <b>ABS_SPEED as the number of scalps crossed per unit of time</b>. Say that, for instance, SI is crossing averagely 2.5 scalp lines per hour, so its ABS_SPEED is 2.5. [Or we might say 60 scalps per day, if we prefer.] This is immediately understood by a trader, much better than a volatility figure. Also it helps understanding any current danger for potential drawdowns, immediately <b>in terms of actual money</b>.
Now, for risk management, we also need to know if this "absolute speed" is mostly expressing itself SIDEWAYS or DIRECTIONALLY.
So we split the ABS_SPEED in 2 components:
<b>
ABS_SPEED = S * ABS_SPEED + D * ABS_SPEED
</b>
with <b>S + D = 1</b>, being the 2 "coefficients" that express the <b>Sideways (S)</b> and <b>Directional (D)</b> components, respectively. [Clearly, we are talking of realtime measures]
Now we need to define at least D. Then, we can get: S = 1 - D.
What is D ? We want to separate the <b>"directional component"</b> from the total abs speed.
Here is my proposal. (Feel free to correct or make alternative proposals.)
I define the <b>coefficient D</b> as the "normalized number of <b>different</b> scalp lines crossed".
Why ? Imagine the price moving. If the price has a strong directional component, for instance a violent rally up with no retracements, we will have all prices, in the hit scalp lines, different. On the contrary, if the price is directionless, it will keep hitting the same prices.
Therefore, i propose to derive the Directional component, based on the number of different Hits, say <b>d</b>.
To find, D, we need to "normalize" this number d, to <b>have it in the range [0,1]</b>.
So we proceed this way. Assume that the <b>number of Hits</b>, say <b>N</b>, used for speed computation is even. The maximum for D is clearly equal to the number of Hits, as they can actually be occurring at all different prices:
<b>max d = N</b>
About the minimum of D, we have to notice that it is not 0. This is because we have the constraint that adjacent Hits must have different price. Therefore, we conclude that the minimum for D is equal to the half of the Hits:
<b>min d = N / 2</b>
With this information, we can obtain D, by "normalizing" d, in order to make its range in the interval [0,1]. We get:
D = ( d - min d ) / ( max d - min d )
= ( d - N / 2 ) / ( N - N / 2 )
= 2 * d / N - 1
So we have:
<b>
D = 2 * d / N - 1
S = 1 - D = 2 * ( 1 - d / N )
</b>
and the decomposition:
ABS_SPEED = S * ABS_SPEED + D * ABS_SPEED
This should be interesting, as it allows us to quantify separately the 2 components: "directional" and "sideways".
So we can define 2 distinct abs speeds:
<b>
ABS_SPEED_Directional = ABS_SPEED * ( 2 * d / N - 1 )
ABS_SPEED_Sideways = ABS_SPEED * 2 * ( 1 - d / N )
</b>
where:
<b> ABS_SPEED = ( N - 1 ) / ( Total time between hits ) </b>
It is now interesting to derive another metric for a direct comparison of Directionality Vs Sideways components.
I will propose that in a next installment, after possibly hearing also your thoughts ;-))
Tom
We have defined <b>ABS_SPEED as the number of scalps crossed per unit of time</b>. Say that, for instance, SI is crossing averagely 2.5 scalp lines per hour, so its ABS_SPEED is 2.5. [Or we might say 60 scalps per day, if we prefer.] This is immediately understood by a trader, much better than a volatility figure. Also it helps understanding any current danger for potential drawdowns, immediately <b>in terms of actual money</b>.
Now, for risk management, we also need to know if this "absolute speed" is mostly expressing itself SIDEWAYS or DIRECTIONALLY.
So we split the ABS_SPEED in 2 components:
<b>
ABS_SPEED = S * ABS_SPEED + D * ABS_SPEED
</b>
with <b>S + D = 1</b>, being the 2 "coefficients" that express the <b>Sideways (S)</b> and <b>Directional (D)</b> components, respectively. [Clearly, we are talking of realtime measures]
Now we need to define at least D. Then, we can get: S = 1 - D.
What is D ? We want to separate the <b>"directional component"</b> from the total abs speed.
Here is my proposal. (Feel free to correct or make alternative proposals.)
I define the <b>coefficient D</b> as the "normalized number of <b>different</b> scalp lines crossed".
Why ? Imagine the price moving. If the price has a strong directional component, for instance a violent rally up with no retracements, we will have all prices, in the hit scalp lines, different. On the contrary, if the price is directionless, it will keep hitting the same prices.
Therefore, i propose to derive the Directional component, based on the number of different Hits, say <b>d</b>.
To find, D, we need to "normalize" this number d, to <b>have it in the range [0,1]</b>.
So we proceed this way. Assume that the <b>number of Hits</b>, say <b>N</b>, used for speed computation is even. The maximum for D is clearly equal to the number of Hits, as they can actually be occurring at all different prices:
<b>max d = N</b>
About the minimum of D, we have to notice that it is not 0. This is because we have the constraint that adjacent Hits must have different price. Therefore, we conclude that the minimum for D is equal to the half of the Hits:
<b>min d = N / 2</b>
With this information, we can obtain D, by "normalizing" d, in order to make its range in the interval [0,1]. We get:
D = ( d - min d ) / ( max d - min d )
= ( d - N / 2 ) / ( N - N / 2 )
= 2 * d / N - 1
So we have:
<b>
D = 2 * d / N - 1
S = 1 - D = 2 * ( 1 - d / N )
</b>
and the decomposition:
ABS_SPEED = S * ABS_SPEED + D * ABS_SPEED
This should be interesting, as it allows us to quantify separately the 2 components: "directional" and "sideways".
So we can define 2 distinct abs speeds:
<b>
ABS_SPEED_Directional = ABS_SPEED * ( 2 * d / N - 1 )
ABS_SPEED_Sideways = ABS_SPEED * 2 * ( 1 - d / N )
</b>
where:
<b> ABS_SPEED = ( N - 1 ) / ( Total time between hits ) </b>
It is now interesting to derive another metric for a direct comparison of Directionality Vs Sideways components.
I will propose that in a next installment, after possibly hearing also your thoughts ;-))
Tom
