同花顺大资金进场副图指标 底部结构关注 源码
VARF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR20:=VARF<REF(VAR19,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
逢低关注:IF(VAR20 AND COUNT(VAR20,30)=1,1,0),LINETHICK1,colorred;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.95,0.2,0),colorred;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.9,1,0),colorred;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.8,2,0),colormagenta;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.7,3,0),colormagenta;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.6,4,0),colorblue;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.5,5,0),colorblue;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.4,6,0),colorblue;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.3,7,0),coloryellow;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.2,8,0),coloryellow;
STICKLINE(VAR20 AND COUNT(VAR20,30)=1,0,0.1,10,0),coloryellow;
DRAWTEXT(VAR20 AND COUNT(VAR20,30)=1,0.53,' ...底部结构'),colorred;
DRAWTEXT(VAR20 AND COUNT(VAR20,30)=1,0.22,' ...关注'),coloryellow;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VARF赋值:100-3*SMA((收盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((收盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VAR19赋值:100-3*SMA((开盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((开盘价-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VAR20赋值:VARF<1日前的VAR19 AND 成交量>1日前的成交量 AND 收盘价>1日前的收盘价
输出逢低关注:IF(VAR20 AND 统计30日满足VAR20的天数=1,1,0),LINETHICK1,画红色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.95,0.2,0),画红色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.9,1,0),画红色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.8,2,0),画洋红色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.7,3,0),画洋红色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.6,4,0), 画蓝色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.5,5,0), 画蓝色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.4,6,0), 画蓝色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.3,7,0),画黄色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.2,8,0),画黄色
STICKLINE(VAR20 AND 统计30日满足VAR20的天数=1,0,0.1,10,0),画黄色
DRAWTEXT(VAR20 AND 统计30日满足VAR20的天数=1,0.53,' ...底部结构'),画红色
DRAWTEXT(VAR20 AND 统计30日满足VAR20的天数=1,0.22,' ...关注'),画黄色