N:=14; M:=156; TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N)); {看股吧-股票公式网站 www.kanguba.com} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 主力潜伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0; STICKLINE(主力潜伏中,0,MACD*30,8,0),COLORRED; 100,COLOR1C1C1C; 0,COLOR1C1C1C; -100,COLOR1C1C1C; -100,STICK,COLOR1C1C1C;
看 股吧公式 www.k anguba.com