神偷通达信公式 副图 源码附图
STICKLINE(CLOSE>0,0,100,15,0),COLOR781816;
X_1:=LLV(LOW,36);
X_2:=HHV(HIGH,30);
X_3:=EMA((CLOSE-X_1)/(X_2-X_1)*4,4)*25;
X_4:=X_3;
X_5:=(X_3-LLV(X_3,21))/(HHV(X_3,21)-LLV(X_3,21))*4*25;
X_6:=10;
X_7:=IF(COUNT(X_4>REF(X_4,1),1)=1 AND REF(X_4,1)<REF(REF(X_4,1),1) AND X_4<X_6,50,0);
X_8:=CROSS(X_7,X_6);
X_9:=IF(CROSS(X_5,5) AND X_8<10,40,0);
X_10:=EMA(EMA(CLOSE,18),13);
X_11:=(X_10-REF(X_10,1))/REF(X_10,1)*5000;
X_12:=CROSS(X_11,0);
开始控盘:IF(X_12,50,0),COLORYELLOW;
无庄控盘:0,COLORWHITE;
STICKLINE(X_11<0,X_11,0,4,0),COLORWHITE;
STICKLINE(X_11>REF(X_11,1) AND X_11>0,X_11,0,4,1),COLORRED;
有庄控盘:0,COLORRED;
X_13:=100*WINNER(CLOSE*0.95);
STICKLINE(X_11<REF(X_11,1) AND X_11>0,X_11,0,4,0),COLORGREEN;
主力出货:0,COLORGREEN;
STICKLINE(X_13>50 AND COST(85)<CLOSE AND X_11>0,X_11,0,4,0),COLORMAGENTA;
高度控盘:0,COLORMAGENTA;
DRAWICON(X_13>50 AND COST(85)<CLOSE AND X_11>0 AND REF(X_11,1)>=X_11,X_11+30,2);
X_14:=(EMA(CLOSE,12)-EMA(CLOSE,26))*50;
X_15:=EMA(X_14,9);
X_16:=2*(X_14-X_15);
印钞拐点:CROSS(X_14,X_15) AND X_15<=(-6),COLORRED,LINETHICK3;
DRAWTEXT(印钞拐点,41,1),COLORRED;
STICKLINE(CROSS(X_14,X_15) AND X_15<=(-6),0,45,5,0),COLOR008888;
STICKLINE(CROSS(X_14,X_15) AND X_15<=(-6),0,45,2,0),COLOR00AAAA;
STICKLINE(CROSS(X_14,X_15) AND X_15<=(-6),0,45,1,0),COLOR00CCCC;
STICKLINE(CROSS(X_14,X_15) AND X_15<=(-6),0,45,0.2,0),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
当满足条件收盘价>0时,在0和100之间画柱状线
X_1赋值:36日内最低价最低值
X_2赋值:30日内最高价最高值
X_3赋值:EMA((收盘价-X_1)/(X_2-X_1)*4,4)*25
X_4赋值:X_3
X_5赋值:(X_3-21日内X_3最低值)/(21日内X_3最高值-21日内X_3最低值)*4*25
X_6赋值:10
X_7赋值:IF(COUNT(X_4>1日前的X_4,1)=1 AND 1日前的X_4<1日前的1日前的X_4 AND X_4
X_8赋值:X_7上穿X_6
X_9赋值:IF(X_5上穿5 AND X_8<10,40,0)
X_10:=收盘价的18日指数移动平均,13)
X_11:=(X_10-1日前的X_10)/1日前的X_10*5000
X_12:=X_11上穿0
如果X_12返回50否则返回0
输出无庄控盘:0,画白色
当满足条件X_11<0时,在X_11和0之间画柱状线
STICKLINE(X_11>1日前的X_11 AND X_11>0,X_11,0,4,1),画红色
输出有庄控盘:0,画红色
X_13:=100*收盘价*0.95计算的获利盘比例
STICKLINE(X_11<1日前的X_11 AND X_11>0,X_11,0,4,0),画绿色
输出主力出货:0,画绿色
STICKLINE(X_13>50 AND 获利盘为85%的成本分布<收盘价 AND X_11>0,X_11,0,4,0),画洋红色
输出高度控盘:0,画洋红色
DRAWICON(X_13>50 AND 获利盘为85%的成本分布<收盘价 AND X_11>0 AND 1日前的X_11>=X_11,X_11+30,2)
X_14:=(收盘价的12日指数移动平均-收盘价的26日指数移动平均)*50
X_15:=X_14的9日指数移动平均
X_16:=2*(X_14-X_15)
输出印钞拐点:X_14上穿X_15 AND X_15<=(-6),画红色, 线宽为3
当满足条件印钞拐点时,在41和1位置书写文字
STICKLINE(X_14上穿X_15 AND X_15<=(-6),0,45,5,0),COLOR008888
STICKLINE(X_14上穿X_15 AND X_15<=(-6),0,45,2,0),COLOR00AAAA
STICKLINE(X_14上穿X_15 AND X_15<=(-6),0,45,1,0),COLOR00CCCC
STICKLINE(X_14上穿X_15 AND X_15<=(-6),0,45,0.2,0),画黄色