熊牛线指标(源码 副图 贴图)介绍
熊牛线指标(源码 副图 贴图)
这是我修改过,用于60分钟线以内周期做T+0的指标。
H1:EMA(CLOSE,5);
H2:EMA(H1,10);
牛熊线:EMA(CLOSE,20),COLORRED, LINETHICK2;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,5,1);
VAR3:=SMA(VAR2,8,1);
VAR4:=CROSS(VAR2,VAR3) AND VAR3<20;
VAR5:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR4;
VAR6:=IF(CLOSE>1000,VAR4,VAR5);
DRAWICON(CROSS(H1,H2) AND CLOSE<EMA(CLOSE,60),LOW,1);
DRAWICON(VAR6,H,2);
STICKLINE(H1>H2,H1,H2,1,1),COLORRED;
STICKLINE(H1<H2,H1,H2,1,1),COLORGREEN;
SZ:=(EMA(C,18));
STICKLINE(((C >= SZ) AND (C >= O)),H,L,0,1),COLORRED;
STICKLINE(((C >= SZ) AND (C >= O)),O,C,4,0),COLORRED;
STICKLINE(((C >= SZ) AND (C <= O)),H,L,0,0),COLORGREEN;
STICKLINE(((C >= SZ) AND (C <= O)),O,C,4,0),COLORGREEN;
STICKLINE(((C < SZ) AND (C >= O)),H,L,0,1),COLORRED;
STICKLINE(((C < SZ) AND (C >= O)),O,C,4,0),COLORRED;
STICKLINE(((C < SZ) AND (C <= O)),H,L,0,0),COLORGREEN;
STICKLINE(((C < SZ) AND (C <= O)),O,C,4,0),COLORGREEN;
gd15412