洗盘拉高出货主力全部动作都有提示通达信公式 副图 源码附图
X_1:=C-REF(C,1);
X_2:=EMA(100*EMA(EMA(X_1,10),9)/EMA(EMA(ABS(X_1),10),9),2);
X_3:=EMA(X_2,13);
X_4:=REF(X_3,1);
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);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,LINETHICK0;
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;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLOR000079,LINETHICK0;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR000079;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR000093;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR0000C6;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR4A4AFF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR7D7DFF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLORAAAAFF;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);{股票指标网 整理}
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
DRAWBAND(X_3,RGB(200,200,0),X_4,RGB(0,0,200));
主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),COLORYELLOW,LINETHICK0;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR005555;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLOR007777;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR009999;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLOR11BBBB;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLOR33DDDD;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR55FFFF;
出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,LINETHICK0;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLOR555555;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0),COLOR777777;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLOR999999;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0),COLORBBBBBB;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0),COLORDDDDDD;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORFFFFFF;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
X_1赋值:C-1日前的C
X_2赋值:100*X_1的10日指数移动平均,9)/EMA(EMA(X_1的绝对值,10),9),2)
X_3赋值:X_2的13日指数移动平均
X_4赋值:1日前的X_3
VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR3赋值:VAR2的10日指数移动平均
VAR4赋值:33日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
输出主力进场:IF(VAR5>1日前的VAR5,VAR5,0),画红色,LINETHICK0
STICKLINE(VAR5>1日前的VAR5,0,VAR5,3,0 ),COLOR000055
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2.6,0 ),COLOR000077
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2.1,0 ),COLOR000099
STICKLINE(VAR5>1日前的VAR5,0,VAR5,1.5,0 ),COLOR0000BB
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.9,0 ),COLOR0000DD
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.3,0 ),COLOR0000FF
输出洗盘:IF(VAR5<1日前的VAR5,VAR5,0),COLOR000079,LINETHICK0
STICKLINE(VAR5<1日前的VAR5,0,VAR5,3,0),COLOR000079
STICKLINE(VAR5<1日前的VAR5,0,VAR5,2.6,0),COLOR000093
STICKLINE(VAR5<1日前的VAR5,0,VAR5,2.1,0),COLOR0000C6
STICKLINE(VAR5<1日前的VAR5,0,VAR5,1.5,0),COLOR4A4AFF
STICKLINE(VAR5<1日前的VAR5,0,VAR5,0.9,0),COLOR7D7DFF
STICKLINE(VAR5<1日前的VAR5,0,VAR5,0.3,0),COLORAAAAFF
VAR21:=SMA(最高价-VAR1的绝对值,13,1)/SMA(最高价-VAR1和0的较小值,10,1)
VAR31:=VAR21的10日指数移动平均
{股票指标网 整理}
VAR41:=33日内最高价最高值
如果最高价>=VAR41返回VAR31否则返回0
DRAWBAND(X_3,RGB(200,200,0),X_4,RGB(0,0,200))
输出主力拉高:IF(VAR51<1日前的VAR51,VAR51,0),画黄色,LINETHICK0
STICKLINE(VAR51<1日前的VAR51,0,VAR51,3,0),COLOR005555
STICKLINE(VAR51<1日前的VAR51,0,VAR51,2.6,0),COLOR007777
STICKLINE(VAR51<1日前的VAR51,0,VAR51,2.1,0),COLOR009999
STICKLINE(VAR51<1日前的VAR51,0,VAR51,1.5,0),COLOR11BBBB
STICKLINE(VAR51<1日前的VAR51,0,VAR51,0.9,0),COLOR33DDDD
STICKLINE(VAR51<1日前的VAR51,0,VAR51,0.3,0),COLOR55FFFF
输出出货:IF(VAR51>1日前的VAR51,VAR51,0),画青色,LINETHICK0
STICKLINE(VAR51>1日前的VAR51,0,VAR51,3,0 ),画青色
STICKLINE(VAR51>1日前的VAR51,0,VAR51,3,0),COLOR555555
STICKLINE(VAR51>1日前的VAR51,0,VAR51,2.6,0),COLOR777777
STICKLINE(VAR51>1日前的VAR51,0,VAR51,2.1,0),COLOR999999
STICKLINE(VAR51>1日前的VAR51,0,VAR51,1.5,0),COLORBBBBBB
STICKLINE(VAR51>1日前的VAR51,0,VAR51,0.9,0),COLORDDDDDD
STICKLINE(VAR51>1日前的VAR51,0,VAR51,0.3,0),COLORFFFFFF