金银山量能
2016-4-12 14:00:11点击:
L1:=IF(ISLASTBAR=1 AND FROMOPEN>0,AMOUNT/FROMOPEN*(200+FROMOPEN/6),IF(C>O,AMOUNT,AMOUNT/2));
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:=量能-REF(量能,1);
量能均线:DMA(量能,0.8),LINETHICK2;
STICKLINE(IF(量能>=0,量能,DRAWNULL),0,量能,2,0),COLORRED;
STICKLINE(IF(量能<0,量能,DRAWNULL),0,量能,2,0),COLORGRAY;
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.1),5);
X3:=100*(C/REF(C,1)-1);
HA:=X2>=REF(X2,1)AND REF(SUM(X3,2),1)<6 ;
HD:=HA AND IF(量能<20,LONGCROSS(L5,8,2),CROSS(L5,10));
DRAWICON(PERIOD=5 AND C<1000 AND HD,-5,11);
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:=量能-REF(量能,1);
量能均线:DMA(量能,0.8),LINETHICK2;
STICKLINE(IF(量能>=0,量能,DRAWNULL),0,量能,2,0),COLORRED;
STICKLINE(IF(量能<0,量能,DRAWNULL),0,量能,2,0),COLORGRAY;
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.1),5);
X3:=100*(C/REF(C,1)-1);
HA:=X2>=REF(X2,1)AND REF(SUM(X3,2),1)<6 ;
HD:=HA AND IF(量能<20,LONGCROSS(L5,8,2),CROSS(L5,10));
DRAWICON(PERIOD=5 AND C<1000 AND HD,-5,11);
- 上一篇:板块 2016/4/12
- 下一篇:涨跌家数统计,源码 副图 通达信 贴图 2016/4/12