同花順多空判斷主圖指標(biāo)公式
2020/7/16 18:10:13
BOLL:=MA(CLOSE,25);
上:BOLL + 2*STD(CLOSE,25),CROSSDOT,coloryellow;
下:BOLL-2*STD(CLOSE,25),CROSSDOT,colorgreen;
diff50:=EMA(CLOSE,11)-EMA(CLOSE,23);
dea50:=EMA(diff50,9);
MACD:=(diff50-dea50)*2;
漲:=IF(1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),MACD,0);
跌:=IF(1.5*(diff50-dea50)<REF(1.5*(diff50-dea50),1),
MACD,0);
縮頭:=IF(1.5*(diff50-dea50)>0 AND
REF(1.5*(diff50-dea50),1)>REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)<
REF(1.5*(diff50-dea50),1),1,0);
縮腳:=IF(1.5*(diff50-dea50)<0 AND REF(1.5*(diff50-dea50),1)<
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),1,0);
殺多:=IF(1.5*(diff50-dea50)<0 AND REF(1.5*(diff50-dea50),1)>
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)<REF(1.5*(diff50-dea50),1),1,0);
誘空:=IF(1.5*(diff50-dea50)>0 AND REF(1.5*(diff50-dea50),1)<
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),1,0);
阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
DRAWTEXT(殺多,H*1.005,'逃'),colorff00ff;
DRAWTEXT( 縮頭,H*1.005,'賣'),coloryellow;
DRAWTEXT(誘空,L,'洗'),colorred;
DRAWTEXT( 縮腳,L,'買'),colorff00ff;
看股吧公 式 ww w.kanguba.com
其它股票公式列表