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

Notification

Icon
Error

Options
Go to last post Go to first unread
abctrader  
#1 Posted : Wednesday, April 3, 2013 3:45:32 AM(UTC)
abctrader

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/3/2013(UTC)
Posts: 5

Hi

I am trying to build a custom explorer with the following condition.

Setp 1) look at the last 30 days and determine the lowest low;

Step 2) check if this low is below the 14-day moving average

Step 3) if the answer to step 2 is a 'yes' see if the closing price has exceeded the 14-day moving average of the highs in the last 7 days

step 4) give me a list of all the stocks that gave the answer to step 3 as 'yes'

-----

thank you very much in advance. I am a beginner with metastock.

henry1224  
#2 Posted : Wednesday, April 3, 2013 4:30:08 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Code:


Step1:=L<Ref(LLV(L,30),-1);
Step2:=ValueWhen(1,Step1=1,L)<Mov(C,14,S);
Step3:=Step2=1 and Sum(C>Mov(H,14,S),7)>1;
Step3;


abctrader  
#3 Posted : Sunday, April 14, 2013 4:06:43 AM(UTC)
abctrader

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/3/2013(UTC)
Posts: 5

Henry, Your reply helped me a lot. Thank you. I am trying to include some ADXR features with the same, and added the following starting from Step3=1. Basically I am also trying to include a trigger where the ADXR needs to be rising. Grateful if you could let me know if this is correct. I am also having trouble with getting ADXR with decimals. The new Metastock Pro only shows ADXR rounded up. COuld you be so kind as to give me the formula for a custom indicator for ADXR with decimals? Much obliged.


Step1:=L<Ref(LLV(L,30),-1);
Step2:=ValueWhen(1,Step1=1,L)<Mov(C,14,S);
Step3:=Step2=1 and Sum(C>Mov(H,14,S),7)>1;

Step3=1 AND Ref(Step3,-1)<>1
AND ADXR(14) > Ref(ADXR(14),-2)

eddie.m  
#4 Posted : Sunday, April 14, 2013 3:18:17 PM(UTC)
eddie.m

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/20/2012(UTC)
Posts: 152

Was thanked: 1 time(s) in 1 post(s)

abctrader wrote:
I am also having trouble with getting ADXR with decimals. The new Metastock Pro only shows ADXR rounded up. COuld you be so kind as to give me the formula for a custom indicator for ADXR with decimals? Much obliged.

Hi there,

Is not clear to me what you are trying to do. [:O] You already got answers to decimals for ADXs, etc. at your own thread here.

Go to Jose's web site for a whole collection of tools. [:)]

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.