买线:=EMA(C,2);
3 v' \' k! b9 Z1 }' Z) {% T% |卖线:=EMA(SLOPE(C,21)*20+C,42);
; x+ j5 x3 `' ^BU:=CROSS(买线,卖线); ' a3 r, h) r1 O: g: G
SEL:=CROSS(卖线,买线); $ ~' \2 m4 ~4 k% P2 \) L E5 y
DRAWTEXT(bu,LOW*1.08,'买'),coloree55ff,linethick3; % Z5 W. B0 E# o% c2 ~& a6 @
DRAWTEXT(sel,HIGH*0.925,'卖'),colorffff00,linethick3; 7 S! K% ^: `. Y* c
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred; 8 h" M7 X* S5 u. i# h5 h8 ?2 M- s$ T
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;
9 ~/ X3 a9 z2 l6 D( l# l4 tSTICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc; 0 E% V+ Y' Y! S
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;
, G( x8 v3 f! k( \; xSTICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;
$ N& U9 |+ I& wSTICKLINE(买线 |