通达信妖股主图指标 妖股成型 捉拿妖股 源码 附图

MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
MA6:MA(CLOSE,120);
X_1:=MACD.DIF#DAY;
X_2:=MACD.DEA#DAY;
X_3:=CROSS(X_1,X_2);
X_4:=MACD.DIF#WEEK;
X_5:=MACD.DEA#WEEK;
X_6:=CROSS(X_4,X_5);
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
X_9:=CROSS(X_7,X_8);
X_10:=IF(CROSS(X_4,X_5),MACD.DIF+0.1,0);
X_11:=IF(X_1>X_2 AND X_4>X_5 AND X_9 OR (X_4>X_5 AND X_7>X_8 AND X_3) AND CLOSE/REF(CLOSE,1)>1.08 OR (X_7>X_8 AND X_1>X_2 AND X_6) OR (X_3 AND X_6 AND X_9),MACD.DIF+0.2,0);
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,3.2,0),COLOR0077FF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,2.5,0),COLOR0099FF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,1.9,0),COLOR00BBFF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,1.2,0),COLOR00DDFF;
STICKLINE(X_10 AND CLOSE/REF(CLOSE,1)>1.05,OPEN,REF(CLOSE,1)*1.05,0.3,0),COLORYELLOW;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,3,0),COLOR000099;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,2.2,0),COLOR0000CC;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,1.5,0),COLORRED;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,CLOSE,REF(CLOSE,1)*1.05,0.5,0),COLORCC66FF;
STICKLINE(X_11 AND CLOSE/REF(CLOSE,1)>1.08,REF(CLOSE,1)*1.05,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(X_11 AND CLOSE/REF(CLOSE,1)>1.08,REF(CLOSE,1)*1.058,'妖股成型'),COLORYELLOW;
DRAWTEXT(X_10 AND CLOSE/REF(CLOSE,1)>1.05,REF(CLOSE,1)*1.028,'捉拿妖股'),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

输出MA1:收盘价的5日简单移动平均
输出MA2:收盘价的10日简单移动平均
输出MA3:收盘价的20日简单移动平均
输出MA4:收盘价的30日简单移动平均
输出MA5:收盘价的60日简单移动平均
输出MA6:收盘价的120日简单移动平均
X_1赋值:MACD.DIF#DAY
X_2赋值:MACD.DEA#DAY
X_3赋值:X_1上穿X_2
X_4赋值:MACD.DIF#WEEK
X_5赋值:MACD.DEA#WEEK
X_6赋值:X_4上穿X_5
X_7赋值:MACD.DIF#MONTH
X_8赋值:MACD.DEA#MONTH
X_9赋值:X_7上穿X_8
X_10:=IF(X_4上穿X_5,MACD.DIF+0.1,0)
X_11:=IF(X_1>X_2 AND X_4>X_5 AND X_9 OR (X_4>X_5 AND X_7>X_8 AND X_3) AND 收盘价/1日前的收盘价>1.08 OR (X_7>X_8 AND X_1>X_2 AND X_6) OR (X_3 AND X_6 AND X_9),MACD.DIF+0.2,0)
STICKLINE(X_10 AND 收盘价/1日前的收盘价>1.05,开盘价,1日前的收盘价*1.05,3.2,0),COLOR0077FF
STICKLINE(X_10 AND 收盘价/1日前的收盘价>1.05,开盘价,1日前的收盘价*1.05,2.5,0),COLOR0099FF
STICKLINE(X_10 AND 收盘价/1日前的收盘价>1.05,开盘价,1日前的收盘价*1.05,1.9,0),COLOR00BBFF
STICKLINE(X_10 AND 收盘价/1日前的收盘价>1.05,开盘价,1日前的收盘价*1.05,1.2,0),COLOR00DDFF
STICKLINE(X_10 AND 收盘价/1日前的收盘价>1.05,开盘价,1日前的收盘价*1.05,0.3,0),画黄色
STICKLINE(X_11 AND 收盘价/1日前的收盘价>1.08,收盘价,1日前的收盘价*1.05,3,0),COLOR000099
STICKLINE(X_11 AND 收盘价/1日前的收盘价>1.08,收盘价,1日前的收盘价*1.05,2.2,0),COLOR0000CC
STICKLINE(X_11 AND 收盘价/1日前的收盘价>1.08,收盘价,1日前的收盘价*1.05,1.5,0),画红色
STICKLINE(X_11 AND 收盘价/1日前的收盘价>1.08,收盘价,1日前的收盘价*1.05,0.5,0),COLORCC66FF
STICKLINE(X_11 AND 收盘价/1日前的收盘价>1.08,1日前的收盘价*1.05,收盘价,0.5,0),画黄色
DRAWTEXT(X_11 AND 收盘价/1日前的收盘价>1.08,1日前的收盘价*1.058,'妖股成型'),画黄色
DRAWTEXT(X_10 AND 收盘价/1日前的收盘价>1.05,1日前的收盘价*1.028,'捉拿妖股'),画黄色

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图