体温式分时资金攻击强度显示仪(代码及图)
2014-12-3 11:29:03点击:
攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));
DRAWRECTREL(490,1,510,800,RGB(0,75,200));
DRAWRECTREL(490,1,510,800,RGB(0,250,50));
DRAWRECTREL(490,800-(CONST(资金攻击度)/100*800),510,800,RGB(175,50,0));
DRAWTEXT_FIX(1,0.400,0.03,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %')),COLORYELLOW;
攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));
DRAWRECTREL(490,1,510,800,RGB(0,75,200));
DRAWRECTREL(490,1,510,800,RGB(0,250,50));
DRAWRECTREL(490,800-(CONST(资金攻击度)/100*800),510,800,RGB(175,50,0));
DRAWTEXT_FIX(1,0.400,0.03,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %')),COLORYELLOW;
- 上一篇:全仓买的主图 2014/12/3
- 下一篇:暴利买点 准确度极高 2014/12/3