通达信波段潜伏建仓指标公式源码副图

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:=crOSS(85,X_2)*30;
卖:IF(X_3,6.5,0),STICK,COLORGREEN,LINETHICK4;
X_4:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
X_5:=EMA(X_4,3);
X_6:=EMA(X_4,5);
X_7:=EMA(X_4,7);
STICKLINE(X_5>X_6,X_7,X_5,3,1),COLORRED;
STICKLINE(X_5<X_6,X_7,X_5,2,0),COLORCYAN;
X_8:=X_6>X_7 AND X_5<REF(X_5,1);
X_9:=X_6<X_7 AND X_5>REF(X_5,1);
STICKLINE(X_8,X_5,X_7,2,0),COLORYELLOW;
STICKLINE(X_9,X_5,X_7,3,1),COLORMAGENTA;
X_10:=SMA(X_4,13,1);
分水岭:SMA(X_10,2.5,1.5),COLORWHITE,LINETHICK2;
牛线:3*X_10-2*分水岭,COLORMAGENTA,LINETHICK2;
熊线:4*分水岭-3*X_10,COLORFF6633,LINETHICK2;
X_11:=(REF(HIGH,1)+REF(LOW,1))/2;
X_12:=REF(CLOSE,1);
X_13:=SMA(MAX(CLOSE-X_12,0),6,1)/SMA(ABS(CLOSE-X_12),6,1)*100;
DRAWICON(CROSS(90,X_13),HIGH*0.8,9);
X_14:=CLOSE-REF(CLOSE,1);
X_15:=HHV(HIGH,34);
X_16:=(2*CLOSE+HIGH+LOW)/4;
X_17:=LLV(LOW,34);
X_18:=EMA((X_16-X_17)/(X_15-X_17)*100,13);
X_19:=EMA(0.667*REF(X_18,1)+0.333*X_18,2);
X_20:=X_18-X_19>1 AND X_18<30 AND X_19<30;
DRAWTEXT(FILTER(X_20,30),LOW*0.05,94),COLORYELLOW;
X_21:=REF(CLOSE,1);
X_22:=SMA(MAX(CLOSE-X_21,0),6,1)/SMA(ABS(CLOSE-X_21),6,1)*100;
DRAWTEXT(CROSS(82,X_22),HIGH*0.9,95),COLORGREEN;
X_23:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
X_24:=SMA(X_23,3,1);
X_25:=SMA(X_24,3,1);
X_26:=3*X_24-2*X_25;
X_27:=(2*CLOSE+HIGH+LOW)/3;
X_28:=EMA(EMA(EMA(X_27,4),4),4);
X_29:=(X_28-REF(X_28,1))/REF(X_28,1)*100;
X_30:=MA(X_29,3)+0.03;
X_31:=MA(X_29,1);
DRAWICON(CROSS(X_30,X_31) AND X_26>90,HIGH*0.96,12),COLORGREEN;
DRAWTEXT(CROSS(X_30,X_31) AND X_26>90,HIGH*1.02,96),COLORCYAN;
X_32:=REF(CLOSE,1);
X_33:=SMA(MAX(CLOSE-X_32,0),4.1,1)/SMA(ABS(CLOSE-X_32),4.1,1)*100;
建仓:CROSS(X_33,11)*10,COLORRED;



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

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

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

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