飞狐追风副图指标
源码
Var5:=ZIG(2,18)>REF(ZIG(2,18),1) AND REF(ZIG(2,18),1)>REF(ZIG(2,18),2);
Var6:=ZIG(1,18)<REF(ZIG(1,18),1) AND REF(ZIG(1,18),1)>REF(ZIG(1,18),2);
Var7:=ZIG(2,28)>REF(ZIG(2,28),1) AND REF(ZIG(2,28),1)>REF(ZIG(2,28),2);
Var8:=ZIG(1,28)<REF(ZIG(1,28),1) AND REF(ZIG(1,28),1)>REF(ZIG(1,28),2);
kk:EMA(CLOSE,12)-EMA(CLOSE,26),coloryellow;
gg:kk,,COLORRED,colorstick;
s:=-0.08;
追入:if(cross(kk,s) and c>o and abs(h/c)<1.01 ,gg+0.2,kk),coloryellow;