StockFetcher Forums · View by Author: (29 messages)  [ Display By: Date / Subject ]<< 1 2 3 >> 
General Discussion · Filter not returning expected results
jcollins01
msg #104879
2/8/2012 5:20:30 PM

That's awesome thank you very much

General Discussion · Filter not returning expected results
jcollins01
msg #104875
2/8/2012 4:06:48 PM

I want a green bar two days ago followed by two red bars. This isn't returning, say , JOY but I dont see an obvious error
What am I missing?
Fetcher:
close two days ago > open two days ago
open one day ago > close one day ago
open > low
low < close two days ago
low > 20
stocks are optionable
volume > 1000000

General Discussion · Slope number seems wrong
jcollins01
msg #103612
12/4/2011 7:51:40 PM

I got a reply from the nice StockFetcher people:

"Thank you for the feedback. The "slope" on StockFetcher is the slope calculated from the "best-fit" line using linear regression:

http://en.wikipedia.org/wiki/Linear_regression

Your example below is more similar to a "rate of change" computation."

General Discussion · Slope number seems wrong
jcollins01
msg #103611
12/4/2011 4:07:41 PM

These should return exactly the same number but they don't. Am I missing something?
Fetcher[
set {fast_slope, 5 day slope of the high}
set {fiveday, high - high five days ago}
set {fiveslope, fiveday / 5 }
add column fast_slope
add column fiveslope
]



General Discussion · linear regression intercept
jcollins01
msg #94852
modified
7/17/2010 2:11:13 PM

kevin_in_ga the description says "The linear regression slope indicator simply computes the slope of the linear regression line. " so one would think the linear regression intercept is available. I know the definition of slope, in this case it's the "rise over run" of the linear regression line. My question was, is the linear regression line available by itself? That would give you the intercept.

General Discussion · linear regression intercept
jcollins01
msg #94340
6/26/2010 9:49:47 PM

The linear regression intercept is used to calculate the linear regression slope but does not seem to be available as a separate indicator. Am I missing something? Any idea how to calculate it?

Filter Exchange · cema cma pp
jcollins01
msg #93076
5/23/2010 9:41:40 PM

So what are we looking at here? A MA crossover system?

General Discussion · count of down two days in a row
jcollins01
msg #92873
5/18/2010 11:08:49 AM

I want to count how many times a stock has been down two days in a row is the last 60 days , but this doesn't work. Any ideas?

[set {dds, count (close less than close one day ago and close one day ago less than close two days ago,60)}
price greater than 1
add column dds

General Discussion · value uses previous value except at start
jcollins01
msg #92829
5/16/2010 8:20:48 PM

I'm trying to write a function that uses the previous value of the function except at the start, when is uses the close (because there is no previous value then). Anyone have any idea how to do this?

General Discussion · recursive functions
jcollins01
msg #92805
5/16/2010 2:45:28 AM

Is there a stockfetcher function equvalent to the following thinkscript?
Syntax
compoundValue(int length, IDataHolder visible data, IDataHolder historical data);
Description
Calculates a compound value according to following rule: if a bar number is bigger than length then the visible data value is returned, otherwise the historical data value is returned. This function is used to initialize studies with recursion.
Example
declare lower;
rec x = compoundValue(2, x[1] + x[2], 1);
plot FibonacciNumbers = x;
The example calculates the Fibonacci sequence. Starting from the third bar each following number is calculated as the sum of the previous two numbers while the numbers for the first two bars are equal to one. As a result you will get a plot containing the 1 1 2 3 5 etc values.

StockFetcher Forums ·  · << 1 2 3 >>

*** 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 2018 - 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.