飞狐超跌临界副图指标
源码
Var1:=AMOUNT/(100*VOL);
Var2:=MA(Var1,N1);
Var3:=MA(Var1,N2);
Var4:=MA(Var1,N3);
Var5:=DMA(CLOSE,VOL/CAPITAL);
CYS13: 100*(CLOSE-Var3)/Var3;
AA:=CYS13<-16;
BB:=CYS13>-8;
CC:=CYS13<-8 AND CYS13>-16;
STICKLINE(AA,LOW*0.95,LOW*0.90,8,0),COLORGREEN;
STICKLINE(BB,HIGH*1.08,HIGH*1.05,8,0),COLORRED;
STICKLINE(CC AND OPEN>CLOSE,OPEN,CLOSE,8,0),COLORGREEN;
STICKLINE(CC AND OPEN>CLOSE,HIGH,MAX(OPEN,CLOSE),0,1),COLORGREEN;
STICKLINE(CC AND OPEN>CLOSE,MIN(OPEN,CLOSE),LOW,0,1),COLORGREEN;
STICKLINE(CC AND OPEN<=CLOSE,OPEN,CLOSE,8,0),COLORRED;