买线:=EMA(C,2);
7 x5 w. d+ `7 Z( K) B1 I5 q- p9 L& Q卖线:=EMA(SLOPE(C,21)*20+C,42);
A8 U$ z) c" }4 RBU:=CROSS(买线,卖线); ( W$ K. [- c7 D, `' y+ L
SEL:=CROSS(卖线,买线); 4 U% N, F; H8 i+ [, G4 Q, d
DRAWTEXT(bu,LOW*1.08,'买'),coloree55ff,linethick3;
, ]. G0 O8 J+ k3 B" c: RDRAWTEXT(sel,HIGH*0.925,'卖'),colorffff00,linethick3;
1 |+ G- }& K1 B) F7 w3 tSTICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred; ) B5 _7 B* W) U0 @; Z. O
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;
& |( Z5 g# [9 {! XSTICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;
7 y- G* e2 P% z! [2 ], XSTICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc; 5 P% e5 b r- \
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;
9 o8 c3 m$ S0 d, l& r, ~STICKLINE(买线 |