最新通达信主图指标 通达信擒牛天机副图指标公式
指标源码:
A:70;
B:90;
波段线:5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;
趁火打劫:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),NODRAW;
DRAWBAND(波段线,RGB(150,030,030),趁火打劫,RGB(20,150,20));
IF(波段线>=趁火打劫,波段线,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
IF(波段线<趁火打劫,波段线,DRAWNULL),COLORGREEN,LINETHICK2;
M1:=EMA(MA(波段线,5),3);
STICKLINE(波段线>100 AND 波段线>=M1,波段线,100,3,1),COLORF0F000;
STICKLINE(波段线<0 AND 波段线<=M1,波段线,0,3,1),COLORLIGRAY;
底部买:=LLV(波段线,2)=LLV(波段线,8);
买进:=IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线<0,20,0);
STICKLINE(波段线<0 AND 波段线<M1,买进,0,1,0),COLORFF6699;
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR71:=IF(VAR7>=100,100,VAR7);
主力吸货:VAR71,COLOR0000FF;(股票知识网zhishi.southmoney.com)