StockFetcher Forums · Filter Exchange · ANGLE BETWEEN INDICATORS<< 1 2 3 4 >>Post Follow-up
Cheese
1,374 posts
msg #154307
Ignore Cheese
10/13/2020 8:50:37 AM

Graf,
Thanks for the "shares to buy" idea.

Snappy,
Thanks for the ANGLE DMA filter.

Cheese
1,374 posts
msg #154329
Ignore Cheese
10/14/2020 3:58:46 PM

graftonian 10/14/2020 2:22:54 PM
my feeble attempt to code for Weekly Reversal Candidates. No sorting yet, however will try to add my recent "Momentum Angle BS"
https://www.stockfetcher.com/forums/Filter-Exchange/Weekly-Reversal-Strategy/154166/10
===============================================================================

Graf,

I don't think your works on ANGLE are BS
I think of many indicators as a sort of first derivatives of prices, namely SPEED
and your ANGLE as derivatives of the underlying indicators or a sort of second derivatives of prices,
namely ACCELERATION

A weakness in some of the filters posted so far is that they do not draw the underlying indicators,
and ruthlessly purse anything that does not offer an edge.

What we are doing in this forum is essentially akin to mining.
Some traders and trading websites outside of this forum noted that the principle of mining for trading
and investing is no different from physical mining. For every tonne of dirt, we are lucky if we get a
nugget, if we are in a good mine.

Thanks again for starting this ANGLE work.

dangreene
229 posts
msg #154341
Ignore dangreene
modified
10/15/2020 9:14:11 PM

.

VirginTrader
73 posts
msg #154342
Ignore VirginTrader
10/15/2020 11:11:48 PM

thanks dangreene; nice code! I haven't come across TSI yet.

dangreene
229 posts
msg #154356
Ignore dangreene
10/17/2020 12:23:11 PM

It's a pity that this thread died after only 7 days.

So sad that no one can see the value in the basic premise.

It seems to me that the angle between indicators is an indication of strength (especially if given the right indicator.)


VirginTrader
73 posts
msg #154357
Ignore VirginTrader
10/17/2020 1:34:34 PM

...may not be dead yet; probably being fiddled around.

i was curious about the optimal angles/ values of the angles crossing but I:
- don't have any back testing experience or the tools and
- am not a good enough coder yet to understand the nuances

I wonder about..
set{MomentumAngle, CrossingAngle + angledegind1}

if...a steeper divergence btw ang1 and ang2 would show any diff?

snappyfrog
721 posts
msg #154359
Ignore snappyfrog
10/17/2020 8:13:32 PM

Fetcher[
/* ORIGINAL CODE by GRAFTONIAN */
/* https://www.stockfetcher.com/forums/Filter-Exchange/ANGLE-BETWEEN-INDICATORS/154229 */

/* Adding set statements for Daily and Weekly MACD */
/* I don't have advanced subscription, so maybe someone that does can let me know if it worked ok */

set{wk1,cema(close,60)}
set{wk2,cema(close,130)}
set{Weekly_MACD,wk1 - wk2}

set{dy1,cema(close,12)}
set{dy2,cema(close,26)}
set{Daily_MACD,dy1 - dy2}

set{Weekly_and_Daily_MACD,Weekly_MACD + Daily_MACD}

/*ANGLE BETWEEN INDICATORS 10/7/2020*/
NOT OTCBB
/*CLOSE BETWEEN 1 AND 10 */ /* COMMENTED OUT */


AVERAGE VOLUME(10) > 1000000

/*angle of MA slopes, or your choice of indicator 1 and 2*/
set{indicator1, Weekly_and_Daily_MACD}/*set here*/
set{indicator2, Weekly_MACD}/*and here*/
draw indicator1 on plot price
draw indicator2 on plot price
set{slopeind1, 2 day slope of indicator1}
set{slopeind2, 2 day slope of indicator2}
set{radiansind1, slopeind1}
set{radiansind2, slopeind2}
set{atanind1, atan(radiansind1)}
set{atanind2, atan(radiansind2)}
set{hcircle, 180 / 3.14159}
set{angledegind1, atanind1 * hcircle}
set{angledegind2, atanind2 * hcircle}
add column angledegind1
add column angledegind2
set{CrossingAngle, angledegind1 - angledegind2}
add column CrossingAngle
/*add the crossing angle and angledeg10ma*/
set{MomentumAngle, CrossingAngle + angledegind1}
add column MomentumAngle

/*filter and sort*/
/*indicator1 crossed above indicator2 */ /* COMMENTED OUT */
sort on column 8 descending

/*bells and whistles*/
set{xxx, close}
draw price line at xxx


DRAW angledegind1 LINE AT 20 /* angledegind1 for maturing tech stocks likely not above 20 ? */
DRAW angledegind1 LINE AT -20
]



