将分时横盘公式改为预警公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

{分时横盘公式}tt:=BARSCOUNT(C);CC:=CLOSE;zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);zz1:=BETWEEN(C/zz,1.05,0.95);均线:IF(zz1=0,MA(C,TT),zz),COLOR00FFFF,LINETHICK0;上均:均线 + AVEDEV(C,tt)*2,COLOR00FF00,LINETHICK0;下均:均线 - AVEDEV(C,tt)*2,COLORFF6600,LINETHICK0;时长:=if(HOUR>=13 AND HOUR<15 ,1,0);涨幅:=(close/DYNAINFO(3))>=1.03;跌幅:=(close/DYNAINFO(3))<=0.97;涨跌幅:=涨幅 OR 跌幅;yy:=SMA(vol,30,1);放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and CROSS(CC,上均)and DYNAINFO(22)

解答:

 tt:=BARSCOUNT(C);

CC:=CLOSE;
zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);
zz1:=BETWEEN(C/zz,1.05,0.95);
均线:=IF(zz1=0,MA(C,TT),zz);
上均:=均线 + AVEDEV(C,tt)*2;
时长:=if(HOUR>=13 AND HOUR<15 ,1,0);
涨幅:=(close/DYNAINFO(3))>=1.03;
跌幅:=(close/DYNAINFO(3))<=0.97;
涨跌幅:=涨幅 OR 跌幅;
yy:=SMA(vol,30,1);
放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量  and CROSS(CC,上均)and DYNAINFO(22)<DYNAINFO(23) ;
预警:FILTER(横涨,100) ;

选股票看什么指标最好 >股票指标网