主力清洗检测主力介入、洗盘、拉升、出货等动作通达信公式 副图 源码附图无漂移 无加密
VAR1:=REF((LOW + OPEN + CLOSE + HIGH) / 4, 1);
VAR2:=SMA (ABS (LOW - VAR1), 13,1) / SMA (MAX(LOW-VAR1, 0),10,1);
VAR3:= EMA (VAR2, 10);
VAR4:= LLV (LOW, 33);
VAR5:= EMA(IF(LOW <= VAR4, VAR3, 0), 3);
Z:0, COLORWHITE;
主力进场:IF (VAR5>REF (VAR5,1),VAR5,0),COLORRED, NODRAW;
洗盘:IF (VAR5 < REF (VAR5,1), VAR5, 0), COLORGREEN, NODRAW;
STICKLINE (VAR5 < REF (VAR5,1), 0, VAR5, 3, 0), COLORGREEN;
STICKLINE (VAR5 > REF (VAR5,1), 0, VAR5, 3, 0), COLOR000055;
STICKLINE (VAR5 > REF (VAR5, 1), 0, VAR5, 2.6, 0),COLOR000077;
STICKLINE (VAR5 > REF (VAR5, 1), 0,VAR5, 2.1, 0), COLOR000099;
STICKLINE (VAR5 > REF (VAR5,1),0,VAR5,1.5, 0), COLOR0000BB;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.9, 0), COLOR0000DD;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.3, 0), COLOR0000FF;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,3,0), COLOR005500;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,2.6,0), COLOR007700;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,2.1, 0), COLOR009900;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,1.5, 0), COLOR00BB00;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,0.9, 0), COLOR00DD00;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,0.3, 0), COLOR00FF00;
VAR21:=SMA (ABS (HIGH - VAR1), 13, 1) / SMA (MIN (HIGH-VAR1, 0),10,1);
{股票指标网 WWW.}
VAR31:=EMA (VAR21, 10);
VAR41:=HHV (HIGH, 33);
VAR51:= EMA(IF(HIGH >= VAR41, VAR31, 0), 3);
主力拉高:IF(VAR51<REF (VAR51,1),VAR51,0),COLORYELLOW,NODRAW;
STICKLINE (VAR51 < REF (VAR51, 1), 0, VAR51, 3,0), COLORYELLOW;
出货: IF (VAR51 >REF (VAR51,1), VAR51, 0), COLORCYAN, NODRAW;
STICKLINE (VAR51 > REF (VAR51, 1), 0, VAR51,3,0), COLORCYAN;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:REF((最低价 + 开盘价 + 收盘价 + 最高价) / 4, 1)
VAR2赋值:SMA (ABS (最低价 - VAR1), 13,1) / SMA (最低价-VAR1和 0较大值,10,1)
VAR3赋值: EMA (VAR2, 10)
VAR4赋值: LLV (最低价, 33)
如果最低价 <= VAR4返回 VAR3否则返回 0
输出Z:0, 画白色
输出主力进场:IF (VAR5>REF (VAR5,1),VAR5,0),画红色, NODRAW
输出洗盘:IF (VAR5 < REF (VAR5,1), VAR5, 0), 画绿色, NODRAW
STICKLINE (VAR5 < REF (VAR5,1), 0, VAR5, 3, 0), 画绿色
STICKLINE (VAR5 > REF (VAR5,1), 0, VAR5, 3, 0), COLOR000055
STICKLINE (VAR5 > REF (VAR5, 1), 0, VAR5, 2.6, 0),COLOR000077
STICKLINE (VAR5 > REF (VAR5, 1), 0,VAR5, 2.1, 0), COLOR000099
STICKLINE (VAR5 > REF (VAR5,1),0,VAR5,1.5, 0), COLOR0000BB
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.9, 0), COLOR0000DD
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.3, 0), COLOR0000FF
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,3,0), COLOR005500
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,2.6,0), COLOR007700
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,2.1, 0), COLOR009900
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,1.5, 0), COLOR00BB00
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,0.9, 0), COLOR00DD00
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,0.3, 0), COLOR00FF00
VAR21:=SMA (ABS (最高价 - VAR1), 13, 1) / SMA (MIN (最高价-VAR1, 0),10,1)
{股票指标网 WWW.}
VAR31:=EMA (VAR21, 10)
VAR41:=HHV (最高价, 33)
如果最高价 >= VAR41返回 VAR31否则返回 0
输出主力拉高:IF(VAR51[
STICKLINE (VAR51 < REF (VAR51, 1), 0, VAR51, 3,0), 画黄色]
输出出货: IF (VAR51 >REF (VAR51,1), VAR51, 0), 画青色, NODRAW
STICKLINE (VAR51 > REF (VAR51, 1), 0, VAR51,3,0), 画青色