主力攻擊量:=((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; DRAWTEXT_FIX(1,0.75,0.92,0,' '),COLORYELLOW; 攻擊比:=攻擊流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1; 資金攻擊:=IF(攻擊比>=0,(攻擊比+50),100-Abs((攻擊比-50))); 資金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED; 資金流出:=-SUM(IF(C< REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00; 資金出入:=資金流入+資金流出,COLORSTICK; 資金比:=資金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1; 資金流比:=IF(資金比>=0,(資金比+100)/2,100-ABS((資金比-100)/2)); DRAWTEXT_FIX(1,0.180,0.88,0,STRCAT(STRCAT('【資金流比】',CON2STR(資金流比,2)),'%買')),COLORYELLOW;
|