通达信金银山量能副图公式

[复制链接]
查看48 | 回复0 | 2022-7-24 07:04:21 | 显示全部楼层 |阅读模式

L1:=IF(ISLASTBAR=1 AND FROMOPEN>0,AMOUNT/FROMOPEN*(200+FROMOPEN/6),IF(C>O,AMOUNT,AMOUNT*0.66));
L2:=IF(PERIOD=5,IF(ISLASTBAR=1 AND FROMOPEN<0.1,0,DMA(L1,0.05)),DRAWNULL);
L3:=IF(PERIOD=5,IF(ISLASTBAR=1 AND FROMOPEN<0.1,0,MA(L2,10)),DRAWNULL);
量能:100*(L2/L3-1),STICK;
L5:=IF(ISLASTBAR=1,100*L1/DYNAINFO(11)/FINANCE(7),HSL);
量能均线:DMA(量能,0.8),LINETHICK2;
STICKLINE(IF(量能>=0,量能,DRAWNULL),0,量能,2,0),COLORRED;
STICKLINE(IF(量能<0,量能,DRAWNULL),0,量能,2,0),COLORLIBLUE;
N:=BARSLASTCOUNT(DATE=REF(DATE,1));
DA:=IF(PERIOD=3 AND ISLASTBAR=1,AMOUNT/(FROMOPEN-N*30)*30,IF(PERIOD=3,AMOUNT,DRAWNULL));
DB:=((C-REF(C,1))/(HHV(H,2)-LLV(L,2)))*DA*C;
DC:=SUM(DB,30);
从量:DMA(DC,0.2),POINTDOT,COLORWHITE,LINETHICK4;
DD:DMA(从量,0.2),LINETHICK2,COLORGREEN;
DE:IF(DD>REF(DD,1),DD,DRAWNULL),LINETHICK2,COLORRED;
X2:=100*SLOPE(DMA(C,0.15),5);
X3:=X2-REF(X2,1);
X4:=100*(MAX(C,O)/REF(MAX(C,O),1)-1);
X5:=IF(CROSS(X2,REF(X2,1)),X2<C,CROSS(X2,0));
HA:=X2>REF(X2,1) AND X2>-2 AND 量能>0 AND 量能>REF(量能,1)*1.2;
HB:=IF(LONGCROSS(X4,2,2),L5>1,CROSS(X4,2)AND L5>5);
HC:=HA AND IF(X5,HB,IF(COUNT(X5,3)=1,HB,CROSS(X3,REF(X3,1))AND HB));
DRAWICON(PERIOD=5 AND C<1000 AND L1>LLV(L1,3)*2 AND HC,0,11);
现手指可能爆发:DRAWNULL;

 

1234299601.jpg

1234299601.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则