飞狐牛熊图主图指标
源码
M5:EMA(CLOSE, 5);
M10:EMA(CLOSE, 10);
M30:EMA(CLOSE, 30);
M60:EMA(CLOSE, 60);
Var1:=EMA(CLOSE, 3)-EMA(CLOSE, 6)-(EMA(CLOSE, 6)-EMA(CLOSE, 12))*(-100);
Var2:=EMA(Var1, 3);
Var3:=EMA(CLOSE, 3)-EMA(CLOSE, 6)-(EMA(CLOSE, 24)-EMA(CLOSE, 36))*(-100);
Var4:=EMA(Var3, 9);
Var5:=CROSS(Var1, Var2);
Var6:=CROSS(Var2, Var1);
熊:STICKLINE(Var6, OPEN, CLOSE, 10, 0), COLORBLUE;
牛:STICKLINE(Var5, OPEN, CLOSE, 10, 0), COLORYELLOW;
严格纪律:STICKLINE(Var5, OPEN, CLOSE-(CLOSE-OPEN)*0.330, 10, 0), COLORMAGENTA;
赚了就跑:STICKLINE(Var5, OPEN, CLOSE-(CLOSE-OPEN)*0.660, 10, 0), COLORRED;