新春招财通达信公式 主图 源码附图

X_1:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210; X_2:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210; X_3:=EMA(X_1,90); X_4:=EMA(X_2,90); X_5:=X_3-X_4; X_6:=X_3+X_5*2; X_7:=X_4-X_5*2; X_8:=XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25)+XMA(XMA(HIGH,25),25); X_9:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25)); X_10:=X_9>=X_7 AND X_8>=X_6; X_11:=X_8<=X_6 AND X_9<=X_7; X_12:=X_9>=X_7 AND X_8<=X_6; X_13:=2*(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))+XMA(XMA(HIGH,25),25); X_14:=XMA(XMA(LOW,25),25)-2*(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25)); X_15:=(CLOSE-X_14)/(X_13-X_14)*100; X_16:=(OPEN-X_14)/(X_13-X_14)*100; X_17:=(HIGH-X_14)/(X_13-X_14)*100; X_18:=(LOW-X_14)/(X_13-X_14)*100; X_19:=CONST(LOW+(HIGH-LOW)*(110-X_16)/(X_17-X_18)); X_20:=CONST(LOW+(HIGH-LOW)*((-10)-X_16)/(X_17-X_18)); X_21:=EMA(EMA(CLOSE,3)-EMA(CLOSE,6),9); X_22:=REF(X_21,1); X_23:=EMA(EMA(EMA(CLOSE,3)-EMA(CLOSE,9),3)-EMA(EMA(CLOSE,3)-EMA(CLOSE,9),9),9); X_24:=REF(X_23,1); X_25:=X_18<20 AND X_17>20; X_26:=X_17>80 AND X_18<80; X_27:=X_17<20; X_28:=X_18>80; STICKLINE(X_10=1,X_19,X_20,5,0),COLOR000066; STICKLINE(X_11=1,X_19,X_20,5,0),COLOR003300; STICKLINE(X_12=1,X_19,X_20,5,0),COLOR555555; 打底:CONST(LOW+(HIGH-LOW)*((-10)-X_16)/(X_17-X_18)),DOTLINE,COLORGREEN; 做多:CONST(LOW+(HIGH-LOW)*(20-X_16)/(X_17-X_18)),DOTLINE,COLORLIGREEN; 中线:CONST(LOW+(HIGH-LOW)*(50-X_16)/(X_17-X_18)),DOTLINE,COLORYELLOW; 做空:CONST(LOW+(HIGH-LOW)*(80-X_16)/(X_17-X_18)),DOTLINE,COLORLIRED; 逃顶:CONST(LOW+(HIGH-LOW)*(110-X_16)/(X_17-X_18)),DOTLINE,COLORRED; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); STICKLINE(X_25=1,LOW,CONST(LOW+(HIGH-LOW)*(20-X_16)/(X_17-X_18)),0.12,1),COLORMAGENTA; STICKLINE(X_26=1,HIGH,CONST(LOW+(HIGH-LOW)*(80-X_16)/(X_17-X_18)),0.12,1),COLORCYAN; STICKLINE(X_22<X_21 OR X_24<X_23,OPEN,CLOSE,0.12,0),COLORGREEN; STICKLINE(X_21<X_22,OPEN,CLOSE,0.12,0),COLORYELLOW; STICKLINE(X_27=1,CLOSE,OPEN,0.12,0),COLORBLUE; STICKLINE(X_28=1,CLOSE,OPEN,0.12,0),COLORRED; DRAWTEXT(ISLASTBAR,CONST(LOW+(HIGH-LOW)*(108-X_16)/(X_17-X_18)),1),COLORMAGENTA; DRAWTEXT(ISLASTBAR,CONST(LOW+(HIGH-LOW)*(80-X_16)/(X_17-X_18)),2),COLORGREEN; DRAWTEXT(ISLASTBAR,CONST(LOW+(HIGH-LOW)*(50-X_16)/(X_17-X_18)),3),COLORYELLOW; DRAWTEXT(ISLASTBAR,CONST(LOW+(HIGH-LOW)*(20-X_16)/(X_17-X_18)),4),COLORRED; DRAWTEXT(ISLASTBAR,CONST(LOW+(HIGH-LOW)*((-9)-X_16)/(X_17-X_18)),5),COLORMAGENTA; X_29:=CROSS(20,X_18) AND X_10=1; X_30:=CROSS(X_17,80) AND X_10=1 AND X_12=0; X_31:=CROSS(X_17,80) AND X_11=1; X_32:=CROSS(20,X_18) AND X_11=1 AND X_12=0; X_33:=CROSS(20,X_18) AND X_12=1; X_34:=CROSS(X_17,80) AND X_12=1; DRAWICON(X_32=1,LOW,1); DRAWICON(X_30=1,HIGH,2); DRAWTEXT(X_29=1 OR X_33=1,HIGH,9),COLORGREEN; DRAWTEXT(X_31=1 OR X_34=1,LOW,10),COLORRED;  


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

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

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