主力潜伏公式
N:=14; M:=156; TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));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;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.gszxi.com.cn '),COLORRED; DRAWTEXT_FIX(C>O,1,1,0,'交易模型'),COLORRED;