StockFetcher Forums · General Discussion · Need help with what seems to be basic syntax for volume spike<< >>Post Follow-up
bdunkel
3 posts
msg #65819
Ignore bdunkel
8/4/2008 11:53:35 PM

I need some help with syntax. I keep getting false hits, indicating the obvious, I am not doing something right. I have looked in the filter examples and read through the manual, but still…. I will get stocks that the EMA has crossed, but my volume criteria hasn’t been met. It seems simple, but I have spent hours on this and still get false hits. Thanks in advance for your help.

Show stock where EMA(15) crossed above EMA(50) within 5 days ago
and where volume gained more than 50 percent over Average Volume(50) within 5 days ago
and Average Volume(50) is above 1000000
and close above 15


bdunkel
3 posts
msg #65820
Ignore bdunkel
8/5/2008 12:08:07 AM

I have also tried:

Show stocks where EMA(13) crossed above EMA(50) within last 1 week
and Average Volume(50) is above 1000000
and volume increased more than 50% above the average volume(50) within last 1 week
and where stock price is above 15



chetron
2,817 posts
msg #65823
Ignore chetron
8/5/2008 6:37:37 AM

clickable...


Fetcher[

Show stock where EMA(15) crossed above EMA(50) within 5 days ago
and where volume gained more than 50 percent over Average Volume(50) within 5 days ago
and Average Volume(50) is above 1000000
and close above 15

]



chetron
2,817 posts
msg #65824
Ignore chetron
modified
8/5/2008 6:50:46 AM

maybe....


Fetcher[

/* tachikawa */
set{var1,count(EMA(15) crossed above EMA(50),5)}
set{var2,count(volume gained more than 50 percent over Average Volume(50),5)}
set{vevent,var1 * var2}

draw ema(15)
draw ema(50)

vevent above .51

Average Volume(50) is above 1000000
close above 15

]



chetron
2,817 posts
msg #65826
Ignore chetron
modified
8/5/2008 7:15:16 AM

the short version.....


Fetcher[

/* tachikawa */
set{var1,count(EMA(15) crossed below EMA(50),5)}
set{var2,count(volume gained more than 50 percent over Average Volume(50),5)}
set{vevent,var1 * var2}

draw ema(15)
draw ema(50)

vevent above .51

Average Volume(50) is above 1000000
close above 15

]



bdunkel
3 posts
msg #65920
Ignore bdunkel
8/7/2008 1:14:33 AM

Thanks. It seems to work. Again, your help is appreciated.

chetron
2,817 posts
msg #65930
Ignore chetron
8/7/2008 6:57:02 AM

WORK IN PROGRESS...


Fetcher[



/* tachikawa */
set{var1,count(EMA(15) crossed above EMA(50),5)}
set{var2,count(volume gained more than 50 percent over Average Volume(50),5)}
set{vevent,var1 * var2}
SET{VAR3,COUNT(VOLUME ABOVE AVGVOL(3),1)}
SET{VAR4,COUNT(VOLUME 1 DAY AGO BELOW AVGVOL(3) 1 DAY AGO,1)}
SET{VAR5,COUNT(CLOSE ABOVE CLOSE 1 DAY AGO,1)}
SET{VAR6,VAR3 * VAR4}
SET{VEVENT2,VAR6 * VAR5}


SET{VAR15,COUNT(CLOSE BELOW CLOSE 1 DAY AGO,1)}
SET{VAR16,VAR3 * VAR4}
SET{VEVENT3,VAR6 * VAR15}

draw ema(15)
draw ema(50)
DRAW AVGVOL(3)
DRAW VEVENT2
DRAW vevent
DRAW VEVENT3

VOLUME ABOVE AVGVOL(3)
VOLUME 1 DAY AGO BELOW AVGVOL(3) 1 DAY AGO
AVGVOL(3) BELOW AVGVOL(50)
close above 15
CLOSE ABOVE CLOSE 1 DAY AGO

]



chetron
2,817 posts
msg #65944
Ignore chetron
modified
8/7/2008 11:25:53 AM

MAYBE...

OVERNIGHT: CLOSE TO OPEN?

Fetcher[

/* tachikawa */
set{var1,count(EMA(15) crossed above EMA(50),5)}
set{var2,count(volume gained more than 50 percent over Average Volume(50),5)}
set{vevent,var1 * var2}
SET{VAR3,COUNT(VOLUME ABOVE AVGVOL(3),1)}
SET{VAR4,COUNT(VOLUME 1 DAY AGO BELOW AVGVOL(3) 1 DAY AGO,1)}
SET{VAR5,COUNT(CLOSE ABOVE CLOSE 1 DAY AGO,1)}
SET{VAR6,VAR3 * VAR4}
SET{VEVENT2,VAR6 * VAR5}


SET{VAR15,COUNT(CLOSE BELOW CLOSE 1 DAY AGO,1)}
SET{VAR16,VAR3 * VAR4}
SET{VEVENT3,VAR6 * VAR15}

draw ema(15)
draw ema(50)
DRAW AVGVOL(3)
DRAW VEVENT2
DRAW vevent
DRAW VEVENT3

VEVENT ABOVE .5
VEVENT3 ABOVE .5
]



chetron
2,817 posts
msg #65946
Ignore chetron
8/7/2008 2:48:05 PM

LONG CLOSE TO OPEN....

Fetcher[



/* tachikawa */
set{var1,count(EMA(15) crossed above EMA(50),5)}
set{var2,count(volume gained more than 50 percent over Average Volume(50),5)}
set{vevent,var1 * var2}
SET{VAR3,COUNT(VOLUME ABOVE AVGVOL(3),1)}
SET{VAR4,COUNT(VOLUME 1 DAY AGO BELOW AVGVOL(3) 1 DAY AGO,1)}
SET{VAR5,COUNT(CLOSE ABOVE CLOSE 1 DAY AGO,1)}
SET{VAR6,VAR3 * VAR4}
SET{VEVENT2,VAR6 * VAR5}


SET{VAR15,COUNT(CLOSE BELOW CLOSE 1 DAY AGO,1)}
SET{VAR16,VAR3 * VAR4}
SET{VEVENT3,VAR6 * VAR15}

draw ema(15)
draw ema(50)
DRAW AVGVOL(3)
DRAW VEVENT2
DRAW vevent
DRAW VEVENT3

VEVENT ABOVE .5
VEVENT 1 DAY AGO BELOW .5
VEVENT2 ABOVE .5

]



StockFetcher Forums · General Discussion · Need help with what seems to be basic syntax for volume spike<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.