Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 04-12-2010, 03:01 PM   #17
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,178
Ignore this user

Thanks: 299
Thanked 299 Times in 213 Posts
Blog Entries: 104



Re: Instantaneous Acceleration

Quote:
Originally Posted by Kiwi »
More seriously, for the OP, the poster who sarcastically suggested that this is applying elementary school ideas to the market is somewhat correct. Most try an acceleration measure (second derivative of distance wrt time or price wrt time in this case) at some point and discard it. Extremes (absolute or relative) of velocity and position seem to be more effective in the end and good trading is rarely complicated.
Yes - re second derivative
re velocity I have basically same issues with velocity as I have with stock acceleration measures. Central tendencies may move without flitting about, but price doesn't...
So a twist on the question - does anyone have algo's for 'vibratory rate' that are applicable to raw price?
zdo is offline  
Reply With Quote
Old 04-13-2010, 06:00 AM   #18

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,272
Ignore this user

Thanks: 129
Thanked 1,038 Times in 694 Posts



Re: Instantaneous Acceleration

You could look at Ehlers work. A lot of his stuff is about splitting the cyclical component from the non stationary. He seems to use the same technique for that in most (all?) of his work. The Hillbert transform. You should be able to find code in TS to do this.
BlowFish is offline  
Reply With Quote
The Following User Says Thank You to BlowFish For This Useful Post:
Tams (04-13-2010)
Old 04-13-2010, 06:02 AM   #19

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,272
Ignore this user

Thanks: 129
Thanked 1,038 Times in 694 Posts



Re: Instantaneous Acceleration

Worth re-iterating the problem is not that it is an elementary school technique but that velocity will swing wildly (as much as the extents of its limits) tick to tick.
BlowFish is offline  
Reply With Quote
Old 04-13-2010, 11:07 AM   #20
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,178
Ignore this user

Thanks: 299
Thanked 299 Times in 213 Posts
Blog Entries: 104



Re: Instantaneous Acceleration

Thanks, Blowfish.
I do use both Ehler's modified and Hilbert - but only as indications to lengthen or shorten cycle duration projections (a la JMHurst type variations on nominality, etc ).
But, so far for the 'acceleration of vibratory rate' questions of this thread, neither of those is sufficiently granular or 'instantaneious' at any timeframe .
zdo is offline  
Reply With Quote
Old 04-13-2010, 11:22 AM   #21
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,178
Ignore this user

Thanks: 299
Thanked 299 Times in 213 Posts
Blog Entries: 104



Re: Instantaneous Acceleration

Quote:
Originally Posted by BlowFish »
Worth re-iterating the problem is not that it is an elementary school technique but that velocity will swing wildly (as much as the extents of its limits) tick to tick.
If you have time, could you please elaborate a bit. Thanks.
zdo is offline  
Reply With Quote
Old 04-14-2010, 05:59 AM   #22

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,272
Ignore this user

Thanks: 129
Thanked 1,038 Times in 694 Posts



Re: Instantaneous Acceleration

Long time since I read Ehlers (first) book but I seem to recall he puts arbitrary smoothing into the mix in a couple of place. This may well be why.

Volatility ,even at the tick level, (some might say especially at the tick level) changes very rapidly. I think it will always be a trade off between pre and post processing to smooth this a little with loosing what you want to see. (though I am not completely sure exactly what you want to see or perhaps more importantly why you want to see it).

This kind of leads to the 'velocity will change rapidly' statement I made if you get several seconds between a couple of ticks the velocity will be pretty low in it's potential range. Actually if they are at the same price I think the velocity will be zero, right? Then you get a tick very close maybe a few milliseconds ticking up. You are dividing by a very small number ,ms, (twice). The velocity will shoot up to the top of its range in fact you will probably want to handle a divide by zero there (2 ticks the same time stamp) which would give infinite velocity!!

A good title for a paper Zero to Infinite Velocity in no Time Flat!
BlowFish is offline  
Reply With Quote
The Following User Says Thank You to BlowFish For This Useful Post:
zdo (04-14-2010)

Reply

Tags
moving average, trend

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Instantaneous TrendLine Tams Trading Indicators 43 09-07-2011 12:21 AM

All times are GMT -4. The time now is 11:53 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.