正确制导主图:MA1:sma(c,2,1),colorgreen,linethick2;
6 q- o; n7 n# RMA2:ema(c,7),colorred,linethick2;
% F' a6 o W( x) g+ a* @9 q绿色工作线:ma1,color00ff00;. {: j9 s0 W# d7 `6 u9 v4 s- n
赤色机密线:ma2,color0000ff;. {9 H' ~1 k! _ r$ v. Z& t& a
DRAWTEXT(cross(ma1,ma2),ma1,'★买'),color0000ff;( }4 ?$ w! l: X
DRAWTEXT(cross(ma2,ma1),ma1,'★跑'),color00ff00;% h% N! E3 \& x) s4 |% a
mm1:=sma(c,2,1);0 F$ b' \; h: _0 N8 {8 J, v( T4 B
ma3:=ma(mm1,3);$ |( a) [% q; o- Y- x0 g9 D
ss1:=cross(ma3,ma1) and ma1>ref(ma1,1) and ma1ref(v,1) and cross(c,ma1);
5 f* B$ B1 }$ v3 w* e; YZ1:=AMOUNT/V;
1 h3 d2 ~& m: z% I% SZ2:=L1.2;
X' M8 I; A0 k1 e0 {( n0 |) MZ4:=L |