黄金主升浪通达信公式 副图 源码附图

X_1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:SMA(SMA(X_1,3,1),3,1)+3*STD(CLOSE,21),COLORGREEN;
中线:SMA(X_2,5,1)+2*STD(CLOSE,37),COLORRED,LINETHICK2;
X_3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:SMA(X_3,5,1),COLORYELLOW,LINETHICK2;
X_4:=STICKLINE(中线<15,中线,15,6,0);
X_5:=STICKLINE(中线>80,80,中线,6,0);
X_6:=MA(CLOSE,27);
X_7:=(CLOSE-X_6)/X_6*100;
X_8:=MA(X_7,2);
X_9:=BARSLAST(CROSS((-10),X_8)=1);
X_10:=X_8<(-10) AND X_9>3;
黄金坑1:IF(X_10,1,DRAWNULL),NODRAW,COLORCCCCCC;
STICKLINE(黄金坑1>0,0,40,1,0),COLORCCCCCC;
X_11:=(2*CLOSE+(HIGH-LOW)/2+LOW+OPEN)/4;
X_12:=SUM(X_11-REF(X_11,1),2)/2;
X_13:=X_11+X_12;
X_14:=(X_13+X_11)/2;
X_15:=EMA(SLOPE(X_14,21)*20+X_14,63);
X_16:=EMA(SLOPE(X_11,21)*20+X_11,63);
X_17:=(X_15+X_16)/2;
X_18:=(3*X_17-2*EMA(X_17,84))/EMA(X_17,84)*50;
黄金坑2:IF(CROSS(X_18,REF(X_18,1)),1,DRAWNULL),NODRAW,COLOR00AAFF;
STICKLINE(黄金坑2>0,0,50,1,0),COLOR00AAFF;
黄金坑3:IF(短线<20 AND 中线<20 AND 长线<20,1,DRAWNULL),NODRAW,COLORYELLOW;
STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,3,0),COLORYELLOW;
X_19:=(-100)*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
见底:IF(CROSS(X_19,(-90)) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线<20),1,DRAWNULL),NODRAW,COLORWHITE;
STICKLINE(见底>0,0,60,1,0),COLORRED;
粘合星:DRAWICON(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,38),COLORCYAN;
{股票指标网整理}
X_20:='1';
X_21:='2';
X_22:='3';
X_23:='4';
X_24:='5';
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,X_20);
DRAWTEXT(CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5),25,X_21),COLORGREEN;
DRAWTEXT(CROSS(X_19,(-90)) AND (长线<中线 AND 长线>REF(长线,1) OR 短线<20 AND 中线<20 AND 长线<20),55,X_22),COLORYELLOW;
X_25:=IF(COUNT(CROSS(X_19,(-90)),12)=3,30,5);
X_26:=IF(COUNT(CROSS((-5),X_19),12)=3 OR COUNT(CROSS((-15),X_19),6)=3,70,100);
X_27:=EMA(EMA(CLOSE,13),13);
X_28:=(X_27-REF(X_27,1))/REF(X_27,1)*1000;
X_29:=DYNAINFO(11);
X_30:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
X_31:=EMA(X_30,3);
X_32:=(CLOSE-X_29)/X_29<(-0.03);
X_33:=X_28>REF(X_28,1) AND X_28<(-0.2);
X_34:=CROSS(X_30,X_31) AND X_30<(-0.3);
主升浪启动:IF(FILTER(X_32 AND X_33 AND X_34,13),50,0),COLORMAGENTA,LINETHICK2;
DRAWTEXT(主升浪启动=50,50,X_23),COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.02,0,X_24),COLORGREEN;


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

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

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