大智慧买卖天机副图指标
-
相关简介:大智慧买卖天机副图指标 空心柱为成交量,黄柱为主动买盘,绿柱为主动卖盘,红柱为买量大于卖量,蓝柱为卖量大于买量 源码 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 成交量:VOL,LINETHICK0; 主动买盘:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED; 主动卖盘:IF(CLOSEOPEN,0-VA
-
文章来源:股海网作者:股海网发布时间:2016-05-06浏览次数:
大智慧买卖天机副图指标
空心柱为成交量,黄柱为主动买盘,绿柱为主动卖盘,红柱为买量大于卖量,蓝柱为卖量大于买量
源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量:VOL,LINETHICK0;
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
STICKLINE(VOL>0,VOL,0,2,1),COLORWHITE;
STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORYELLOW;
STICKLINE(主动买盘+主动卖盘>0,0,主动买盘+主动卖盘,2,0),COLORRED;
STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;
STICKLINE(主动卖盘+主动买盘<0,0,主动卖盘+主动买盘,2,0),COLORBLUE;