通达信资金副图源码分享
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
HSL:=IF(C!=O,QJJ*(C-O),0)/100;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(EMA(EMA(攻击,3),3),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;
A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;
A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;
A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED;
T1:(VOL*240/FROMOPEN>=REF(V,1)*1.95)*1200,COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
QJJ赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
HSL赋值:IF(C!=O,QJJ*(C-O),0)/100
攻击赋值:((HSL*0.55+(1日前的HSL*0.33))+(2日前的HSL*0.22))
LLJX赋值:攻击的3日指数移动平均,3),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日累和,画青色
输出A1:IF(B1>1日前的B1,B1,DRAWNULL),画红色
输出A2:IF(B2>1日前的B2,B2,DRAWNULL),画红色
输出A3:IF(B3>1日前的B3,B3,DRAWNULL),画红色
输出A4:IF(B4>1日前的B4,B4,DRAWNULL),画红色
输出A5:IF(B5>1日前的B5,B5,DRAWNULL),画红色
输出A6:IF(B6>1日前的B6,B6,DRAWNULL),画红色
输出A7:IF(B7>1日前的B7,B7,DRAWNULL),画红色
输出A8:IF(B8>1日前的B8,B8,DRAWNULL),画红色
输出A9:IF(B9>1日前的B9,B9,DRAWNULL),画红色
A10:IF(B10>1日前的B10,B10,DRAWNULL),画红色
输出T1:(成交量*240/FROM开盘价>=1日前的V*1.95)*1200,画黄色