飞龙阻击涨停指标公式
原理解析:
A1赋值:(成交量(手)/收盘价)/3
A2赋值:(如果((A1>40)AND(收盘价>(1日前的收盘价))),返回A1,否则返回0)的历史累和
A3赋值:(如果((A1>40)AND(收盘价(1日前的收盘价))),返回A1,否则返回0)的历史累和
A5赋值:(如果((A10,自定色,A6= 1),'能量:'+NUMTOSTRN(A1,2)+' 量比: '+NUMTOSTRN(A2,2),'')),线宽为4,画白色
输出输出DRAWTEXTREL(600,150,IFS((A1 180000 AND (CXH=1 OR CXH=6))
DRAWTEXTREL(10 ,10 ,'指标公式')
源码:
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A10,RGB(255,0,0),A6= 1),'能量:'+NUMTOSTRN(A1,2)+' 量比: '+NUMTOSTRN(A2,2),'')),linethick4,colorWhite;
DRAWTEXTREL(600,150,IFS((A1 180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');