短线机会:C>MA(C,5) AND MA(C,5)>REF(MA(C,5),1),COLORYELLOW;
STICKLINE(短线机会,0,50,2,0);
-100,LINESTICK,COLORGRAY;
0,COLORGRAY;
100,COLORGRAY;
N:=14;
DIF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2;
{ 爱约股_最新股票指标公式}
主力潜伏:COUNT(MACD<0,10)=10,COLORRED;
STICKLINE(主力潜伏,0,MACD*200,8,0),COLORRED;
MA20:=MA(C,20);
MA20角度:ATAN((MA20/REF(MA20,1)-1)*100)*180/3.14159,COLORYELLOW;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLOR00A0F0;
IF(CCI>100,CCI,DRAWNULL),COLORRED;
IF(CCI<-100,CCI,DRAWNULL),COLORGREEN;