JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主买:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;
主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主买卖差:=主买-主卖,LINETHICK0;
散买-散卖>0 AND 主买卖差>0;