nibor100
1,031 posts
msg #154361
Ignore nibor100
10/18/2020 1:39:00 PM

@ snappyfrog,

I got 1502 results.

Ed S.

snappyfrog
721 posts
msg #154363
Ignore snappyfrog
10/18/2020 7:50:49 PM

Thank you nibor100

nibor100
1,031 posts
msg #154388
Ignore nibor100
10/20/2020 12:39:15 PM

@snappyfrog,

I made some mods to your Graftonian based Angle filter for Weekly/Daily Macds and pasted it below.
Let me know if you can run it on your SF basic subscription.
Thanks,
Ed S.

Fetcher[
/* ORIGINAL CODE by GRAFTONIAN */
/* https://www.stockfetcher.com/forums/Filter-Exchange/ANGLE-BETWEEN-INDICATORS/154229 */

/* Adding set statements for Daily and Weekly MACD */
/* I don't have advanced subscription, so maybe someone that does can let me know if it worked ok */

set{wk1,cema(close,60)}
set{wk2,cema(close,130)}
set{Weekly_MACD,wk1 - wk2}

/*set{dy1,cema(close,12)}
set{dy2,cema(close,26)}
set{Daily_MACD,dy1 - dy2}*/

set{Weekly_and_Daily_MACD,Weekly_MACD + MACD}

/*ANGLE BETWEEN INDICATORS 10/7/2020*/
NOT OTCBB
/*CLOSE BETWEEN 1 AND 10 */ /* COMMENTED OUT */


AVERAGE VOLUME(10) > 1000000

/*angle of MA slopes, or your choice of indicator 1 and 2*/
set{indicator1, Weekly_and_Daily_MACD}/*set here*/ add column indicator1
set{indicator2, Weekly_MACD}/*and here*/
draw indicator1 on plot price
draw indicator2 on plot price
set{slopeind1, 2 day slope of indicator1}
set{slopeind2, 2 day slope of indicator2}
/*set{radiansind1, slopeind1}
set{radiansind2, slopeind2}
set{atanind1, atan(radiansind1)}
set{atanind2, atan(radiansind2)}
set{hcircle, 180 / 3.14159}
set{angledegind1, atanind1 * hcircle}
set{angledegind2, atanind2 * hcircle}*/
set{angledegind1, 57.30 * atan(slopeind1)}
set{angledegind2, 57.30 * atan(slopeind2)}
add column angledegind1
add column angledegind2
set{CrossingAngle, angledegind1 - angledegind2}
add column CrossingAngle
/*add the crossing angle and angledeg10ma*/
set{MomentumAngle, CrossingAngle + angledegind1}
add column MomentumAngle

/*filter and sort*/
/*indicator1 crossed above indicator2 */ /* COMMENTED OUT */
/*sort on column 8 descending*/

/*bells and whistles*/
/*set{xxx, close}*/
draw price line at close


DRAW angledegind1 LINE AT 20 /* angledegind1 for maturing tech stocks likely not above 20 ? */
DRAW angledegind1 LINE AT -20
]



StockFetcher Forums · Filter Exchange · ANGLE BETWEEN INDICATORS<< 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.