指标编写学习论坛
标题:
★超跌一击★副图技术指标公式源码
[打印本页]
作者:
金钻指标
时间:
2016-5-28 10:15
标题:
★超跌一击★副图技术指标公式源码
{公式名称: ★超跌一击★
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),6,1)/SMA(ABS(CLOSE-X_1),6,1)*100;
X_3:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
X_4:=CROSS(85,X_2)*30;
X_5:=SMA(MAX(CLOSE-X_1,0),7,1)/SMA(ABS(CLOSE-X_1),7,1)*100;
X_6:=SMA(MAX(CLOSE-X_1,0),13,1)/SMA(ABS(CLOSE-X_1),13,1)*100;
X_7:=BARSCOUNT(CLOSE);
X_8:=CROSS(X_2,25);
X_9:=EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;
X_10:=EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
X_11:=CROSS(X_9,X_10) AND X_9<(-100);
X_12:=FILTER(COUNT(X_8 OR X_11,3)>=2,3);
超跌一击
X_5<20 AND X_6<25 AND X_7>50 AND X_3<70 AND X_9<(-130))*300,COLOR37D42B;
X_13:=KDJ.J#MONTH;
X_14:=KDJ.J#WEEK;
X_15:=KDJ.J;
X_16:=IF(CROSS(X_15,0),300,0);
中线买点:IF(CROSS(X_14,0),200,0),COLORRED,LINETHICK2;
长线买点:IF(CROSS(X_13,0),300,0),COLORMAGENTA,LINETHICK2;
DRAWICON(中线买点 AND X_16,5,15);
DRAWICON(中线买点 AND 长线买点,8,11);
DRAWICON(X_16 AND 长线买点,13,17);
X_17:=(HIGH+LOW+CLOSE)/3;
CCI:EMA((X_17-MA(X_17,36.027))/(0.015*AVEDEV(X_17,36.027)),2),COLORWHITE;
STICKLINE(CCI<(-150),CCI,(-150),2.5,0),COLORRED;
STICKLINE(CLOSE>0,(-150),(-151),2.5,0),COLORBLUE;
STICKLINE(CLOSE>0,150,151,2.5,0),COLORBLUE;
STICKLINE(CLOSE>0,100,100,2.5,0),COLORYELLOW;
STICKLINE(CLOSE>0,(-100),(-100),2.5,0),COLORYELLOW;
STICKLINE(CLOSE>0,0,0,2.5,0),COLORRED;
主力潜伏:COUNT(MACD.DIF<0,10)=10,NODRAW,COLORRED;
STICKLINE(主力潜伏,0,MACD.DIF*200,10,0),COLORRED;
STICKLINE(CCI<(-100),CCI,(-100),1,0),COLORMAGENTA;
(-100);
(-100),STICK,COLORYELLOW;
DRAWTEXT_FIX(1,0.88,5,0,40),COLOR889999;
欢迎光临 指标编写学习论坛 (http://shgm.net/)
Powered by Discuz! X3.2