价格变异率通达信公式 副图 源码附图

XA_1:=REF(LOW,1);
XA_2:=REF(HIGH,1);
XA_3:=LOW>XA_2;
XA_4:=HIGH<XA_1;
STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),3.1,(-1)),COLORRED;
STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,3.1,(-1)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),COLOR909090;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.1,0),COLOR606060;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.1,0),COLOR707070;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.2,0),COLORGRAY;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.2,0),COLOR909090;
STICKLINE(OPEN<=CLOSE,HIGH,LOW,0,0),COLOR666B6F;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,1),COLOR666B6F;
XA_5:=VOL/REF(VOL,1)>=1.9 AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_5,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(XA_5,OPEN,CLOSE,3.1,0),COLOR0033FF;
STICKLINE(XA_5,OPEN,CLOSE,2.1,0),COLOR0077FF;
STICKLINE(XA_5,OPEN,CLOSE,1.1,0),COLOR00BBFF;
STICKLINE(XA_5,OPEN,CLOSE,0.1,0),COLORYELLOW;
XA_6:=CLOSE/REF(CLOSE,1)>1.097;
ZT数:COUNT(XA_6,BARSSINCE(XA_6)),NODRAW;
XA_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(XA_7>9.5,CLOSE,OPEN,3.1,0),COLOR0000CC;
STICKLINE(XA_7>9.5,CLOSE,OPEN,2.1,0),COLOR0000DD;
STICKLINE(XA_7>9.5,CLOSE,OPEN,1.2,0),COLOR0000EE;
STICKLINE(XA_7>9.5,CLOSE,OPEN,0.2,0),COLORRED;
STICKLINE(XA_7>9.5,HIGH,LOW,0,0),COLORRED;
STICKLINE(XA_7<(-9.9),OPEN,CLOSE,3.1,0),COLOR66CC66;
STICKLINE(XA_7<(-9.9),OPEN,CLOSE,2.1,0),COLOR77DD77;
STICKLINE(XA_7<(-9.9),OPEN,CLOSE,1.2,0),COLOR88EE88;
STICKLINE(XA_7<(-9.9),OPEN,CLOSE,0.2,0),COLOR99FF99;
STICKLINE(XA_7<(-9.5),HIGH,LOW,0,0),COLOR99FF99;
XA_8:=AMO.AMOW/VOL/100;
XA_9:=CLOSE<OPEN AND CLOSE>=REF(MIN(CLOSE,OPEN),1) AND XA_8>REF(XA_8,1);
XA_10:=XA_9;{股票指标网 }
STICKLINE(XA_10,HIGH,LOW,0,0),COLORFFAA00;
STICKLINE(XA_10,OPEN,CLOSE,3,0),COLORFF3300;
STICKLINE(XA_10,OPEN,CLOSE,2,0),COLORFF7700;
STICKLINE(XA_10,OPEN,CLOSE,1,0),COLORFFAA00;
STICKLINE(XA_10,OPEN,CLOSE,0.1,0),COLORCYAN;
XA_11:=REF(OPEN,BARSLAST(XA_9));
假阴实顶:XA_11,NODRAW,COLORFF7700;
STICKLINE(VOL,XA_11,XA_11,1,0),COLORFF7700;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.9,0,FGBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK);
XA_12:=(3*CLOSE+LOW+OPEN+HIGH)/6;
XA_13:=(20*XA_12+19*REF(XA_12,1)+18*REF(XA_12,2)+17*REF(XA_12,3)+16*REF(XA_12,4)+15*REF(XA_12,5)+14*REF(XA_12,6)+13*REF(XA_12,7)+12*REF(XA_12,8)+11*REF(XA_12,9)+10*REF(XA_12,10)+9*REF(XA_12,11)+8*REF(XA_12,12)+7*REF(XA_12,13)+6*REF(XA_12,14)+5*REF(XA_12,15)+4*REF(XA_12,16)+3*REF(XA_12,17)+2*REF(XA_12,18)+REF(XA_12,20))/210;
回调认同:EMA(XA_13,13),COLORGREEN;
XA_14:=MACD.MACD#WEEK(12,26,9);
XA_15:=(EMA(回调认同,2)-REF(EMA(回调认同,2),2))/REF(EMA(回调认同,2),2)*100;
IF(XA_15>=0,回调认同,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MACD.DIF>=0 AND XA_14>=0,回调认同,DRAWNULL),COLORRED,LINETHICK3;
XA_16:=MA(CLOSE,2);
XA_17:=IF(CLOSE>XA_16,VOL,0);
XA_18:=IF(CLOSE<XA_16,VOL,0);
XA_19:=SUM(XA_17,4);
XA_20:=SUM(XA_18,4);
XA_21:=XA_20/XA_19;
XA_22:=IF(HHV(XA_21,5)>4 AND CROSS(2,XA_21) AND CLOSE>=OPEN,1,0);
DRAWICON(XA_22,LOW*0.99,9);
 



未来函数检测结果如下:
该公式包含未来函数:#WEEK
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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