主力散户顶底线副图指标

AAA:=REF(VOL,1)*100;

BBB:=REF(VOL,2)*100;

CCC:=REF(VOL,3)*100;

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;

DRAWTEXT(CROSS(85,RSI1),80,'顶');

VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;

VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;

VARD:=BARSCOUNT(CLOSE);

NOTEXT1:(VARB<20 AND VARC<25 AND VARD>50 AND AR<70 AND VOL*100<AAA AND AAA<BBB AND BBB<CCC)*30,LINETHICK2,COLORC87800;

NOTEXT2:=CROSS(85,RSI1)*30;

STICKLINE(NOTEXT2,1,30,2,0),COLORGREEN;

DRAWTEXT(CROSS(RSI1,25),-100,'底');

主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,COLORCYAN;

散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,COLORRED;

DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-60,'升');

DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1) OR CROSS(主力,散户) AND 散户<-35 ,-15,14);

DRAWTEXT(CROSS(RSI1,20)AND 散户<-20 AND NOTEXT1 ,-60,'底');

(0)

相关推荐