「翔博精选指标」哼哈波段,波段指标有买卖指示(通达信公式 副
2022-04-11原创 编 辑:翔博软件
{哼哈波段}
VAR1:=IF(KDJ.J(27,3,3)<0,10,0);
VAR2:=CROSS(9.9,VAR1);
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,5);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,5);
VAR7:=IF(DATETODAY(DATE)<11699,1,DRAWNULL);
VAR8:=MA(VAR6,2)*VAR7;
AA:STICKLINE(VAR6>VAR8,VAR6,VAR8,3,1)*VAR7,COLORRED;
VAR9:=IF(1<2442.459961*500,1,DRAWNULL);
AAA:IF(VAR6>VAR8,VAR6,VAR8),COLORRED;
VAR10:=STICKLINE(VAR6>VAR8 AND REF(VAR6,1)<30,VAR6,VAR8,3,1);
STICKLINE(VAR6<=VAR8,VAR6,VAR8,3,1)*VAR9,COLORFFCC66;
DRAWICON(CROSS(9.9,VAR1),VAR6-12,5)*VAR9;
STICKLINE(CROSS(9.9,VAR1),VAR6+5,VAR8-4,3,1)*VAR9,COLORYELLOW;
VAR11:=STICKLINE(VAR10,VAR6+5,VAR8-4,3,1)*VAR7;
STICKLINE(FILTER(VAR11,5),VAR6+5,VAR8-4,3,1)*VAR9,COLORYELLOW;
V20:20,COLORGREEN;
V50:50,COLORGREEN;
V80:80,COLORGREEN;
VAR12:=IF(KDJ.J(27,3,3)>100,90,100);
DRAWICON(CROSS(VAR12,99.900002),VAR6+12,6)*VAR7;
VAR13:=VAR6>VAR8 AND REF(VAR6,1)>70;
STICKLINE(CROSS(VAR12,99.900002),VAR6,VAR8-9,3,1)*VAR7,COLORGREEN;
VAR14:=STICKLINE(VAR13,VAR6+5,VAR8-4,3,1);
STICKLINE(FILTER(VAR14,5),VAR6+5,VAR8-4,3,1),COLORGREEN;
DRAWICON(FILTER(VAR10,5),VAR6-8,34);
DRAWICON(FILTER(VAR13,5),VAR6+8,35);