通达信短线买入点
CV:=CLOSE;{}
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
DWN:=BBIBOLL-6*STD(BBIBOLL,11);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
B6:SUM(LLJX,6),COLORCYAN;
B7:SUM(LLJX,7),COLORCYAN;
B8:SUM(LLJX,8),COLORCYAN;
B9:SUM(LLJX,9),COLORCYAN;
B10:SUM(LLJX,10),COLORCYAN;
(B1,B1>REF(B1,1),RGB(255,0,0));
(B2,B2>REF(B2,1),RGB(255,0,0));
(B3,B3>REF(B3,1),RGB(255,0,0));
(B4,B4>REF(B4,1),RGB(255,0,0));
(B5,B5>REF(B5,1),RGB(255,0,0));
(B6,B6>REF(B6,1),RGB(255,0,0));
(B7,B7>REF(B7,1),RGB(255,0,0));
(B8,B8>REF(B8,1),RGB(255,0,0));
(B9,B9>REF(B9,1),RGB(255,0,0));
(B10,B10>REF(B10,1),RGB(255,0,0));
4513.39,POINTDOT,COLORFFFFFF,LINETHICK4;
0,POINTDOT,LINETHICK4,COLOR0080FF;
270,POINTDOT,LINETHICK4;
DRAWICON(CROSS(B1,0),B1,1);
DRAWICON(CROSS(B1,270),B1,1);
DRAWICON(CROSS(B7,4513.39),B7,1);
DRAWICON(CROSS(B8,4513.39),B8,1);
DRAWICON(CROSS(B9,4513.39),B9,1);
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
CV赋值:收盘价
{}
BBIBOLL赋值:(CV的3日简单移动平均+CV的6日简单移动平均+CV的12日简单移动平均+CV的24日简单移动平均)/4
UPR赋值:BBIBOLL+6*BBIBOLL的11估算标准差
DWN赋值:BBIBOLL-6*BBIBOLL的11估算标准差
QJJ赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
XVL赋值:(IF(收盘价>开盘价,QJJ*(最高价-最低价),IF(收盘价<开盘价,QJJ*(最高价-开盘价+收盘价-最低价),成交量/2))+IF(收盘价>开盘价,0-QJJ*(最高价-收盘价+开盘价-最低价),IF(收盘价<开盘价,0-QJJ*(最高价-最低价),0-成交量/2)))
HSL赋值:(XVL/20)/1.15
攻击赋值:((HSL*0.55+(1日前的HSL*0.33))+(2日前的HSL*0.22))
LLJX赋值:攻击的3日指数移动平均
0,POINTDOT,画白色
输出
B1:1的LLJX日累和,画青色
输出
B2:2的LLJX日累和,画青色
输出
B3:3的LLJX日累和,画青色
输出
B4:4的LLJX日累和,画青色
输出
B5:5的LLJX日累和,画青色
输出
B6:6的LLJX日累和,画青色
输出
B7:7的LLJX日累和,画青色
输出
B8:8的LLJX日累和,画青色
输出
B9:9的LLJX日累和,画青色
B10:10的LLJX日累和,画青色
(B1,B1>1日前的B1,RGB(255,0,0))
(B2,B2>1日前的B2,RGB(255,0,0))
(B3,B3>1日前的B3,RGB(255,0,0))
(B4,B4>1日前的B4,RGB(255,0,0))
(B5,B5>1日前的B5,RGB(255,0,0))
(B6,B6>1日前的B6,RGB(255,0,0))
(B7,B7>1日前的B7,RGB(255,0,0))
(B8,B8>1日前的B8,RGB(255,0,0))
(B9,B9>1日前的B9,RGB(255,0,0))
(B10,B10>1日前的B10,RGB(255,0,0))
4513.39,POINTDOT,COLORFFFFFF,LINETHICK4
0,POINTDOT,LINETHICK4,COLOR0080FF
270,POINTDOT,LINETHICK4
DRAWICON(B1上穿0,B1,1)
DRAWICON(B1上穿270,B1,1)
DRAWICON(B7上穿4513.39,B7,1)
DRAWICON(B8上穿4513.39,B8,1)
DRAWICON(B9上穿4513.39,B9,1)