网成交量 (副图 源码)

[复制链接]
查看42 | 回复0 | 2022-7-11 13:00:35 | 显示全部楼层 |阅读模式
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:=买量+卖量;
净量:买量-卖量,LINETHICK0;
MAA:=MA( CLOSE ,2) ;
STICKLINE(买量>0,0,买量,3,0),COLOR000099;
STICKLINE(净量>0,0,净量,0.1,0),COLOR00FFFF;




STICKLINE(V>=2*REF(V,1),1,总量,4,1),COLOR0000FF;



STICKLINE(C>MAA,总量,1,4,1 ),COLOR00FFFF;
STICKLINE(C<MAA,总量,1,4,1 ),COLORFF00FF;
STICKLINE(净量<0,1,总量,4,1),COLORFFFF00;
STICKLINE(C<MAA AND 净量>0,净量,1,4,1 ),COLOR0000FF;

STICKLINE(V>=2*REF(V,1),1,总量,4,1),COLOR0000FF;


STICKLINE(买量>0,0,买量,3,0),COLOR000099;
STICKLINE(买量>0,0,买量,2,0),COLOR0000AA;
STICKLINE(买量>0,0,买量,1,0),COLOR0000FF;
STICKLINE(买量>0,0,买量,0.1,0),COLORCC00FF;

STICKLINE(净量>0,0,净量,3,0),COLOR0033FF;
STICKLINE(净量>0,0,净量,2,0),COLOR0077FF;
STICKLINE(净量>0,0,净量,1,0),COLOR00BBFF;
STICKLINE(净量>0,0,净量,0.1,0),COLOR00FFFF;



STICKLINE(C<MAA AND 净量>0,净量,0,3,0 ),COLOR777777;
STICKLINE(C<MAA AND 净量>0,净量,0,2,0 ),COLOR999999;
STICKLINE(C<MAA AND 净量>0,净量,0,1,0 ),COLORBBBBBB;
STICKLINE(C<MAA AND 净量>0,净量,0,0.1,0 ),COLORFFFFFF;


MA5:=MA(VOL,5);
MA10:=MA(VOL,10);
MA20:=MA(VOL,20);
 净买量金色:0,COLORYELLOW;买量红色:0,COLORRED;短买灰色:0,COLORLIGRAY;

DRAWTEXT(CROSS(净量,0),0-0,'买'),COLORFF00FF;
DRAWTEXT(CROSS(0,净量),0-0,'减仓'),COLORGREEN;

DATA:=5;
{多头买入} DRAWICON(ZIG(3,DATA)>REF(ZIG(3,DATA),1)
AND REF(ZIG(3,DATA),1)<=REF(ZIG(3,DATA),2)
AND REF(ZIG(3,DATA),2)<=REF(ZIG(3,DATA),3),L*0.98,1);
{多头卖出} DRAWICON(ZIG(3,DATA)<REF(ZIG(3,DATA),1)
AND REF(ZIG(3,DATA),1)>=REF(ZIG(3,DATA),2)
AND REF(ZIG(3,DATA),2)>=REF(ZIG(3,DATA),3),H*1.02,2);

20106191134421738.png

20106191134421738.png

 

2010619114855447.rar

4.01 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2010619114855447.rar

回复

使用道具 举报

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

本版积分规则