The link that you provided, is measuring the rate of change in a moving average plot using slope.Thank you for the quick replies. I was utilizing the below article code to get the degrees of the angle of the slope of a moving average. You are saying this cannot be done accurately across different products and charts? It is a form of looking for momentum, however I am more looking for a chart formation.
I am looking for a prior steepness of the underlying's move as one criteria for entry. I utilize moving averages and want a certain slope moving average. I.e. scanning for a move on the 5 minute with a steepness of 20 degrees on the moving average slope up etc..will get me looking for an entry on a consolidation. In a way I am looking for trends and/or flag patterns that have already formed the flag pole part of the pattern.
https://tickertape.tdameritrade.com...average-thinkscript-stock-momentum-tool-15190
Go ahead and put linked script on your chart. Watch it and you will be able to understand,