精确BS源码
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,1,0),COLORRED;
STICKLINE(A
MA5:MA(CLOSE,5);
ANGEL:EMA(C,2),COLOR000000;
DEVIL:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY:=CROSS(ANGEL,DEVIL);
SEL:=CROSS(DEVIL,ANGEL);
DRAWTEXT(BUY,LOW*0.99,'B'),COLORYELLOW,LINETHICK5;
DRAWTEXT(SEL,HIGH*1.01,'S'),COLORWHITE,LINETHICK5;