JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);主买:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN)));主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));(主买-主卖)>0;{已测试,复制可直接引用,如果回答满意,请记得给采纳}
将STICKLINE删除,只要留SYICKLINE(主买卖差>=0,0,主买卖差,2,0)COLORRED一行即可