飞狐绿山烽火副图指标
源码
N:= 3;N1:= 5;M:= 80;VT:= 248;
A:= WINNER(CLOSE)*100, , color9999ff;
MA(A,3),stick ,linethick4, color3399cc;
MA(A,7),stick , linethick4,colorffff99;
MA(A,14),stick , linethick4,color00ee00;
MA(A,28),stick , linethick4,color00cc00;
MA(A,49),stick , linethick4,color00aa00;
MA(A,70),stick , linethick4,color009900;
Var1:=HHV(VOL,VT);
相对能量: VOL/Var1*100,stick , colorcc0066;
火: EMA(WINNER(CLOSE),2)*100, , color6600ff;
DD: MA(WINNER(CLOSE),N)*100, , COLORYELLOW;
DC: MA(WINNER(CLOSE),N1)*100, ,
DRAWICON(CROSS(火,DC) AND REF(火,2)
D1:= DMA(CLOSE,WINNER(CLOSE)/(WINNER(CLOSE)+N1));