红色柱状线持股;绿色柱状线持币
属于趋势指标
必买:=IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,CLOSE,0),NODRAW;
必卖:=IF(PEAKBARS(3,15,1)=1,CLOSE,0),NODRAW;
DRAWICON(必买=CLOSE,L-CLOSE/25,"buy");
DRAWICON(必卖=CLOSE,H+CLOSE/25,"sell");
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE STICKLINE(COUNT(必卖=CLOSE,BARSLAST(必买=CLOSE))=0 AND CLOSE STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,OPEN,CLOSE,10,0),colorgreen; STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorgreen; STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,CLOSE,10,1),colorgreen; STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,OPEN,LOW,0,0),colorgreen; STICKLINE(COUNT(必买=CLOSE,BARSLAST(必卖=CLOSE))=0 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorgreen; STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue; STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue; STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue; STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE STICKLINE(BARSLAST(必买=CLOSE)=BARSLAST(必卖=CLOSE) AND CLOSE