{QS趋势}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:(A1+A2+A3+A4+A5+A6)/6*100,Color00FFFF,linethick3;
MA趋势3:EMA(趋势,3),ColorAAAAAA,linethick3;
MA趋势5:EMA(趋势,5),ColorFF9900,linethick3;
MA趋势8:EMA(趋势,8),ColorFFFFFF,linethick3;
MA趋势13:EMA(趋势,13),ColorFF99FF,linethick3;
MA趋势21:EMA(趋势,21),Color0000FF,linethick3;
MA趋势34:EMA(趋势,34),Color4050AA,linethick3;
MA趋势55:EMA(趋势,55),Color4080FF,linethick3;
MA趋势89:EMA(趋势,89),Color00FF00,linethick3;
MA趋势114:EMA(趋势,114),ColorFFFF00,linethick3;
0,color00ff00,linethick3;
20,color00ff00;
50,color00ff00;
80,color00ff00;
100,color00ff00;
-20,colorffff00;
-50,colorffff00;
-80,colorffff00;
-100,colorffff00;{
顶尖财经网www.58188.com整理}