logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Groper  
#1 Posted : Thursday, July 21, 2005 11:53:28 PM(UTC)
Groper

Rank: Newbie

Groups: Registered, Registered Users
Joined: 7/21/2005(UTC)
Posts: 3

Hello Have a bit of a tricky one here... Is there any way to code: Price has fallen since day of greatest historical volume (which may have been x years ago) and has not touched above the High of the Highest Volume day since. Hope that makes sense. Many thanks Groper
wabbit  
#2 Posted : Friday, July 22, 2005 11:30:04 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Does this achieve your aims? --8<------------------------- HiVolDay:=ValueWhen(1,V=LastValue(Highest(V)),Cum(1)); HiVolClose:=ValueWhen(1,V=LastValue(Highest(V)),C); HiVolHigh:=ValueWhen(1,V=LastValue(Highest(V)),H); C<HiVolClose AND Cum(H<HiVolHigh)<=(LastValue(Cum(1))-HiVolDay) --8<------------------------- Use with EXTREME CAUTION - it contains LastValues! wabbit :D
Groper  
#3 Posted : Friday, July 22, 2005 1:20:06 PM(UTC)
Groper

Rank: Newbie

Groups: Registered, Registered Users
Joined: 7/21/2005(UTC)
Posts: 3

wabbit, From one 'sandGroper' to another, many thanks. The code works great. I was thinking of a breakout kind of situation, so was wondering if there is a way to only return stocks that haven't yet (or have just done so...) returned to the high of the 'High Volume' day. Once again, many thanks Groper
wabbit  
#4 Posted : Friday, July 22, 2005 11:28:44 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
All the code needed to do this is inmy reply to your first query: To find the high on the day of the highest volume: HiVolHigh:=ValueWhen(1,V=LastValue(Highest(V)),H); Now all you have to do is find a high above or near this price: H=HiVolHigh; Or you can extend the trigger over, say, 5 days: Alert(H=HiVolHigh,5); Does this work for you, or were you looking for something different? wabbit :D P.S. I fail to see the logic in this system? Although volume is important in my own trading systems, it is not the basis of it. In this system of yours, the volume triggers can be easily corrupted by abnormal volume days, such as the days when options are exercised etc. On these days, volumes can be vastly different to normal trading days, and the price not affected. Massive voumes can also be found on days when institutions buy on/off the market, when a company enters/leaves an index and the managed funds buy/sell to reflect etc There are many instances when spikes in volume are not triggered by "normal" market influences. Just a thought.
Groper  
#5 Posted : Saturday, July 23, 2005 2:21:37 AM(UTC)
Groper

Rank: Newbie

Groups: Registered, Registered Users
Joined: 7/21/2005(UTC)
Posts: 3

Hi wabbit, Thanks for that. The points you raised are very valid. I'm just doing a bit of 'playing around'. Not looking to develop an independent system based on volume. Cheers Groper
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.