通达信红灯高照组合指标公式

通达信共振选股指标公式

通达信红灯高照组合指标公式:

VAR1:=MA(CLOSE,5);

VAR2:=MA(CLOSE,10);

VAR3:=MA(CLOSE,20);

VAR4:=MA(CLOSE,30);

VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;

VAR6:=(VAR5-REF(VAR5,15))/REF(VAR5,15)*100;

VAR7:=(VAR5-REF(VAR5,15))/REF(VAR5,15)*100;

VAR8:=EMA(VAR6,3);

底部信号:stICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,OPEN,CLOSE,8,0),COLORFF6633,LINETHICK2;

低位转强:STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8 AND CLOSE>OPEN,OPEN,CLOSE,8,0),COLORMAGENTA,LINETHICK2;

红灯高照:STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0 AND CLOSE>OPEN,OPEN,CLOSE,10,0),COLORRED,LINETHICK2;

坚定持股:STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,OPEN,CLOSE,8,0),COLORYELLOW,LINETHICK2;

振荡洗盘:STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0 AND CLOSE<OPEN,OPEN,CLOSE,8,1),COLOR0033CC,LINETHICK2;

谨慎观望:STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0 AND CLOSE>OPEN,OPEN,CLOSE,10,0),COLORFFFF00,LINETHICK2;

谨慎持股:STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8 AND VAR8>0 AND CLOSE>OPEN,OPEN,CLOSE,8,0),COLOR0066CC,LINETHICK2;

果断持币:STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8 AND VAR8>0 AND CLOSE<OPEN,OPEN,CLOSE,9,1),COLORWHITE,LINETHICK2;

阴跌绵绵:STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8 AND VAR8<0 AND CLOSE<OPEN,OPEN,CLOSE,8,1),COLORGREEN,LINETHICK2;

下跌反弹:STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8 AND VAR8<0 AND CLOSE>OPEN,OPEN,CLOSE,8,0),COLOR3333CC,LINETHICK2;

箱顶: HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58),COLOR0066CC, ;

箱底: LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),58)-0.2,COLORGREEN, ;

VAR9:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱底,2);

VARA:=(3*VAR9-2*SMA(VAR9,5,1))*0.3;

VARB:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));

VARC:=EMA(3*VARB-2*SMA(VARB,18,1),5);

VARD:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));

VARE:=3*SMA(VARD,3,1)-2*SMA(SMA(VAR5,3,1),5,1);

VARF:=(INDEXC*2+INDEXH+INDEXL)/4;

VAR10:=EMA(VARF,13)-EMA(VARF,34);

VAR11:=EMA(VAR10,5);

VAR12:=(VAR10-VAR11+箱底)*1;

VAR13:=1.86*EMA(CLOSE,12)-EMA(CLOSE,34);

VAR14:=VAR13;

VAR15:=箱底;

牛气冲天: STICKLINE(VAR14>=VAR15,VAR15,VAR14,4,0),COLORRED, ;

STICKLINE(VAR14<=REF(VAR14,1) AND VAR14>VAR15,VAR15,VAR14,4,1),COLOR3366CC, ;

VAR16:=STICKLINE(REF(VAR14,2)<REF(VAR14,1) AND VAR14<=REF(VAR14,1) AND VAR14>VAR15,VAR15,VAR14,4,0);

VAR17:=STICKLINE(VAR14<VAR15-0.5,VAR15-0.5,VAR14,8,1);

VAR18:=STICKLINE(REF(VAR14,2)>REF(VAR14,1) AND VAR14>=REF(VAR14,1) AND VAR14<VAR15-0.5,VAR15-0.5,VAR14,8,0);

转强信号: STICKLINE(VAR14>REF(VAR14,1) AND VAR14<VAR15-0.5,VAR15-0.5,VAR14,2,0),COLOR3366CC , ;

VAR19:=MA(CLOSE,3);

VAR1A:=MA(CLOSE,34);

VAR1B:=MA(CLOSE,45);

VAR1C:=MA(CLOSE,60);

VAR1D:=DRAWTEXT(crOSS(VAR19,箱顶) AND CLOSE>箱顶,箱顶*0.99,'追');

R: DRAWTEXT(CROSS(箱顶,VAR19) AND CLOSE<箱顶,HIGH,'卖'), ,;

VAR1E:=DRAWTEXT(REF(VAR12,2)<REF(VAR12,1) AND REF(VAR12,1)>VAR12 AND VAR12>箱顶 AND CLOSE>箱顶,HIGH*1.005,'顶');

VAR1F:=DRAWTEXT(CROSS(VAR19,箱底),LOW*0.98,'试');

VAR20:=DRAWTEXT(CROSS(VAR19,VAR1A),LOW*0.98,'买');

VAR21:=MA(CLOSE,10);

VAR22:=MA(CLOSE,20);

VAR23:=MA(CLOSE,30);

VAR24:=MA(CLOSE,62);

VAR25:=MA(CLOSE,250);

通达信均线选牛股指标公式