StockFetcher Forums · Filter Exchange · Abecedarian trading method from fyitrades.com- help coding<< >>Post Follow-up
smartguy
27 posts
msg #91911
Ignore smartguy
5/1/2010 3:48:45 PM

I am new to this forum and have zero coding skills- Here is the code provided for stockcharts.com for the Abecedarian trading method sold through http://fyitrades.com/index.htm Perhaps someone could code this for use here and share. Thanks in advance.

Code for scanning longs (stockcharts.com)

[type=stock] and [country=us] and [daily sma(10,daily volume)>500000] and [daily sma(10,daily close)>25] and [daily ema(9,daily close)> yesterday's daily ema(9,daily close)] and [daily ema(20,daily close)>yesterday's daily ema(20,daily close)] and [daily ema(39,daily close)> yesterday's daily ema(39,daily close)] and [daily obv>yesterday's daily obv] and [yesterday's daily obv<2 days ago daily obv] and [daily obv signal(5)>yesterday's daily obv signal(5)]

Code for scanning shorts (stockcharts.com)

[type=stock] and [country=us] and [daily sma(20,daily volume)>500000] and [daily sma(60,daily close)>20] and [daily ema(9,daily close)< yesterday's daily ema(9,daily close)] and [daily ema(20,daily close)2 days ago daily obv] and [daily obv signal(5)
Thanks in advance for your help

dwiggains
391 posts
msg #91914
Ignore dwiggains
5/1/2010 4:36:28 PM

Hi
Fetcher[
average volume (10) > 500,000
close > 25
ema (9) > ema (9) 1 day ago
ema (20) > ema (20) 1 day ago
ema (39) > ema (39) 1 day ago
obv > obv 1 day ago
obv 1 day ago < obv 2 days ago
average obv (5) > average obv (5) 1 day ago
]



I think this is close.

See ya
David

smartguy
27 posts
msg #91915
Ignore smartguy
5/1/2010 4:39:51 PM

Thank yoou David for your kindness- perhaps others may want to build upon this. The book uses either a 3 day exit on close or a trailing stop at your descretion. Thank you again for your help.


chetron
2,817 posts
msg #91917
Ignore chetron
modified
5/1/2010 5:00:39 PM

IT HAS ALWAYS BEEN DIFFICULT TO FILTER ENTRIES AND EXITS IN ONE FILTER.....


Fetcher[

/* ADVANCED SUBS */

SET{VAR1,COUNT(average volume (10) > 500,000,1)}
SET{VAR2,COUNT(close > 25,1)}
SET{VAR3,COUNT(ema (9) > ema (9) 1 day ago,1)}
SET{VAR4,COUNT(ema (20) > ema (20) 1 day ago,1)}
SET{VAR5,COUNT(ema (39) > ema (39) 1 day ago,1)}
SET{VAR6,COUNT(obv > obv 1 day ago,1)}
SET{VAR7,COUNT(obv 1 day ago < obv 2 days ago,1)}
SET{VAR8,COUNT(average obv (5) > average obv (5) 1 day ago,1)}

SET{VAR11,VAR1 * VAR2}
SET{VAR12,VAR11 * VAR3}
SET{VAR13,VAR12 * VAR4}
SET{VAR14,VAR13 * VAR5}
SET{VAR15,VAR14 * VAR6}
SET{VAR16,VAR15 * VAR7}
SET{VOPEN_IT,VAR16 * VAR8}

SET{VAR9,VOPEN_IT 3 DAY AGO}

SET{VCLOSE_IT,COUNT(VAR9 CROSSED ABOVE 0.5,1)}
SET{VACTIONABLES,VCLOSE_IT + VOPEN_IT}

DRAW VCLOSE_IT ON PLOT VOPEN_IT

ADD COLUMN VCLOSE_IT
ADD COLUMN VOPEN_IT

VACTIONABLES ABOVE .5
DO NOT DRAW VACTIONABLES

CLOSE ABOVE .1
VOLUME ABOVE 100000


]





StockFetcher Forums · Filter Exchange · Abecedarian trading method from fyitrades.com- help coding<< >>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 2016 - 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