For more information about this indicator, see "Implementation of strong and weak indicators in the" tangle "section.
Brief Introduction:
Use a moving average consisting of 5, 13, 144,233, 34, 55, 89, and in the Fibonacci sequence.Average SystemThe system is used to establish a complete classification to determine the strength and sequence of the trend. The stock price is in the 9th category above all the moving averages, which is the strongest trend [Note: the strongest trend is not necessarily above the moving average, which is simplified here]; the stock price is the weakest trend below all the moving averages, the value range is 1st. The value range is from 2 to 8 categories based on the number of moving averages on the station.
Flush formula:
/* Winding strength */CNT: = 1; if (close> Ma (close, 5) CNT: = CNT + 1; if (close> Ma (close, 13) CNT: = CNT + 1; if (close> Ma (close, 21) CNT: = CNT + 1; if (close> Ma (close, 34 )) CNT: = CNT + 1; if (close> Ma (close, 55) CNT: = CNT + 1; if (close> Ma (close, 89) CNT: = CNT + 1; if (close> Ma (close, 144) CNT: = CNT + 1; if (close> Ma (close, 233) CNT: = CNT + 1; cbqr: CNT;/* 2014/7/17 via tangyikejun */
Great wisdom formula:
{Winding strength} variable: CNT = 1; variable: mova [10] = 1; mova [1]: = MA (close, 5 ); {5-day closing average} mova [2]: = MA (close, 13); mova [3]: = MA (close, 21); mova [4]: = MA (close, 34); mova [5]: = MA (close, 55); mova [6]: = MA (close, 89); mova [7]: = MA (close, 144); mova [8]: = MA (close, 233); begin CNT: = 1; for I = 1 to 8 doif (close> mova [I]) Then CNT: = CNT + 1; endcbqr: CNT; {2014/7/16 via tangyikejun };
You are welcome to leave a message and interact with each other!
Reprinted please indicate the source: http://www.cnblogs.com/tangyikejun/p/3854607.html