通达信蓄势盘龙主图指标公式源源

DRAWGBK(CLOSE>0,RGB(20,0,28),RGB(20,0,28),0,0,1);
X_1:=120;
X_2:=BArslAst(CURRBARSCOUNT=X_1);
X_3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,X_2),0));
X_4:=CONST(IF(ISLASTBAR=1,LLV(LOW,X_2),0));
X_5:=X_3-X_4;
高:IF(CURRBARSCOUNT<=X_1,X_3,DRAWNULL),POINTDOT,COLORYELLOW;
压:IF(CURRBARSCOUNT<=X_1,X_3-X_5*0.191,DRAWNULL),NODRAW,COLORmaGENTA;
平衡:IF(CURRBARSCOUNT<=X_1,X_4+X_5/2,DRAWNULL),NODRAW,COLORYELLOW;
支撑:IF(CURRBARSCOUNT<=X_1,X_4+X_5*0.191,DRAWNULL),NODRAW,COLORGREEN;
低:IF(CURRBARSCOUNT<=X_1,X_4,DRAWNULL),POINTDOT,COLORGREEN;
天:BARSLAST(LOW=X_4),NODRAW,COLORYELLOW;
STICKLINE(CURRBARSCOUNT<=X_1,平衡,平衡,3,(-1)),COLORWHITE;
STICKLINE(CURRBARSCOUNT<=X_1,压,压,3,(-1)),COLORRED;
STICKLINE(CURRBARSCOUNT<=X_1,支撑,支撑,3,(-1)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,压,1),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,平衡,2),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,支撑,3),COLORYELLOW;
X_6:=EMA(CLOSE,21);
X_7:=X_6<REF(X_6,1);
X_8:=IF(X_7-1,X_6,DRAWNULL);
X_9:=EMA(CLOSE,3)>EMA(CLOSE,21);
X_10:=EMA(CLOSE,3)<EMA(CLOSE,21);
X_11:=EMA(CLOSE,3)>EMA(CLOSE,8);
X_12:=EMA(CLOSE,3)<EMA(CLOSE,8);
STICKLINE(X_9,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(X_9,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(X_9,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(X_9,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(X_9,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(X_9,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(X_9,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(X_9,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(X_9,CLOSE,OPEN,0.2,0),COLORYELLOW;
STICKLINE(X_10,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(X_10,CLOSE,OPEN,3.2,0),COLOR006600;
STICKLINE(X_10,CLOSE,OPEN,2.6,0),COLOR008800;
STICKLINE(X_10,CLOSE,OPEN,1.9,0),COLOR00AA00;
STICKLINE(X_10,CLOSE,OPEN,1.1,0),COLOR00CC00;
STICKLINE(X_10,CLOSE,OPEN,0.3,0),COLORGREEN;
STICKLINE(X_10 AND X_11,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,3.2,0),COLOR880088;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,2.6,0),COLORAA00AA;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,1.9,0),COLORCC00CC;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,1.1,0),COLOREE00EE;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,0.3,0),COLORFF44FF;
STICKLINE(X_9 AND X_12,HIGH,LOW,0,1),COLORFF8800;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,3.2,0),COLORFF2200;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,2.6,0),COLORFF4400;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,1.9,0),COLORFF6600;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,1.1,0),COLORFF8800;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,0.3,0),COLORFFAA00;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_3-X_5/12,4),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_3-X_5/3,5),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_4+X_5/3,6),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_4+X_5/10,7),COLORCYAN;
X_13:=EMA(CLOSE,13)-EMA(CLOSE,55);
X_14:=EMA(0.618*REF(X_13,1)+0.382*X_13,3);
X_15:=REF(CLOSE,1);
X_16:=EMA(HHV(HIGH,1),8);
X_17:=EMA(CLOSE,8);
X_18:=X_17<REF(X_17,1) AND CLOSE<X_17;
X_19:=IF(X_16<REF(X_16,1) OR X_18,1,0);
X_20:=SMA(MAX(CLOSE-X_15,0),2,1)/SMA(Abs(CLOSE-X_15),2,1)*100;
X_21:=45;
X_22:=20;
X_23:=X_20<X_21 AND REF(X_20,1)>X_21;
X_24:=X_20<X_22 AND REF(X_20,1)>X_22;
X_25:=(COUNT(X_19=1,4)=3 AND X_19=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND (REF(X_24,1) OR REF(X_23,1)));
DRAWICON(X_25,LOW,7);
STICKLINE(X_25,LOW,LOW+(HIGH-LOW)/2,2.7,0),COLORYELLOW;
STICKLINE(X_25,LOW+(HIGH-LOW)/2,HIGH,2.7,0),COLORRED;




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

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

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

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