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

Notification

Icon
Error

Options
Go to last post Go to first unread
yemyes45  
#1 Posted : Sunday, August 2, 2015 4:55:09 PM(UTC)
yemyes45

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/30/2010(UTC)
Posts: 5

Hi Team,

Please let me know the formula to filter stock prices closed above the cross over 20 ema and 50 ema.  As  I am having formula for cross over 20 ema and 50 ema  it gives result only when the crossover happens on date of exploration, but I want to know all the stocks after the cross over happened.

 

Thanks in advance.

Regards,

Balasubramanian MS

Edited by user Sunday, August 2, 2015 4:56:07 PM(UTC)  | Reason: Not specified

mstt  
#2 Posted : Sunday, August 2, 2015 8:54:01 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

Hi B

Try this, and set the Explorer to load at least 250 bars. Loading 250 or more bars will ensure that the 50 period EMA is accurate.

 {ColA}

C>Mov(C,20,E ) AND C>Mov(C,50,E );

 {Filter}

ColA;


Roy

Edited by user Sunday, August 2, 2015 8:56:15 PM(UTC)  | Reason: Not specified

yemyes45  
#3 Posted : Monday, August 3, 2015 7:53:11 AM(UTC)
yemyes45

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/30/2010(UTC)
Posts: 5

Hi Roy,

Thanks for your immediate response, but I want formula to find the stock already cross-over happened i.e. closed above cross over 20 EMA and 50 EMA

regards.

 

mstt  
#4 Posted : Monday, August 3, 2015 9:24:57 AM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi B That's exactly what my exploration is supposed to do. It reports a TRUE as soon as the CLOSE is above both EMAs. And it will keep reporting that TRUE until the CLOSE drops below one of the EMAs. It would be easy to delay the TRUE until a bar later than the second crossover but as far as I can see the code as it stands should do exactly what you asked for. Did you run the exploration? Roy
yemyes45  
#5 Posted : Tuesday, August 4, 2015 2:10:08 PM(UTC)
yemyes45

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/30/2010(UTC)
Posts: 5

Hi Roy, Thanks Mr.Roy, when I run exploration it gives results stocks closed above 20 ema and 50 ema,but I want to know the list of stocks after crossover happened. Regards.
mstt  
#6 Posted : Tuesday, August 4, 2015 8:06:43 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi B Try printing out the report, or coping it to Excel and manipulating the data as required before printing. Roy
Users browsing this topic
Guest (Hidden)
Similar Topics
EXPLORATION Formulas – A ‘Lucky-Dip’. (MetaStock)
by tonythekiwi 9/6/2024 4:44:32 AM(UTC)
Exploration formula based on another custom formula (Formula Assistance)
by CalgaryCoolCat 7/21/2019 3:42:41 AM(UTC)
Exploration formula to find gaps in the last year (Formula Assistance)
by osolo 3/4/2017 8:26:04 PM(UTC)
Exploration formula - count of occurrences in X period (Formula Assistance)
by ShaneAUNZ 10/16/2014 8:46:28 PM(UTC)
Exploration Formulae (Formula Assistance)
by biggles737 7/30/2013 5:07:01 AM(UTC)
EXPLORATION FORMULA FOR HIGH & LOW MAINTAINED (Advanced Coding Techniques)
by essemkay 1/4/2013 8:52:16 AM(UTC)
Double Bottom Metastock Exploration Formula (Formula Assistance)
by gorachand 2/19/2012 10:05:45 AM(UTC)
Need Exploration Formula assistance!! (Formula Assistance)
by aaaaaaicq 11/21/2009 10:55:07 AM(UTC)
password protecting an exploration formula (Formula Assistance)
by stochcharts 7/9/2009 8:11:27 AM(UTC)
MARTIN PRING - LONG TERM MOMENTUM EXPLORATION FORMULA (Formula Assistance)
by Wealth 12/30/2008 6:42:30 AM(UTC)
Exploration formula help (MetaStock)
by Alvin 8/17/2007 12:13:59 PM(UTC)
CCI exploration formula [RESOLVED] (Formula Assistance)
by moneypick 10/14/2005 5:45:56 PM(UTC)
RSI exploration formula [RESOLVED] (Formula Assistance)
by moneypick 10/12/2005 7:14:53 PM(UTC)
Workaround to enter a variable into Exploration formula (Formula Assistance)
by alphateam 6/2/2005 9:53:15 PM(UTC)
Cup and Handle Exploration formula Metastock (Formula Assistance)
by dmyy2k 3/30/2005 7:13:27 AM(UTC)
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.