N:=15;M:=32;
VAR1H:=DMA(AMOUNT/VOL/100, VOL/CAPITAL);
VAR2H:=MA(WINNER(HIGH)-WINNER(VAR1H), 15);
VAR3H:=MA(WINNER(LOW)-WINNER(VAR1H),32);
VAR4H:=VAR3H-VAR2H;
炮弹:IF (REF(VAR4H,2)<REF(VAR4H,1) AND REF(VAR4H,1)>VAR4H AND VAR4H>0 AND
VAR4H*10<=0.55,60,0);
九毛八公式解读
N赋值:15 M赋值:32 VAR1H赋值:以成交量(手)/当前流通股本(手)为权重成交额(元)/成交量(手)/100的动态移动平均 VAR2H赋值:以最高价计算的获利盘比例-以VAR1H计算的获利盘比例的15日简单移动平均 VAR3H赋值:以最低价计算的获利盘比例-以VAR1H计算的获利盘比例的32日简单移动平均 VAR4H赋值:VAR3H-VAR2H 输出炮弹:如果2日前的VAR4H<1日前的VAR4HANDREF(VAR4H,1)>VAR4HANDVAR4H>0ANDVAR4H*10<=0.55,返回60,否则返回0