glgene 616 posts msg #136128 - Ignore glgene |
5/30/2017 3:42:33 PM
I am doing some reading on "bubbles" and, accordingly, I would like to write a SF script that would filter for me (produce) stocks that fit between 45% and 90% angle. Is slope and angle the same thing, or am I way off?!
If they're the same thing, what 1 or 2 lines of SF script would I include to produce the stocks I'm attempting to find?
Thank you. (I have never done slopes in my SF scripting).
Gene in FL
|
Kevin_in_GA 4,599 posts msg #136129 - Ignore Kevin_in_GA |
5/30/2017 4:12:41 PM
Please be cautious here - slope is defined as rise over run, but one axis is price and the other time. Hard to do absolute gain when comparing two very differently priced stocks.
You should be looking at the rate-of-change function (ROC()). That is in essence the slope, measured on percent gain per unit time.
|
glgene 616 posts msg #136130 - Ignore glgene |
5/30/2017 5:48:33 PM
Kevin,
I don't think I asked my question appropriately. Basically, I believe that has a price run (graphed) at a 45 degree angle (slope) may be sustainable. But a stock graph (slope) of 75 degrees is not sustainable (over the long term)... I would say a stock at a 75 degree angle, thus, might be a worthy "short" candidate.
How would I script in SF to include a filter to find stocks that lie somewhere between 45 and 90 degrees (slope), looking back 90 days?
I hope I asked the question more clearly... or maybe it's just a dumb question on my part?!
Thank you.
Gene in FL
|
Kevin_in_GA 4,599 posts msg #136135 - Ignore Kevin_in_GA |
5/30/2017 9:42:53 PM
My point is that "slope" as you are defining it is really the ROC - the key is that the y-axis (price) cannot be simply in $$$ since you then cannot compare two stocks that are differently priced. Better to use the percent gain per day. However, you can use slope if that is what you think meets your needs and especially if it turns a profit.
|
SAFeTRADE 646 posts msg #136139 - Ignore SAFeTRADE |
5/31/2017 3:01:35 PM
Try this for a start.
Found here:
http://www.stockfetcher.com/forums2/Filter-Exchange/Slope-Angle-in-Degrees/55214/20
Hope this helps
|
glgene 616 posts msg #136151 - Ignore glgene |
6/1/2017 7:57:13 PM
SafeTrade... I shall explore your suggestion, along with a new line...
Draw Angledeg
... right after your line of "Add column angledeg"
Gene in FL
|
SAFeTRADE 646 posts msg #136155 - Ignore SAFeTRADE |
6/2/2017 8:08:39 AM
Added Kevin's Wilson RSI Plot , however changed RSI to Angledeg, Pretty interesting.
|
SAFeTRADE 646 posts msg #136156 - Ignore SAFeTRADE |
6/2/2017 8:39:03 AM
Here is one with 75 degree angle drawn on chart as well. Enjoy!
|