通达信至尊反转爆点副图源码
至尊反转爆点通达信副图,
源码
DRAWGBK(OPEN>CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
分析家公式网:DRAWNULL,COLORFFAA00;
XA_1:=27;
牵引线:4*SMA((CLOSE-LLV(LOW,XA_1))/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100,6,1)-3*SMA(SMA((CLOSE-LLV(LOW,XA_1))/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100,4,1),3.2,1),COLORRED;
XA_2:=IF(YEAR>=2038 AND MONTH>=1,0,1);
XA_3:=REF(LOW,1)*XA_2;
XA_4:=SMA(ABS(LOW-XA_3),3,1)/SMA(MAX(LOW-XA_3,0),3,1)*100*XA_2;
XA_5:=(2*CLOSE+HIGH+LOW)/4;
XA_6:=LLV(LOW,60);
XA_7:=(2*CLOSE+HIGH+LOW)/4;
XA_8:=LLV(LOW,34);
XA_9:=HHV(HIGH,34);
XA_10:=EMA((XA_7-XA_8)/(XA_9-XA_8)*100,13);
XA_11:=EMA(0.667*REF(XA_10,1)+0.333*XA_10,2);
XA_12:=HHV(HIGH,60);
XA_13:=EMA((XA_5-XA_6)/(XA_12-XA_6)*100,5);
XA_14:=EMA(XA_13,5);
XA_15:=IF(XA_13>=XA_14,100,100);
XA_16:=IF(XA_13<XA_14,0,0);
XA_17:=IF(XA_13<XA_14,50,50);
XA_18:=HIGH-REF(HIGH,1);
XA_19:=REF(LOW,1)-LOW;
XA_20:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
左侧关注:XA_20<=3,COLOREEEE00;
STICKLINE(XA_20<=3,0,40,2,0),COLOR00FFCC;
STICKLINE(XA_20<=3,0,50,2,0),COLOR555500;
STICKLINE(XA_20<=3,0,50,1.56,0),COLOR888800;
STICKLINE(XA_20<=3,0,50,1.1,0),COLORAAAA00;
STICKLINE(XA_20<=3,0,50,0.8,0),COLORCCCC00;
STICKLINE(XA_20<=3,0,50,0.2,0),COLOREEEE00;
精准起爆:CROSS(XA_20,3);
STICKLINE(CROSS(XA_20,3),0,100,1,0),COLORRED,LINETHICK3;
STICKLINE(CROSS(XA_20,3),0,110,1,0),COLOR1029FF;
STICKLINE(CROSS(XA_20,3),0,110,0.8,0),COLOR1040FF;
STICKLINE(CROSS(XA_20,3),0,110,0.6,0),COLOR1083FF;
STICKLINE(CROSS(XA_20,3),0,110,0.4,0),COLOR10ABFF;
STICKLINE(CROSS(XA_20,3),0,110,0.2,0),COLOR10D0FF;
STICKLINE(CROSS(XA_20,3),0,110,0.1,0),COLOR10FFFF;
STICKLINE(CROSS(XA_20,3),80,0,2.5,0),COLOR000099;
STICKLINE(CROSS(XA_20,3),80,0,1.5,0),COLOR0000BB;
STICKLINE(CROSS(XA_20,3),80,0,1,0),COLOR0000DD;
STICKLINE(CROSS(XA_20,3),80,0,0.5,0),COLORRED;
STICKLINE(CROSS(XA_20,3),40,0,4,0),COLOR770077;
STICKLINE(CROSS(XA_20,3),40,0,3,0),COLOR990099;
STICKLINE(CROSS(XA_20,3),40,0,2,0),COLORBB00BB;
STICKLINE(CROSS(XA_20,3),40,0,1,0),COLORDD00DD;
STICKLINE(CROSS(XA_20,3),40,0,0.5,0),COLORMAGENTA;
DRAWICON(精准起爆,120,1);
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
至尊反转爆点通达信副图,
源码
填充背景(开盘价>收盘价,RGB(48,41,124),RGB(0,0,0),0,1,0)
输出分析家公式网:DRAWNULL,COLORFFAA00
XA_1赋值:27
输出牵引线:4*SMA((收盘价-XA_1日内最低价最低值)/(XA_1日内最高价最高值-XA_1日内最低价最低值)*100,6,1)-3*SMA(SMA((收盘价-XA_1日内最低价最低值)/(XA_1日内最高价最高值-XA_1日内最低价最低值)*100,4,1),3.2,1),画红色
如果YEAR>=2038 AND MONTH>=1返回0否则返回1
XA_3赋值:1日前的最低价*XA_2
XA_4赋值:SMA(最低价-XA_3的绝对值,3,1)/SMA(最低价-XA_3和0较大值,3,1)*100*XA_2
XA_5赋值:(2*收盘价+最高价+最低价)/4
XA_6赋值:60日内最低价最低值
XA_7赋值:(2*收盘价+最高价+最低价)/4
XA_8赋值:34日内最低价最低值
XA_9赋值:34日内最高价最高值
XA_10:=EMA((XA_7-XA_8)/(XA_9-XA_8)*100,13)
XA_11:=E0.667*1日前的XA_10+0.333*XA_10的2日简单移动平均
XA_12:=60日内最高价最高值
XA_13:=EMA((XA_5-XA_6)/(XA_12-XA_6)*100,5)
XA_14:=XA_13的5日指数移动平均
如果XA_13>=XA_14返回100否则返回100
如果XA_13如果XA_13
XA_18:=最高价-1日前的最高价
XA_19:=1日前的最低价-最低价
XA_20:=3*SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1)-2*SMA(SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1),3,1)
输出左侧关注:XA_20<=3,COLOREEEE00
当满足条件XA_20<=3时,在0和40之间画柱状线
当满足条件XA_20<=3时,在0和50之间画柱状线
当满足条件XA_20<=3时,在0和50之间画柱状线
当满足条件XA_20<=3时,在0和50之间画柱状线
当满足条件XA_20<=3时,在0和50之间画柱状线
当满足条件XA_20<=3时,在0和50之间画柱状线
输出精准起爆:XA_20上穿3
STICKLINE(XA_20上穿3,0,100,1,0),画红色, 线宽为3
STICKLINE(XA_20上穿3,0,110,1,0),COLOR1029FF
STICKLINE(XA_20上穿3,0,110,0.8,0),COLOR1040FF
STICKLINE(XA_20上穿3,0,110,0.6,0),COLOR1083FF
STICKLINE(XA_20上穿3,0,110,0.4,0),COLOR10ABFF
STICKLINE(XA_20上穿3,0,110,0.2,0),COLOR10D0FF
STICKLINE(XA_20上穿3,0,110,0.1,0),COLOR10FFFF
STICKLINE(XA_20上穿3,80,0,2.5,0),COLOR000099
STICKLINE(XA_20上穿3,80,0,1.5,0),COLOR0000BB
STICKLINE(XA_20上穿3,80,0,1,0),COLOR0000DD
STICKLINE(XA_20上穿3,80,0,0.5,0),画红色
STICKLINE(XA_20上穿3,40,0,4,0),COLOR770077
STICKLINE(XA_20上穿3,40,0,3,0),COLOR990099
STICKLINE(XA_20上穿3,40,0,2,0),COLORBB00BB
STICKLINE(XA_20上穿3,40,0,1,0),COLORDD00DD
STICKLINE(XA_20上穿3,40,0,0.5,0),画洋红色
当满足条件精准起爆时,在120和1之间画图标