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

Notification

Icon
Error

Options
Go to last post Go to first unread
Marilyn  
#1 Posted : Tuesday, November 29, 2005 4:08:37 AM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

Did I tell you I was a geek??? http://www.iris.edu/seismon/ith circles to show you the approximate location and magnitude of the earthquakes. A color code shows you the age of the quakes: …occurring today, yesterday, during the past 2 weeks, or within the past 5 years. The size of the circles indicate the magnitude range: 4, 5, 6, 7, or 8 By clicking on the circle you desire, you zoom in to the specific area. By pinpointing the area with another click, you will see a chart that will give you very specific information: date, latitude, longitude, exact magnitude, depth, and the region location of its epicenter.
StorkBite  
#2 Posted : Tuesday, November 29, 2005 4:52:16 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
That's cool! I'll bet Jose could write us a seismic indicator... :P
Branden Russell  
#3 Posted : Tuesday, November 29, 2005 10:21:24 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

I have a piece of software that shows something similar on my Pocket PC. :)
StorkBite  
#4 Posted : Tuesday, November 29, 2005 10:26:05 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
I suppose that the seismic indicator would have to use the LastValue command, huh?
Jose  
#5 Posted : Wednesday, November 30, 2005 3:09:52 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
[code:1:0461483b5d] { Seismic indicator v1.0 Plot on price chart. ©Copyright 2005 Jose Silva. http://www.metastocktools.com W/thanks to MG Ferreira for ellipse equation.} pds1:=Input("Seismic width periods",2,2600,30); pds2:=Input("Seismic separation periods", -26000,2600,-10); pds2:=LastValue(If(pds2<=-pds1,-pds1+1,pds2)); { Seismic 1 } p2:=pds1; p1:=pds1+p2; start:=Cum(1)=LastValue(Cum(1))-p1; end:=Cum(1)=LastValue(Cum(1))-p2; restrict:=Ref(Ref(ValueWhen(1,start,1),-p2),p2); Hi:=LastValue(Highest(ValueWhen(1,restrict,H))) +restrict-1; Lo:=LastValue(Lowest(ValueWhen(1,restrict,L))) +restrict-1; midX:=(p1-p2)/2; midY:=(Hi-Lo)/2; tX:=Cum(1)-midX-(LastValue(Cum(1))-p1); ellipse:= Sqrt(midY*midY*(1-Min(tX*tX/midX/midX,1))); upperE:=Lo+midY+ellipse; lowerE:=Hi-midY-ellipse; upperE;lowerE; { Seismic 2 } p2:=p1+pds2; p1:=pds1+p2; start:=Cum(1)=LastValue(Cum(1))-p1; end:=Cum(1)=LastValue(Cum(1))-p2; restrict:=Ref(Ref(ValueWhen(1,start,1),-p2),p2); Hi:=LastValue(Highest(ValueWhen(1,restrict,H))) +restrict-1; Lo:=LastValue(Lowest(ValueWhen(1,restrict,L))) +restrict-1; midX:=(p1-p2)/2; midY:=(Hi-Lo)/2; tX:=Cum(1)-midX-(LastValue(Cum(1))-p1); ellipse:= Sqrt(midY*midY*(1-Min(tX*tX/midX/midX,1))); upperE:=Lo+midY+ellipse; lowerE:=Hi-midY-ellipse; upperE;lowerE; { Seismic 3 } p2:=p1+pds2; p1:=pds1+p2; start:=Cum(1)=LastValue(Cum(1))-p1; end:=Cum(1)=LastValue(Cum(1))-p2; restrict:=Ref(Ref(ValueWhen(1,start,1),-p2),p2); Hi:=LastValue(Highest(ValueWhen(1,restrict,H))) +restrict-1; Lo:=LastValue(Lowest(ValueWhen(1,restrict,L))) +restrict-1; top:=If(start OR end,Lo,Hi); bot:=If(start OR end,Hi,Lo); midX:=(p1-p2)/2; midY:=(Hi-Lo)/2; tX:=Cum(1)-midX-(LastValue(Cum(1))-p1); ellipse:= Sqrt(midY*midY*(1-Min(tX*tX/midX/midX,1))); upperE:=Lo+midY+ellipse; lowerE:=Hi-midY-ellipse; upperE;lowerE; { Seismic 4 } p2:=p1+pds2; p1:=pds1+p2; start:=Cum(1)=LastValue(Cum(1))-p1; end:=Cum(1)=LastValue(Cum(1))-p2; restrict:=Ref(Ref(ValueWhen(1,start,1),-p2),p2); Hi:=LastValue(Highest(ValueWhen(1,restrict,H))) +restrict-1; Lo:=LastValue(Lowest(ValueWhen(1,restrict,L))) +restrict-1; top:=If(start OR end,Lo,Hi); bot:=If(start OR end,Hi,Lo); midX:=(p1-p2)/2; midY:=(Hi-Lo)/2; tX:=Cum(1)-midX-(LastValue(Cum(1))-p1); ellipse:= Sqrt(midY*midY*(1-Min(tX*tX/midX/midX,1))); upperE:=Lo+midY+ellipse; lowerE:=Hi-midY-ellipse; upperE;lowerE [/code:1:0461483b5d] jose '-)
StorkBite  
#6 Posted : Wednesday, November 30, 2005 4:53:48 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Translate these inputs in sub-guru language. I'm not understanding how to tweak the time period window. I mean, I know how to, but not... get it? LOL! OK, not to disappoint Miss M... the resident techno geek: site 1 and site 2. It's interesting and maybe a bit logical, but let's look at this example. In the USA, Southern California is a big tremor. I searched for tremors/quakes in this area that were greater than 4 on a Richter scale for the past 5 years. Next, I randomly chose us;EIX to evaluate because it is an S&P 500 company and a S.Cal power provider. Correlating the results, starting with 5/14/2002, you will see that shortly after the 5.1 magnitude quake, the price fell. There were a series of quakes (4.0-6.5) around Christmas 2003 and the ROC flattened and fell slightly. Also, again in late September 2004 (4.3-6.0). Adn, ditto for late Nov 2004 and especially Oct 2005. How would you adjust the window of affect to correlate with these periods more closely? Even right now, with me just fuddled, it's pretty good; but, I guess the period should end within some reasonable time... like when the stock starts to increase. LOL again! Dude... you're the king! :supman: UserPostedImage UserPostedImage
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.