通达信大资金进场
VAR1:=REF(LOW,1);
VAR2:=(SMA(ABS(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),13,1))*4;
VAR3:=EMA(VAR2,13);
VAR4:=LLV(LOW,34);
{}
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
VAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR8:=VAR6<REF(VAR7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,8,0),COLORAA00BB;{粉色住}
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,8,0),COLORBB11BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,5,0),COLORCC22BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,3,0),COLORDD33BB;
STICKLINE(VAR8 AND COUNT(VAR8,18)=1,0,18,1,0),COLOREE44BB;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,16,'●↙大资金进场'),COLOR0099FF;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,12,'●↙择机买入'),COLOR0033FF;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,8,'●↙多数会涨'),COLORFFFFAA;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:1日前的最低价
VAR2赋值:(SMA(最低价-VAR1的绝对值,13,1))/(SMA(最低价-VAR1和0较大值,13,1))*4
VAR3赋值:VAR2的13日指数移动平均
VAR4赋值:34日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
VAR6赋值:100-3*SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
VAR7赋值:100-3*SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
VAR8赋值:VAR6<1日前的VAR7 AND 成交量>1日前的成交量 AND 收盘价>1日前的收盘价
STICKLINE(VAR8 AND 统计18日满足VAR8的天数=1,0,18,8,0),COLORAA00BB
{粉色住}
STICKLINE(VAR8 AND 统计18日满足VAR8的天数=1,0,18,8,0),COLORBB11BB
STICKLINE(VAR8 AND 统计18日满足VAR8的天数=1,0,18,5,0),COLORCC22BB
STICKLINE(VAR8 AND 统计18日满足VAR8的天数=1,0,18,3,0),COLORDD33BB
STICKLINE(VAR8 AND 统计18日满足VAR8的天数=1,0,18,1,0),COLOREE44BB
DRAWTEXT(VAR8 AND 统计18日满足VAR8的天数=1,16,'●↙大资金进场'),COLOR0099FF
DRAWTEXT(VAR8 AND 统计18日满足VAR8的天数=1,12,'●↙择机买入'),COLOR0033FF
DRAWTEXT(VAR8 AND 统计18日满足VAR8的天数=1,8,'●↙多数会涨'),COLORFFFFAA