StockFetcher Forums · General Discussion · New to writing code!<< >>Post Follow-up
youngsequan
8 posts
msg #97124
Ignore youngsequan
10/20/2010 10:33:18 PM

Hello Everyone,

I brand new to the site and I don't know how to write code

I'm in the process of reading the manual

There are several scans I want to do

I'm hoping someone will write this code for me so I can get an idea of how to do it

1. volume over a million
2. price over $25
3. 20 and 40 simple moving average have been rising for at least 30 days
4. The 20 is above the 40
5. stock is on an overall uptrend
6. stock is trading close to the 20 simple moving average

Thanks in Advance

dwiggains
444 posts
msg #97128
Ignore dwiggains
10/21/2010 10:02:03 AM

Welcome

Fetcher[
average volume (30) > 1000000
close > 25
Ma (40) > Ma (40) 30 days ago
ma (20) > Ma (40)
close > ma (40)
set {closeto20, close / ma (20)} add column closeto20
]



This is very close to what you have said in each line.

The closeto20 is a percentage of the close to the ma (20).
You may want to say closeto20 < 1.01 and closeto20 > .99
That would get you within 1% of the ma (20)

Good luck
See ya
David

youngsequan
8 posts
msg #97130
Ignore youngsequan
10/21/2010 12:25:56 PM

Thank you so much,

When you write code

The (30) right after volume, what does that mean?

average volume (30) > 1000000

dwiggains
444 posts
msg #97133
Ignore dwiggains
10/21/2010 4:22:34 PM

Hi
The 30 means 30 days.

You can put any number you want.

See ya
david

StockFetcher Forums · General Discussion · New to writing code!<< >>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.