第一部分 副图公式 手机/电脑
CAIH1:=33;CAIH2:=33;
0,COLORWHITE;
CHA1:=(2*CLOSE+HIGH+LOW)/4*(CAIH1+0.001);
CHA2:=EMA(CHA1,4)*(CAIH2);
CHA3:=EMA(CHA2,4);
CHA4:=EMA(CHA3,4);
CHB0:=(CHA4-REF(CHA4,1))/REF(CHA4,1)*100*(CAIH2);
短线趋势0:CHB0;
CHB1:=MA(CHB0,2);
短线趋势1:CHB1;
CHB2:=MA(CHB0,1);
短线趋势2:CHB2;
红实柱:CHB0>=0 AND CHB0>REF(CHB0,1),COLORRED,NODRAW;
红空柱:CHB0>=0 AND CHB0<=REF(CHB0,1),COLORLIRED,NODRAW;
绿柱:CHB0=CHB2,COLORGREEN,NODRAW;
蓝柱:CHB0<0 AND CHB11.5 AND C/REF(C,1)>1.03 AND CHB0>0,CHB0 ,CHB0+0.5*CAIH2,2,0),COLORMAGENTA;
DRAWTEXT(量>1.5 AND C/REF(C,1)>1.03 AND CHB0>0,CHB0+0.7,'加码1'),COLORYELLOW;
STICKLINE(量>1.5 AND C/REF(C,1)>1.03 AND CHB01.5 AND C/REF(C,1)>1.03 AND CHB01.5 AND C/REF(C,1)0,0 ,MIN(-0.3,-CHB0),2,0),COLORCYAN;
STICKLINE(量>1.5 AND C/REF(C,1)<0.98 AND CHB01.5 AND C/REF(C,1)0,CHB0+0.1,'清仓'),COLORGREEN;
第二部分 选股公式 |