飞狐黑马寻踪副图指标
源码
{参数描述: N(5,300,20)P(0.1,10,2)P1(0,300,15)P2(0,300,3)}
Var1:=IF(DATE<=1040130,1,0);
MA1: (REF(HIGH,1)+REF(LOW,1))/2;
K: MA(CLOSE,20)*Var1;
MA4: MA(HIGH,30)*1.145*Var1;
K1: K+P*STD(CLOSE,20);
MA3: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2)*Var1;