通达信出手必中副图源码
2016-11-30 21:33:00来源:本站整理浏览:209
AA:=100-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),COLORGREEN;
TYP:=(HIGH+LOW+CLOSE)/3;
BB:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
SHORT:=12;LONG:=26;MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
BIAS :=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*100;
BIASMA :=MA(BIAS,5);
BIAS6 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
XG: CROSS(BIAS6,BIASMA) AND MACD>REF(MACD,1) AND CROSS(BB,-30) AND AA>60 ;