风度论股副图指标公式代码源码[通达信公式]
相关标签:
原理解析:
源码:
QJJ:=V/((H-L)*2-ABS(C-O));
HSL:=IF(C!=O,QJJ*(C-O),0)/100;
LNGJ:=HSL*0.5+REF(HSL,1)*0.3+REF(HSL,2)*0.2;
LLJX:=EMA(LNGJ,3);
B: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;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
XG0:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10;
XG1:=COUNT(CROSS(MA(C,5),MA(C,20)),3)=1;
XG2:=C>PEAK(1,5,1) AND REF(C,1)<PEAK(1,5,1);
XG3:=V>REF(V,1)*1.9 AND C>O AND J<90 AND K<80;
XG4:COUNT(V>REF(V,1)*1.9 AND C>REF(C,1)*1.04,3)=1 AND C<REF(C,1)*0.96 AND V<REF(V,1)*0.6;
XG:=(XG0 OR XG1 OR XG2) AND XG3;
HH:=HHV(B10,120);
STICKLINE(XG,0,HH*0.7,1,0),COLORYELLOW;
STICKLINE(XG4,0,HH*0.7,1,0),COLORGREEN;
DRAWTEXT(XG AND XG0,HH*0.8,'量能'),COLORYELLOW;
DRAWTEXT(XG AND XG1,HH,'冲跌'),COLORBLUE;
DRAWTEXT(XG AND XG2,HH*1.1,'冲高'),COLORGREEN;
DRAWTEXT(XG4 ,HH,'长阴短柱'),COLORGREEN;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容