當前位置:首頁 > 社會 > 正文

順勢擒龍主圖(附源碼)

AAA:=(3*C+H+L+O)/6;

VAR1:=WMA(AAA,8);

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

龍線:VAR1,COLORRED,LINETHICK2;

淵線:VAR6,COLORYELLOW,LINETHICK2;

龍躍于淵:IFF(龍線>淵線,龍線,DRAWNULL),NODRAW,COLORRED;

潛龍勿用:IFF(VAR1==VAR6,VAR6,DRAWNULL),COLORGREEN;

MA20:=EMA(CLOSE,20);

MA40:=EMA(CLOSE,40);

MA60:=EMA(C,60);

AA:=BARSLAST(MA40>MA60 AND (MA20==MA40 OR MA20>MA40));

BB:=REF(COUNT(C

CC:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;

順勢擒龍:IFF((BB AND CC),龍線,0),NODRAW,COLORYELLOW;

漲停價:ZTPRICE(REF(CLOSE,1),0.1)NODRAW COLORRED;

股東占流通比:=FINVALUE(244)/FINVALUE(239);{十大流通股東/流通}

曆史衰退系數:1/(1-股東占流通比), COLORRED NODRAW;

明日漲停價:C+C/10 NODRAW COLORRED;

高開漲幅%:(REF(C,1)-O)/REF(C,1)*-100 NODRAW COLORMAGENTA;

上線:=MAX(CLOSE,OPEN);

下線:=MIN(CLOSE,OPEN);

STICKLINE(順勢擒龍,H,L,0,0),COLORYELLOW;

STICKLINE(順勢擒龍,上線,下線,4,0),COLOR00FFFF;

STICKLINE(順勢擒龍,上線-0.10*ABS(上線-下線),下線+0.10*ABS(上線-下線),4,0),COLOR00DDFF;

STICKLINE(順勢擒龍,上線-0.15*ABS(上線-下線),下線+0.15*ABS(上線-下線),4,0),COLOR00BBFF;

STICKLINE(順勢擒龍,上線-0.20*ABS(上線-下線),下線+0.20*ABS(上線-下線),4,0),COLOR0099FF;

STICKLINE(順勢擒龍,上線-0.25*ABS(上線-下線),下線+0.25*ABS(上線-下線),4,0),COLOR0077FF;

STICKLINE(順勢擒龍,上線-0.30*ABS(上線-下線),下線+0.30*ABS(上線-下線),4,0),COLOR0055FF;

STICKLINE(順勢擒龍,上線-0.35*ABS(上線-下線),下線+0.35*ABS(上線-下線),4,0),COLOR0033FF;

STICKLINE(順勢擒龍,上線-0.40*ABS(上線-下線),下線+0.40*ABS(上線-下線),4,0),COLOR0022FF;

STICKLINE(順勢擒龍,上線-0.45*ABS(上線-下線),下線+0.45*ABS(上線-下線),4,0),COLOR0000FF;

DRAWKLINE(H,O,L,C);{重繪K線}

RC1:=REF(C,1);

CS:=IF(C>=1,10000,100000);

C漲停10:=1.10*RC1-49/CS;{考慮到4舍5入}

C漲停5 :=1.05*RC1-49/CS;

C跌停10:=0.90*RC1+51/CS;

C跌停5 :=0.95*RC1+51/CS;

ST:=NAMELIKE('S') OR NAMELIKE('*S');

漲停:= IF(ST, C>=C漲停5, C>=C漲停10);

跌停:= IF(ST, C<=C跌停5, C<=C跌停10);

盤中漲停:=IF(ST, H>=C漲停5, H>=C漲停10);

盤中跌停:=IF(ST, L<=C跌停5, L<=C跌停10);

STICKLINE(盤中漲停,H,MAX(C,O),0,0),COLORMAGENTA;{漲停後回落}

STICKLINE(盤中跌停,L,MIN(C,O),0,0),COLORBLUE;{跌停後回升}

STICKLINE(漲停,O,C,3,0),COLORMAGENTA;

STICKLINE(跌停,O,C,3,0),COLORBLUE;

順勢擒龍主圖(附源碼)

順勢擒龍主圖(附源碼)

順勢擒龍主圖(附源碼)

注意:指标是參考,決策靠自己。

你可能想看:

有話要說...

取消
掃碼支持 支付碼