压力支撑回马枪通达信公式 主图 源码附图

X_1:=IF(1,(CLOSE/REF(CLOSE,1)-1)*100>9.5,0);
最后涨停距今数:BARSLAST(X_1),NODRAW,COLOR00CCCC;
X_2:=(REF(CLOSE,BARSLAST(X_1))+REF(OPEN,BARSLAST(X_1)))/2;
STICKLINE(CLOSE,X_2,REF(LOW,BARSLAST(X_1)),4,0),COLOR002828;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(X_1,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(X_1,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(X_1,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(X_1,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(X_1,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(X_1,OPEN,CLOSE,0.1,0),COLOR33EEEE;
X_3:=REF(CLOSE,1);
X_4:=IF((X_3-CLOSE)*100/X_3>=10-0.01*100/X_3,1,0);
STICKLINE(X_4,OPEN,CLOSE,2.6,0),COLORE50000;
MA13:MA(CLOSE,13),COLORCYAN;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;
MA21:MA(CLOSE,21),COLOR00CCCC,LINETHICK2;
X_5:=CLOSE>MA21 AND MA13>REF(MA13,1) AND X_4!=1;
X_6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_7:=REF(CLOSE,1);
X_8:=SMA(MAX(CLOSE-X_7,0),2,1)/SMA(ABS(CLOSE-X_7),2,1)*100;
X_9:=SMA(MAX(CLOSE-X_7,0),14,1)/SMA(ABS(CLOSE-X_7),14,1)*100;
X_10:=45;
X_11:=80;
X_12:=20;
X_13:=5;
X_14:=X_8<X_10 AND REF(X_8,1)>X_10;
X_15:=X_8<X_12 AND REF(X_8,1)>X_12;
X_16:=COUNT(X_1,13)>=1;
X_17:=SMA(LOW,4,3);
X_18:=X_14 OR X_15 AND X_16;
X_19:=REF(X_14,1) OR REF(X_15,1) AND LOW<MA(CLOSE,5) AND X_16 AND X_5 AND CLOSE>REF(LOW,BARSLAST(X_1));
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,2.4,0),COLOR550055;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,1.8,0),COLOR880088;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,1.2,0),COLORAA00AA;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,0.6,0),COLORCC00CC;
STICKLINE(X_18,OPEN,CLOSE,0.1,0),COLOREE00EE;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,1.2,0),COLOR000088;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,0.6,0),COLOR0000AA;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,0.3,0),COLOR0000CC;
STICKLINE(X_19,OPEN,CLOSE,0.1,0),COLOR0000EE;
STICKLINE(X_19,X_17*0.995,X_17,5,0),COLORGREEN;
DRAWICON(X_19,LOW*0.98,1);
X_20:=AMOUNT/VOL/100;
X_21:=REF(CLOSE,1);
{}
STICKLINE(CURRBARSCOUNT<21 AND X_1=1,X_20,X_20,2.5,0),COLORYELLOW;
STICKLINE(CLOSE,X_2,X_2,2,0),COLORRED;
STICKLINE(CLOSE,REF(LOW,BARSLAST(X_1)),REF(LOW,BARSLAST(X_1)),2,0),COLORCCCC00;
 


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

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

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

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