{指标介绍:价量关系糅合在一起,反映的是多空双方的争斗。红色系代表多方力量,蓝色系代表空方力量,各有四条参与争斗。多方(红色系)获胜是进场时机。空方(蓝色系)获胜离场观望。}
X_1:=WINNER(CLOSE)*CAPITAL/100;
X_2:=X_1-vol/100;
Y:SUM(X_2,10)/10-SUM(X_2,30)/30,COLORRED;
Y1:SUM(X_2,20)/20-SUM(X_2,60)/60,COLORMAGENTA;
Y2:SUM(X_2,30)/30-SUM(X_2,10)/10,COLORFF9900;
Y3:SUM(X_2,60)/60-SUM(X_2,20)/20,COLORBLUE;
X_3:=AMOUNT/VOL*100;
Y4:SUM(X_3,10)/10-SUM(X_3,30)/30,COLORRED;
Y5:SUM(X_3,20)/20-SUM(X_3,60)/60,COLORMAGENTA;
Y6:SUM(X_3,30)/30-SUM(X_3,10)/10,COLORFF9900;
Y7:SUM(X_3,60)/60-SUM(X_3,20)/20,COLORBLUE;