同花顺短线宝公式
由绿转白或者红买入参考,反之卖出参考。提示明确、清晰。
源码
CG:MA(C,17),linethick1;
STICKLINE(CLOSE>cg AND C>O,OPEN,CLOSE,4,0),colorwhite;
STICKLINE(CLOSE=cg AND C>O ,OPEN,CLOSE,4,0),colorwhite;
STICKLINE(CLOSE>cg AND C>O,LOW,OPEN,0.4,0),colorwhite;
STICKLINE(CLOSE=cg AND C>O,LOW,OPEN,0.4,0),colorwhite;
STICKLINE(CLOSE>cg AND C>O,CLOSE,HIGH,0.4,0),colorwhite;
STICKLINE(CLOSE=cg AND C>O,CLOSE,HIGH,0.4,0),colorwhite;
STICKLINE(CLOSE>cg AND C<O,OPEN,CLOSE,4,1), colorred;
STICKLINE(CLOSE=cg AND C<O ,OPEN,CLOSE,4,1), colorred;
STICKLINE(CLOSE>cg AND C<O,LOW,OPEN,0.4,1), colorred;
STICKLINE(CLOSE=cg AND C<O,LOW,OPEN,0.4,1), colorred;
STICKLINE(CLOSE>cg AND C<O,CLOSE,HIGH,0.4,1),colorred;
STICKLINE(CLOSE=cg AND C<O,CLOSE,HIGH,0.4,1),colorred;
STICKLINE(CLOSE<cg,CLOSE,OPEN,4,0), color00ff00;
STICKLINE(CLOSE=cg,CLOSE,OPEN,4,0), color00ff00;
STICKLINE(CLOSE<cg,OPEN,LOW,0.4,0), color00ff00;
STICKLINE(CLOSE=cg,OPEN,LOW,0.4,0), color00ff00;
STICKLINE(CLOSE<cg,HIGH,CLOSE,0.4,0), color00ff00;
STICKLINE(CLOSE=cg,HIGH,CLOSE,0.4,0),color00ff00;
amv0:=VOL*(O+C)/2;
博杀生命线:SUM(amv0,88)/SUM(VOL,88),colorff00ff,linethick1;
FL:=HHV(CG,2);
博杀持股线:HHV(CG,2),color00ff00,linethick1;
FS:CG-(FL-CG),coloryellow,linethick1;