源码
{玄黄EXPMA
MA1:=EMA(CLOSE,P1);
MA2:=EMA(CLOSE,P2);
EXP1:(c-ma1)*(2/(p1+1))+Ma1;
EXP2:(c-ma2)*(2/(p2+1))+MA2;
DRAWICON(FILTER(CROSS(EXP1,EXP2) ,20 ),EXP1,1);
DRAWICON(FILTER(CROSS(EXP2,EXP1) ,20),EXP1,2);
源码
{玄黄EXPMA
MA1:=EMA(CLOSE,P1);
MA2:=EMA(CLOSE,P2);
EXP1:(c-ma1)*(2/(p1+1))+Ma1;
EXP2:(c-ma2)*(2/(p2+1))+MA2;
DRAWICON(FILTER(CROSS(EXP1,EXP2) ,20 ),EXP1,1);
DRAWICON(FILTER(CROSS(EXP2,EXP1) ,20),EXP1,2);