StockFetcher Forums · Filter Exchange · Slope Angle in Degrees<< 1 2 3 4 >>Post Follow-up
dbyrt
70 posts
msg #55260
Ignore dbyrt
9/26/2007 5:28:31 PM

Just to follow up on previous point........

using slope we get AAPL with a slope of 59.10 degrees !!!

using normslope its 7.06

Would be good if Apple really was 59degrees, but it looks more like 7



stocktrader
294 posts
msg #55261
Ignore stocktrader
9/26/2007 7:02:04 PM

dbyrt:

Example SF code? NormSlope?

Depends on the number of days the slope is over. How many are you using?

For my application I'm interested in the correlation to some usable known reference (albeit subjective), rather than absolute values. Having 1.0 as equal to 45 degrees does not make it convenient.

dbyrt
70 posts
msg #55262
Ignore dbyrt
9/26/2007 7:33:59 PM

I'm not talking about any other "number of days the slope is over".
5, 10 or whatever.......its just that 'slope' doesn't give the correct result.

I'm also talking about degrees too. I think you misunderstood me.

Apple has not gone up at an angle of over 50 degrees as you will see by looking at chart, but more like 7. I'm just pointing out that if you want an accurate measure of degrees, use normslope.

I don't know why its not in the literature........but I was told it was accurate, and it appears to be so.

All the best.

stocktrader
294 posts
msg #55263
Ignore stocktrader
9/26/2007 7:42:33 PM

Many thanks dbyrt.

TheRumpledOne
6,411 posts
msg #55279
Ignore TheRumpledOne
modified
9/27/2007 8:13:32 AM

Fetcher[
set{slope2open, 10 day normslope of open}
set{slope2close, 10 day nomrslope of close}

set{radiansopen, slope2open}
set{radiansclose, slope2close}

set{atanclose, atan(radiansclose)}
set{atanopen, atan(radiansopen)}
set{hcircle, 180 / 3.14159}
set{angledegopen, atanopen * hcircle}
set{angledegclose, atanclose * hcircle}

set{angledegx, angledegopen + angledegclose}
set{angledeg2, angledegx / 2}

set{E36b,days(angledeg2 is above angledeg2 1 day ago ,100)}
set{E36a,days(angledeg2 is below angledeg2 1 day ago ,100)}
set{degreechg, E36a - E36b}

volume above 500000
degreechg above 1

and draw 10 day normslope of close
and draw 10 day slope of close

add column degreechg
add column angledeg2

Sort column 5 descending
]



stocktrader
294 posts
msg #55284
Ignore stocktrader
9/27/2007 9:06:44 AM

Thanks for the filter update. That does look better. I wonder what other items are unpublished.

stocktrader
294 posts
msg #55316
Ignore stocktrader
9/27/2007 10:08:22 PM


Repost of 9/27/2007 8:13:32 AM filter.
corrects line 2 from nomrslope to normslope.

Normslope is worse than slope. Will look at method that does not use slope at all.


Fetcher[ set{slope2open, 10 day normslope of open}
set{slope2close, 10 day normslope of close}

set{radiansopen, slope2open}
set{radiansclose, slope2close}

set{atanclose, atan(radiansclose)}
set{atanopen, atan(radiansopen)}
set{hcircle, 180 / 3.14159}
set{angledegopen, atanopen * hcircle}
set{angledegclose, atanclose * hcircle}

set{angledegx, angledegopen + angledegclose}
set{angledeg2, angledegx / 2}

set{E36b,days(angledeg2 is above angledeg2 1 day ago ,100)}
set{E36a,days(angledeg2 is below angledeg2 1 day ago ,100)}
set{degreechg, E36a - E36b}

volume above 500000
degreechg above 1

and draw 10 day normslope of close
and draw 10 day slope of close

add column degreechg
add column angledeg2

Sort column 5 descending
]



lockwhiz
206 posts
msg #55317
Ignore lockwhiz
9/27/2007 10:20:09 PM

....other "un-documented StockFetcher" stuff ....you may find something here :


http://yepher.com/~yepher/stockfetcher/command-cmddoc.html#ind()



...enjoy !!!

SAFeTRADE
646 posts
msg #55318
Ignore SAFeTRADE
9/27/2007 10:29:05 PM

This is what I have been working on for some time. This is kind of hard to explain. I took 20% of the price then took 20% of that and multiplied that by 5. I ten took that number and added it to the price. The stock has to go up by that amount to rise at a 45 degree angle. If it goes up by half that much it rises at a 22 degree angle. I have used the 13 day low as a starting point to arrive at the angle. The code is as follows.

Fetcher[
set{a45, low 13 day low * .20}
set{b45, a45 *.20}
set{c45, b45 * 5}

set{a22, low 13 day low * .10}
set{b22, a22 *.10}
set{c22, b22 * 5}





set{13a45, low 13 day low + c45}
set{13a22, low 13 day low + c22}

high reached a new 52 week high in the last 1 day
close > 15
volume > 500000

draw low 13 day low

draw 13a45 on plot price
draw 13a22 on plot price
]



It seems to be about right. I don't know if the 13 day low is the right starting point, but it is what I have been playing with. If this is useful please improve on it.

stocktrader
294 posts
msg #55320
Ignore stocktrader
9/27/2007 10:42:40 PM

All great stuff. Thanks lockwhiz and SAFeTRADE.

StockFetcher Forums · Filter Exchange · Slope Angle in Degrees<< 1 2 3 4 >>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.