在线检测未来函数

通达信机构探测指标公式

来源:Internet,编辑:股旁网,2024-01-12

{指标介绍:
1.突破强势线:表示有强势机构参与;
2.突破大牛线:表示多只一线强势机构参与,有望成为大牛;
3.选股的时候尽量做紫色柱子比较活跃的票。}

VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),2,1)/SMA(Abs(CLOSE-VAR1),2,1)*100;
VAR3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
生命线:1.56,COLORYELLOW;
强势线:3,COLORRED;
大牛线:6,DOTLINE,COLORMAGENTA;
VAR4:=IF(CLOSE<=OPEN,CLOSE,OPEN);
VAR5:=(VAR4-LOW)/LOW*100;
VAR6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR8:=(CLOSE-OPEN)/OPEN*100;
VAR9:=IF(CLOSE>=OPEN,CLOSE,OPEN);
VAR10:=(HIGH-VAR9)/VAR9*100;
VAR11:=VAR10;
VAR12:=VAR5;
VAR13:=VAR8+VAR10;
VAR14:=VAR8+VAR5;
VAR15:=VAR10+VAR5;
VAR16:=VAR6;
VAR17:=VAR7;
VAR18:=MAX(MAX(MAX(MAX(MAX(MAX(VAR15,VAR16),VAR14),VAR13),VAR12),VAR11),VAR17)*1.2;
STICKLINE(VAR18>=3,VAR18,3,1.5,0),COLORMAGENTA;
STICKLINE(VAR18>=3,3,0,1.5,0),COLORRED;
STICKLINE(VAR18>=1.56 AND VAR18<3 AND VAR8>=0,VAR18,0,1.5,1),COLORRED;
STICKLINE(VAR18>=1.56 AND VAR18<3 AND VAR8<0,VAR18,0,1.5,1),COLORGREEN;
STICKLINE(VAR18<1.56 AND VAR8>=0,0,VAR18,1.5,1),COLORWHITE;
STICKLINE(VAR18<1.56 AND VAR8<0,0,VAR18,1.5,0),COLORGREEN;
VAR19:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
VAR20:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
VAR21:=(HIGH-REF(CLOSE,4))/REF(CLOSE,4)*100;
VAR22:=(HIGH-REF(CLOSE,3))/REF(CLOSE,3)*100;
VAR23:=VAR19>=25 OR VAR20>=23 OR VAR22>=23 AND COUNT(CLOSE=HIGH AND VAR6>=9.9 AND HIGH>LOW*1.03,3)>=2 AND COUNT(VAR18>=5,4)>=4;
VAR24:=COUNT(VAR23>0,10)=1 AND VAR23>0;
DRAWTEXT(VAR24,5,7),COLORYELLOW;

通达信机构探测指标公式

相关文章