买线:=EMA(C,2);
4 @- L o. c) q# B3 l# d卖线:=EMA(SLOPE(C,21)*20+C,42); J# {) d) R/ r0 h1 k
BU:=CROSS(买线,卖线); c+ t8 f# J8 M. {8 i7 _$ A* L }0 V
SEL:=CROSS(卖线,买线); " [2 s u: \2 @& D" u; }
DRAWTEXT(bu,LOW*1.08,'买'),coloree55ff,linethick3; 5 R9 D. ~0 v! [ k
DRAWTEXT(sel,HIGH*0.925,'卖'),colorffff00,linethick3; 7 ?7 C# C+ d7 B; Z& b
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred; 7 V2 d# O7 x. f) u
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;
l/ c7 \# p- D2 HSTICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;
/ C* i5 }# L2 a- XSTICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc; : ]1 ~' t5 t" T! {
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee; : h3 [" R9 H0 i# V3 s# ~
STICKLINE(买线 |