通达信精简三步战法主图指标 有数字就有趋势 源码 附图

短线:=MA(LOW,4)*0.998,LINETHICK0;
止损:=IF(短线 > REF(短线,1),短线,REF(短线,BARSLAST(短线 >
REF(短线,1)))),LINETHICK1,COLORYELLOW;
短线止损:IF(C<止损,止损,短线)COLOR00FF80,LINETHICK2;
IF(C>=短线止损,短线止损,DRAWNULL),COLOR8000FF,LINETHICK2;

量大价涨1:=V>REF(V,1)*2 AND C>REF(C,1)AND C>O;
缩量1:=V<REF(V,1)AND C<O AND H<REF(H,1);
TJ1:=REF(量大价涨1,1) AND 缩量1;
TK1:=BARSLAST(TJ1);
TJA1:=CROSS(C,REF(O,TK1));

X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(X_1>=9.84,CLOSE,OPEN,3.4,0),COLOR00AAFF;
STICKLINE(X_1>=9.84,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(X_1>=9.84,CLOSE,OPEN,0.5,0),COLORYELLOW;
STICKLINE(X_1>=9.84,CLOSE,OPEN,0.5,0),COLORRED;
X_2:=(EMA(CLOSE,13)-REF(EMA(CLOSE,13),1))/REF(EMA(CLOSE,13),1)*10000;
起爆线:IF(X_2>0,REF(LOW,BARSLAST(CROSS(X_2,0))),DRAWNULL),COLORRED,LINETHICK3;
TIPS:=OPEN/起爆线,NODRAW;
XD:=DRAWICON(REF(X_1>9.5,1) AND TIPS>=1.3,LOW,39);
X_3:=IF(CLOSE>OPEN,CLOSE,OPEN);
X_4:=IF(CLOSE>OPEN,OPEN,CLOSE);
X_5:=LLV(X_3,4);
X_6:=HHV(X_4,4);
X_7:=X_3>=X_5 AND X_4<=X_5 AND X_3>=X_6 AND X_4<=X_6;
X_8:=REF(X_3,1)>=X_5 AND REF(X_4,1)<=X_5 AND REF(X_3,1)>=X_6 AND REF(X_4,1)<=X_6;
X_9:=REF(X_3,2)>=X_5 AND REF(X_4,2)<=X_5 AND REF(X_3,2)>=X_6 AND REF(X_4,2)<=X_6;
X_10:=REF(X_3,3)>=X_5 AND REF(X_4,3)<=X_5 AND REF(X_3,3)>=X_6 AND REF(X_4,3)<=X_6;
X_11:=X_7 AND X_8 AND X_9 AND X_10;
强支撑价格:=REF(X_6,BARSLAST(X_11)),NODRAW;
JI:=STICKLINE(X_6,强支撑价格,强支撑价格,3,0),COLORMAGENTA;
X_12:=(REF(OPEN,5)+REF(CLOSE,5))/2;
X_13:=(HIGH+LOW+CLOSE+OPEN)/4;
X_14:=MAX(X_12,MAX(X_13,HHV(HIGH,5)));
X_15:=MIN(X_12,MIN(X_13,LLV(LOW,5)));
X_16:=X_14=X_12;
X_17:=X_16;
ZOP:=REF(X_14,BARSLAST(X_17)),NODRAW;
ZXXX:=STICKLINE(CLOSE,ZOP,ZOP,1,0),COLORGREEN;
ZXX:=STICKLINE(X_14=X_12,X_14,HIGH,0,(-1));
X_18:=强支撑价格=REF(强支撑价格,1);
CX10:=BARSLAST(NOT(X_18)),NODRAW;
向下:=DRAWNUMBER(X_18>=0,起爆线*1.03,CX10+1),COLORYELLOW;
X_19:=起爆线=REF(起爆线,1);
CXAT:=BARSLAST(NOT(X_19)),NODRAW;
S:DRAWNUMBER(X_19>=0,起爆线,CXAT+1),COLORRED;


{本文为理想论坛博主「生命线99」的帖子,转载请注明出处。
原文链接: HTTPS://WWW.55188.COM/THREAD-10732062-1-1.HTML};


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

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

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

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