飞狐移动K线主图指标
源码
N:=20;
MA1: MA(CLOSE,5);
MA2: MA(CLOSE,10);
MA3: MA(CLOSE,20);
MA4: MA(CLOSE,30);
MA5: EMA(REF(CLOSE,N),5);
STICKLINE(REF(CLOSE,N)
STICKLINE(REF(CLOSE,N)>REF(OPEN,N),REF(OPEN,N),REF(CLOSE,N),7,1);
STICKLINE(REF(OPEN,N)=REF(CLOSE,N),REF(OPEN,N),REF(CLOSE,N),7,1);
STICKLINE(REF(CLOSE,N)
STICKLINE(REF(CLOSE,N)>REF(OPEN,N) AND REF(CLOSE,N)>REF(OPEN,N+1),REF(HIGH,N),REF(CLOSE,N),0,0);
STICKLINE(REF(CLOSE,N)>REF(OPEN,N) AND REF(CLOSE,N)>REF(OPEN,N),REF(LOW,N),REF(OPEN,N),0,0);