通达信

通达信---【只吃中间】主图
短线:EMA(C,1.5),COLORYELLOW;
周线:EMA(C,5),COLORMAGENTA;
平衡线:EMA(周线,5),COLORLIGREEN;
VARF1:=COUNT(CROSS(短线,平衡线),2)=1;
VARF2:=COUNT(CROSS(周线,平衡线),2)=1;
KD1:=MA((C+H+L)/3,6.8);
XHR:=XLPL.NOTEXT派>1 AND REF(XLPL.NOTEXT拉,1);
KVF:=REF(C,1)>KD1 AND C<KD1 AND KD1>REF(KD1,1);
GR1:=BARSSINCEN(KVF,9)<2;
GR2:=BARSSINCEN(XHR,9)<3;
只吃中间:FILTER(VARF1 AND VARF2,2),COLORRED,NODRAW;
DRAWTEXT(只吃中间,平衡线*0.98,'只吃中间'),COLORYELLOW;
DRAWICON(GR1 OR GR2,H*1.025,15);

(0)

相关推荐