DEA : EMA(DIFF,9),COLORffffff;
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2,COLOR00ffff;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(背離,0,1.1,4,0),COLORred;
DRAWLINE(A1=0,DEA,背離,DEA,0),COLOR00FF00;
DRAWTEXT(背離,1.3,' 背離'),COLOR00FFFF,ALIGN1;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.5,0),COLORFF3870,LINETHICK2;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0.5,0),COLORffFF00,LINETHICK2;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0.5,0),COLOR00ffff,LINETHICK2;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0.5,0),COLORRED,LINETHICK2;
FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);
FH4:=FH1 AND FH2 AND ABS((DIFF-DEA)/C)<0.018;
FH5:=FH1 AND FH2 AND MACD<0.10;
YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(vol+0.01)/100);
阻價(jià):=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));
支價(jià):=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));
今壓力:REF(阻價(jià),1),LINETHICK0,color00ff00;
今支撐:REF(支價(jià),1),LINETHICK0,colorff00ff;
明壓力:阻價(jià),LINETHICK0;
明支撐:支價(jià),LINETHICK0,colorffaaff;
0,COLORffffff;(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
(責(zé)任編輯:張曉軒)