通达信潜伏主升主图指标公式源码

X_1:=1;
X_2:=ma(CLOSE,60);
X_3:=MA(CLOSE,120);
DRAWBAND(X_2,RGB(90,0,0),X_3,RGB(0,90,0));
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_4:=REF(CLOSE,1);
X_5:=IF((CLOSE-X_4)*100/X_4>=10-0.01*100/X_4,1,0);
stICKLINE(X_5,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(X_5,HIGH,LOW,0,0),COLORRED;
X_6:=IF((X_4-CLOSE)*100/X_4>=10-0.01*100/X_4,1,0);
STICKLINE(X_6,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_6,HIGH,LOW,0,1),COLORGREEN;
X_7:=IF(REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1)*1.014 AND CLOSE<OPEN*1.02,1,3);
X_8:=MA(vol,5);
X_9:=MA(VOL,12);
X_10:=MA(CLOSE,6);
X_11:=crOSS(CLOSE,X_10);
X_12:=VOL>X_8*1.2 AND VOL>X_9*1.2;
X_13:=X_7>2 AND CLOSE>HIGH*0.975;
X_14:=X_11 AND X_12 AND X_13;
X_15:=CLOSE<=OPEN;
X_16:=COUNT(X_15,5)>=4;
X_17:=REF(X_16,1);
X_18:=X_14 AND X_17;
X_19:=VOL>=HHV(VOL,20);
X_20:=VOL/REF(VOL,1)>1.5;
X_21:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_22:=EMA(X_21,9);
X_23:=2*(X_21-X_22);
X_24:=REF(CLOSE>OPEN OR OPEN>CLOSE,65) AND REF(CLOSE>OPEN OR OPEN>CLOSE,116) AND REF(CLOSE>OPEN OR OPEN>CLOSE,10);
X_25:=REF(X_23,1)<REF(X_23,2) AND X_23>=0 AND X_23>REF(X_23,1);
X_26:=CAPITAL<6000000;
X_27:=CLOSE/REF(CLOSE,1)>1.04;
X_28:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN;
X_29:=(X_18 AND X_19 AND X_20 AND X_25 AND X_26 AND X_27 AND X_28 AND X_24)*X_1;
DRAWICON(X_29,LOW*0.98,9);
DRAWICON(X_29,LOW*0.99,5);




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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