黄蓝财富阶梯
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IFF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IFF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
DJT:=A1X>=0;
KTJ:=A1X<0;
STICKLINE(DJT,突破,突破,3.5,0),COLOR0000FF;
STICKLINE(DJT,突破,突破-0.25*(突破-REF(突破,1)),3.5,0),COLOR0044FF;
STICKLINE(DJT,突破-0.25*(突破-REF(突破,1)),突破-0.50*(突破-REF(突破,1)),3.5,0),COLOR0088FF;
STICKLINE(DJT,突破-0.50*(突破-REF(突破,1)),突破-0.75*(突破-REF(突破,1)),3.5,0),COLORBBFF00;
STICKLINE(DJT,突破-0.75*(突破-REF(突破,1)),突破-1.00*(突破-REF(突破,1)),3.5,0),COLOR00FFFF;
STICKLINE(KTJ,突破,突破,3.5,0),COLORFF0000;
STICKLINE(KTJ,突破,突破-0.25*(突破-REF(突破,1)),3.5,0),COLORFF4400;
STICKLINE(KTJ,突破-0.25*(突破-REF(突破,1)),突破-0.50*(突破-REF(突破,1)),3.5,0),COLORFF8800;
STICKLINE(KTJ,突破-0.50*(突破-REF(突破,1)),突破-0.75*(突破-REF(突破,1)),3.5,0),COLORFFBB00;
STICKLINE(KTJ,突破-0.75*(突破-REF(突破,1)),突破-1.00*(突破-REF(突破,1)),3.5,0),COLORFFFF00;
ZDD:=REF(CLOSE,1)<REF(突破,1) AND CLOSE>突破 AND CLOSE>OPEN AND DJT AND COUNT(KTJ,10)==9;
STICKLINE(ZDD,OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(ZDD,HIGH,LOW,0,0),COLORYELLOW;
ZKD:=REF(CLOSE,1)>REF(突破,1) AND CLOSE<突破 AND CLOSE<OPEN AND KTJ AND COUNT(DJT,10)==9;
STICKLINE(ZKD,OPEN,CLOSE,2.5,0),COLOR009900;
STICKLINE(ZKD,HIGH,LOW,0,0),COLOR009900;
财富机遇:ZDD OR ZKD,NODRAW,COLORWHITE;
2022511304995568.png
|