同花順全面分析主圖指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 均線
- 畫(huà)線方法: 主圖
- 日期:2018-08-20 來(lái)源:互聯(lián)網(wǎng)
同花順全面分析主圖指標(biāo)公式:
MA5:MA(C,5),colorblue;
MA10:MA(C,10),colormagenta;
MA20:MA(C,20),colorred;
MA60:MA(C,60),colorgreen;
MA120:MA(C,120),coloryellow;
XL1:=((LLV(LOW,3)=LLV(LOW,60)) AND ((CLOSE/REF(CLOSE,1))>=1.04));
DRAWTEXT(FILTER(((XL1>0) AND LOW),5),L*0.975,'洼底'),colorliblue;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA1:=EMA(DIFF1,9);
A1:=BARSLAST(REF(CROSS(DIFF1,DEA1),1));
底背離:=REF(CLOSE,A1+1)>CLOSE AND DIFF1>REF(DIFF1,A1+1) AND CROSS(DIFF1,DEA1);
DRAWTEXT(底背離,L*0.99,'底背離'),colormagenta;
A2:=BARSLAST(REF(CROSS(DEA1,DIFF1),1));
頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF1,A2+1)>DIFF1 AND CROSS(DEA1,DIFF1);
DRAWTEXT(頂背離,H*1.01,'頂背離'),,coloryellow;
MACD:=2*(DIFF1-DEA1);
多轉(zhuǎn)空:=((((LLV(MACD,4)>0) AND (MACD<REF(MACD,1))) AND (REF(MACD,1)>REF(MACD,2))) AND (REF(MACD,2)>REF(MACD,3)));
空轉(zhuǎn)多:=((((HHV(MACD,4)<0) AND (MACD>REF(MACD,1))) AND (REF(MACD,1)<REF(MACD,2))) AND (REF(MACD,2)<REF(MACD,3)));
DRAWICON(多轉(zhuǎn)空,H*1.01,8);
DRAWICON(空轉(zhuǎn)多,L*0.99,7);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
BBUY:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
BBSY:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
BBBUY:=FILTER(BBUY=1,5);//www.88gs.com
DRAWTEXT(FILTER(BBSY=1,1),HIGH*1.015,'亢');
FFQ2:=(CLOSE-LLV(LOW, 20))/(HHV(HIGH, 20)-LLV(LOW, 20))*100;
FFQ3:=SMA(FFQ2,9,1);
FFQ4:=SMA(FFQ3,3,1);
FFAAB:=3*FFQ3-2*FFQ4;
FFQ81:=BARSLAST(LLV(LOW,50)=LOW);
FFQ8:=BARSLAST(HHV(HIGH,FFQ81)=HIGH);
FFQ10:=(CLOSE-REF(OPEN,FFQ8))/REF(OPEN,FFQ8)*100;
FFA1:=EMA(FFQ3,3);
FFA2:=EMA(FFA1,3);
FFA3:=EMA(FFA2,3);
FFA4:=EMA(FFA3,3);
FFA:=EMA(FFA4,3);
FFQTTMM:=CROSS(FFA1,FFAAB) AND REF(FFAAB,1)>80;
DRAWTEXT(FFQTTMM,HIGH*1.016,'悔'),colorgreen;
GLL5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)<=-0.10;
DRAWTEXT(GLL5,LOW*0.98,'0510'),colorblue;
GLL10:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)<=-0.15;
DRAWTEXT(GLL10,LOW*0.97,'1015'),colormagenta;
GLL20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)<=-0.20;
DRAWTEXT(GLL20,LOW*0.96,'2020'),colorred;
GLLZ5:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)>=0.10;
DRAWTEXT(GLLZ5,HIGH*1.02,'0510'),colorblue;
GLLZ10:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)>=0.15;
DRAWTEXT(GLLZ10,HIGH*1.03,'1015'),colormagenta;
GLLZ20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)>=0.20;
DRAWTEXT(GLLZ20,HIGH*1.04,'2020'),colorred;
DRAWTEXT_FIX(ISLASTBAR,0.37,0.90,0,'①長(zhǎng)平短升,黃金交叉,價(jià)突破②長(zhǎng)升短平,回測(cè)不破,價(jià)突破③長(zhǎng)升短跌,小跌破,價(jià)突破');
DRAWTEXT_FIX(ISLASTBAR,0.37,0.95,0,'①長(zhǎng)平短跌,死亡交叉,價(jià)跌破②長(zhǎng)跌短平,彈不過(guò),價(jià)跌破③長(zhǎng)跌短升,小突破,價(jià)跌破');
同花順全面分析主圖指標(biāo)公式實(shí)例圖解 :
同花順全面分析主圖指標(biāo)公式