「翔博精选指标」涨停回马,解开通达信公式源码分享 副图
2022-03-17原创 编 辑:翔博软件
{通达信公式名称: 涨停回马③
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_2:=ABS(CLOSE/OPEN-1)*100>6;
XA_3:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
STICKLINE(XA_3,0,0.6,2,0),COLORYELLOW;
DRAWTEXT(XA_3,0.5,3),COLORRED;
XA_4:=MA(CLOSE,5);
XA_5:=MA(CLOSE,10);
XA_6:=MA(CLOSE,13);
XA_7:=MA(CLOSE,21);
XA_8:=MA(CLOSE,34);
XA_9:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_10:=EMA(XA_9,9);
XA_11:=2*(XA_9-XA_10);
XA_12:=BARSLAST(REF(CLOSE,1)*1.1-CLOSE<0.01 AND XA_2);
XA_13:=BARSLAST(HIGH=HHV(HIGH,XA_12))<23 AND XA_12<34;
XA_14:=(LOW-XA_7)/XA_7*100;
XA_15:=(LOW-XA_8)/XA_8*100;
XA_16:=VOL=LLV(VOL,XA_12);
XA_17:=LOW=LLV(LOW,XA_12);
XA_18:=VOL<REF(VOL,1) AND VOL<MA(VOL,5);
XA_19:=BARSLAST(CROSS(XA_5,XA_4))<XA_12;
XA_20:=XA_5<REF(XA_5,1) AND REF(XA_5,1)<REF(XA_5,2);
XA_21:=REF(HIGH,2)>REF(HIGH,1) AND REF(LOW,2)>REF(LOW,1) AND HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
XA_22:=REF(HIGH,2)>REF(HIGH,1) AND REF(LOW,2)<REF(LOW,1) AND REF(HIGH,3)>REF(HIGH,2) AND REF(LOW,3)>REF(LOW,2) AND HIGH>REF(HIGH,2) AND LOW>REF(LOW,2);
回马:XA_13 AND (XA_21 OR XA_22) AND XA_19 AND XA_20 AND XA_4>XA_8 AND XA_1>0,COLORRED;