顶底预警通达信副图指标
底:20,COLOR00BF00;支撑:44,COLORRED;顶:75,COLOR007300;N:=14;LC:=REF(CLOSE,1);【预警】:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORMAGENTA,LINETHICK2;DRAWICON(CROSS(80,【预警】),【预警】,15);DRAWICON(CROSS(【预警】,30),30,25);
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL),NODRAW;量:=V,VOLSTICK;倍量2:=(V/REF(V,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.91),NODRAW,COLORYELLOW;梯量:=COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR824173;
DRAWICON((倍量2=1 OR 梯量=1) AND 【预警】>68,70,27);
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出底:20,COLOR00BF00
输出支撑:44,画红色
输出顶:75,COLOR007300
N赋值:14
LC赋值:1日前的收盘价
输出【预警】:SMA(收盘价-LC和0较大值,N,1)/SMA(收盘价-LC的绝对值,N,1)*100,COLORMAGENTA,LINETHICK2
DRAWICON(80上穿【预警】,【预警】,15)
DRAWICON(【预警】上穿30,30,25)
如果CURRBARSCOUNT=1 AND PERIOD=5返回V*240/FROMOPEN否则返回DRAWNULL
量赋值:V,成交量STICK
倍量2:=(V/1日前的V>=1.91 AND 统计1日满足C>O的天数) OR (L>1日前的H AND 统计1日满足O>C的天数 AND V/1日前的V>=1.91),NODRAW,画黄色
梯量赋值:COUNT(V>1日前的V,3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR824173
DRAWICON((倍量2=1 OR 梯量=1) AND 【预警】>68,70,27)