通达信潜伏操盘副指标支持手机电脑版公式副图源码


VAR1:=MA(C,5);
VAR2:=MA(C,10);
VAR3:=MA(C,20);
VAR4:=MA(C,60);
VAR5:=ABS(VAR1-VAR2)+ABS(VAR2-VAR3)+ABS(VAR1-VAR3);
VAR6:=IF(VAR5/C< 6/100,2,0);
VAR7:=VOL/REF(MA(VOL,5),1);
VAR8:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR9:=EMA(VAR8,9);
MACD:=2*(VAR8-VAR9);
X_1:=IF(CROSS(VAR8,VAR9) AND MACD>REF(MACD,1),1,0);
X_2:=IF(CROSS(VAR8,VAR9) AND VAR8< 0 AND VAR9< 0 AND MACD>REF(MACD,1),1,0);
X_3:=IF(VAR8>0 AND VAR9>0 AND CROSS(VAR8,VAR9) AND MACD>REF(MACD,1),1,0);
X_4:=IF(VOL< REF(LLV(VOL,150),1),1.5,0);
X_5:=IF(VOL< REF(LLV(VOL,120),1),1.2,0);
X_6:=IF(VOL< REF(LLV(VOL,90),1),0.9,0);
X_7:=IF(VOL< REF(LLV(VOL,60),1),0.6,0);
X_8:=IF(VOL< REF(LLV(VOL,40),1),0.4,0);
X_9:=IF(X_2=1 AND REF(EXIST(X_2=1,40),12) AND (VAR9>REF(VAR9,12) OR VAR9>REF(VAR9,13) 
 OR VAR9>REF(VAR9,14) OR VAR9>REF(VAR9,15) OR VAR9>REF(VAR9,16) OR VAR9>REF(VAR9,17) 
 OR VAR9>REF(VAR9,18) OR VAR9>REF(VAR9,19) OR VAR9>REF(VAR9,20) OR VAR9>REF(VAR9,21) 
 OR VAR9>REF(VAR9,22) OR VAR9>REF(VAR9,23) OR VAR9>REF(VAR9,24) OR VAR9>REF(VAR9,25) 
 OR VAR9>REF(VAR9,26)),1,0);
X_10:=IF((EXIST(X_4=1.5,12) OR EXIST(X_5=1.2,12) OR EXIST(X_6=0.9,12)) AND X_1,1,0);
X_11:=IF((EXIST(X_4=1.5,12) OR EXIST(X_5=1.2,12) OR EXIST(X_6=0.9,12)) AND X_1,1,0);
X_12:=IF((EXIST(X_5=1.2,10) OR EXIST(X_6=0.9,10) OR EXIST(X_7=0.6,10) OR EXIST(X_8=0.4,10)) AND X_1,1,0);
一潜伏:X_10 AND X_2 AND (X_9 OR REF(X_9,1)) AND VAR7>1,COLORLIRED,NODRAW;
STICKLINE(一潜伏,0,1.5,2,0),COLORLIRED;
二加仓:X_11 AND C< VAR4*1.2 AND VAR7>2.2,COLORRED,NODRAW;
STICKLINE(二加仓,0,1.2,4,0),COLORRED;
SANJ:=(VAR4>REF(VAR4,1) AND REF(VAR4,1)>REF(VAR4,2)) AND (VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND VAR3>REF(VAR3,1));
三警惕:X_12 AND X_3 AND (VAR6 OR REF(VAR6,1)) AND SANJ AND C>VAR1 AND VAR1>VAR4 AND VAR3>VAR4 AND EXIST(VAR1< VAR3,5) AND VAR7>2,COLORYELLOW,NODRAW;
STICKLINE(三警惕,0,1,6,0),COLORYELLOW;




来函数检测结果如下:
该公式没有未来函数

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

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

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