云天成交量 通达信副图指标 源码 贴图
2020-06-26 09:52:00来源:本站整理浏览:770
云天成交量 通达信副图指标 源码 贴图
MAV5:MA(VOL,5),COLORRED;
MAV30:MA(VOL,30);
MAV120:MA(VOL,120);
VAR1:=MA(CLOSE,20);
VAR2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
VAR3:=MOD(FROMOPEN,VAR2);
VAR4:=IF(VAR3<0.5,VAR2,VAR3);
VAR5:=IF(CURRBARSCOUNT=1,VOL*VAR2/VAR4,DRAWNULL);
STICKLINE(CURRBARSCOUNT=1 AND (SETCODE=0 OR SETCODE=1),VAR5,0,(-1),(-1)),COLORBROWN;
STICKLINE(CURRBARSCOUNT=1 AND (SETCODE=0 OR SETCODE=1),VAR5/2,0,(-1),(-1)),COLORBROWN;
VAR6:=100;
VAR7:=0.1*CONST(HHV(VOL,240));
STICKLINE(CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>=REF(CLOSE,1)),VOL,0,2,1),COLORRED;
STICKLINE(CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)),VOL,0,2,0),COLORCYAN;
VAR8:=1.9;
VAR9:=VOL>=REF(VOL,1)*VAR8 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1);
VAR10:=VOL=LLV(VOL,VAR6) AND BARSCOUNT(VOL)>=VAR6;
VAR11:=VOL*0.95;
VAR12:=VOL*0.85;
STICKLINE(VAR9,0,VAR11,1,0),COLORYELLOW;
STICKLINE(VAR10,0,VAR12,1,0),COLORGRAY;
STICKLINE(CLOSE<OPEN AND CLOSE>REF(CLOSE,1),0,VAR11,2,0),COLORRED;
STICKLINE(CLOSE>OPEN AND CLOSE<REF(CLOSE,1),0,VAR11,2,0),COLORGREEN;
VAR13:=VOL<=LLV(VOL,100)*1.2 AND VOL>0 AND BARSCOUNT(VOL)>=100;
VAR14:=COUNT(VAR13,5)>=3;{WWW.GPXIAZAI.COM}
DRAWICON(FILTER(VAR14,10),VOL+3*VAR7,24);
VAR15:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;
DRAWICON(VAR15,VOL+1.6*VAR7,29);
VAR16:=COUNT(VOL>MAV120,4)>2 AND REF(VOL<MAV120,4);
DRAWICON(FILTER(VAR16,5),VOL+VAR7,1);
VAR17:=REF(VOL>MAV120,3) AND REF(VOL<MAV120,2) AND REF(VOL<MAV120,1) AND VOL<MAV120;
DRAWICON(FILTER(VAR17,5),VOL+VAR7,2);
DRAWICON(FILTER(CROSS(MAV120,MAV5),20),VOL+3*VAR7,6);
VAR18:=CROSS(MAV5,MAV120) AND VOL>MAX(REF(VOL,1),MAV120) AND REF(MAV120>MAV30,1) AND CLOSE>MAX(MAX(VAR1,REF(CLOSE,1)),OPEN);
DRAWICON(FILTER(VAR18,20),VOL+2.5*VAR7,24);
VAR19:=CROSS(MAV30,MAV120) AND VOL>MAX(REF(VOL,1),MAV30) AND CLOSE>MAX(MAX(VAR1,REF(CLOSE,1)),OPEN);
DRAWICON(VAR19,VOL+2*VAR7,25);
VAR20:=CROSS(MAV5,MAV30) AND VOL>MAX(REF(VOL,1),MAV5) AND MAV30>MAV120 AND CLOSE>MAX(MAX(VAR1,REF(CLOSE,1)),OPEN);
DRAWICON(FILTER(VAR20,10),VOL+1.5*VAR7,26);
- 上一篇公式:月颖短线资金 通达信副图指标 源码 贴图
- 下一篇公式:相似K线 通达信主图指标 源码 贴图