您的位置:查股网 > 查股公式 > 通达信蓄势盘龙主图指标公式有使用方法源码[查股公式]
股票行情消息查询:

通达信蓄势盘龙主图指标公式有使用方法源码[查股公式]

2023/2/14 17:24:43

指标使用方法:
本指标是主图指标,
黄线是天,股价到达这个位置容易受阻,
下跌到绿色低线是抄底,
在支撑线有支撑也是买点
 
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;

 
相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29