飞狐股经牛魔王副图指标
{
注意:在使用中一定要对信号出现时的市场环境和个股
的走势有一个清醒的认识。 }
源码
n:=3;
CYC1:=0.01*EMA(AMOUNT,5)/EMA(VOL,5);
CYC2:=0.01*EMA(AMOUNT,13)/EMA(VOL,13);
CYC3:=0.01*EMA(AMOUNT,34)/EMA(VOL,34);
CYC∞:=DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7)));
CYCMAX1:=MAX(CYC1,CYC2);
CYCMAX2:=MAX(CYC3,CYC∞);
CYCMAX:=MAX(CYCMAX1,CYCMAX2);
Var1:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
Var2:=Var1+Var1*34/100;
Var3:=LOW;
Var4:=REF(LOW,1);
Var5:=SMA(ABS(Var3-Var4),3,1)/SMA(MAX(Var3-Var4,0),N,1)*100;
Var6:=MA(IF(CLOSE*1.68<=CYCMAX,Var5*10,Var5/10),N);
Var7:=LLV(LOW,30);
Var8:=HHV(Var6,30);
牛魔王: MA(IF(LOW<=Var7,(Var6+Var8*2)/2,0),N);
IF(牛魔王>10000,牛魔王,0), , COLORRED;