StockFetcher Forums · Filter Exchange · ANGLE BETWEEN INDICATORS<< 1 2 3 4 >>Post Follow-up
Cheese
1,374 posts
msg #154390
Ignore Cheese
10/20/2020 1:01:28 PM

@nibor100 @snappyfrog
I made two minor edits
draw indicator1 /* on plot price */
draw indicator2 on plot indicator1 /* on plot price */
Thanks

Fetcher[
/*
https://www.stockfetcher.com/forums/Filter-Exchange/ANGLE-BETWEEN-INDICATORS/154229/20
nibor100 10/20/2020 12:39:15 PM
*/

/* 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 indicator1 /* 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
]




snappyfrog
731 posts
msg #154391
Ignore snappyfrog
10/20/2020 1:22:31 PM

Nizoral 100, yes I can run it. Thank you!

dangreene
229 posts
msg #154410
Ignore dangreene
modified
10/22/2020 4:44:37 PM

TEST



dangreene
229 posts
msg #157958
Ignore dangreene
10/30/2021 4:27:18 PM

POP

I miss graftonian.

In my opinion this was probably his best offering.

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.