Rank: Newbie
Groups: Registered, Registered Users Joined: 10/13/2009(UTC) Posts: 2
|
hello,
i am new baby of metastock. but i want build or use explorer to find stocks which are being reduced min 20% continually up-to-date.
but i don't know how to do. Any1 can help me the code, or something else like this.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
Use functions HHV() or PEAK() to get the high, then use an IF() statement to see if Close is < 20% of those values. Something like:
If((C<0.8*HHV(C,20)),1,0) which will be true if C has dropped 20% from the highest value of the previous 20 days.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 10/13/2009(UTC) Posts: 2
|
tks so much johnl,
but would you mind writing down complete fomular? I know nothing about the fomular, I can not understand so much.
again tks if you can help me!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
Create a new formula and copy in:
If((C<0.8*HHV(C,20)),1,0)
Plot it in a new inner window to see if that is what you want.
|
|
|
|
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.