您的位置:查股网 > 查股公式 > 通达信唯我独尊主图指标公式[查股公式]
股票行情消息查询:

通达信唯我独尊主图指标公式[查股公式]

2022/9/4 9:59:43

通达信唯我独尊主图指标公式

{唯我独尊主图指标公式}

N1:=30;N2:=17;N3:=5;
{震仓}
VAR1M:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
VAR2M:=EMA(VAR1M,N3);
ZC:=CROSS(VAR1M,VAR2M) AND TROUGHBARS(3,7,1)<1;
DRAWTEXT(ZC,H+0.2,'㊣'),COLORYELLOW,;
DRAWTEXT(ZC,L,'震仓*'),COLORYELLOW,;
空:=EMA(C,1);
多:=EMA(C,5);
X:IF(空>=多,多,空);
IF(空>多,X,DRAWNULL),COLORRED,LINETHICK2;
IF(空<多,X,DRAWNULL),COLORGREEN,LINETHICK2;
IF(空<多,多,DRAWNULL),LINETHICK2,COLORGREEN;
{转向}
中:=EMA(C,21);
转向:=REF(中,1);
X1:=(3*C+H+L+O)/6;
X2:=EMA(X1,10);
X3:=REF(X2,1);
IF(X2>X3,转向,DRAWNULL),CIRCLEDOT,LINETHICK5,COLORRED;
IF(X2<X3,转向,DRAWNULL),CIRCLEDOT,LINETHICK5,COLORGRAY;
{趋势线}
VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2:=CROSS(VAR1,0.9);
VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4:=CROSS(VAR3,0.9);
VAR5:=IF(VAR2,HIGH,IF(VAR4,LOW,0));
趋势线:=ZIG(3,6),COLORAAAAAA;
DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*1.008,'跑*'),COLORGRAY,LINETHICK1;
DRAWTEXT(CROSS(ZIG(3,6),TROUGHBARS(3,6,1)),HIGH*1.008,'加仓*'),COLORYELLOW,LINETHICK1;
VAR6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3);
VAR7:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);
VAR8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1)
AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3);
VAR9:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);
VARA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3);
VARB:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1)
AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3);
压力: REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),5,0),COLOREA91B5;
支撑: REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),5,0),COLOR00B4FF;
现价:CLOSE,POINTDOT,COLOR000F89;
DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),L-0.2,'买'),,COLORRED;

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

股票公式分类

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