AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE》OPEN,AA*(HIGH-LOW),IF(CLOSE《OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2)){,LINETHICK0,COLORRED};
卖量:=IF(CLOSE》OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE《OPEN,0- AA*(HIGH-LOW),0-VOL/2)){,LINETHICK0,COLORCYAN};
进出量:=买量+卖量{,COLOR00FFFF,LINETHICK0};
STICKLINE(进出量《0,0,进出量,5,0),COLORFF6600;
STICKLINE(进出量《0,0,进出量,4,0),COLORFF9900;
STICKLINE(进出量《0,0,进出量,2.5,0),COLORFFCC00;
STICKLINE(进出量《0,0,进出量,0.5,0),COLORCYAN;
STICKLINE(进出量》0,0,进出量,5,0),COLOR000099;
STICKLINE(进出量》0,0,进出量,4,0),COLOR0000CC;
STICKLINE(进出量》0,0,进出量,4.5,0),COLOR0000FF;
STICKLINE(进出量》0,0,进出量,1.5,0),COLORCC66FF;
N:=5;
M:=13;
五日内净流入:SUM(进出量,N),LINETHICK2,COLORGREEN;
流入:IF(五日内净流入》REF(五日内净流入,1),五日内净流入,0),COLORRED,LINETHICK2;
连红天:BARSLAST(COUNT(进出量》0,n));
十三日内翻红天:COUNT(进出量》0,M),COLORRED;
走熊天:BARSLAST (COUNT(五日内净流入《0,n)),COLORCYAn;
走牛天:BARSLAST (COUNT(五日内净流入》0,n)),COLORRED;
强势天:BARSLAST (COUNT((五日内净流入》REF(五日内净流入,n))》0 AND 五日内净流入》0,n));
弱势天:BARSLAST (COUNT((五日内净流入《REF(五日内净流入,n))》0 AND 五日内净流入《0,n));
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!