指标先容:
. D) H6 u+ o; p: Q% H
9 I9 {, x8 z7 u9 c% S出现“抄底”或“买”字样及塔尖符号为买入,出现“卖”字样及塔尖符号为卖出信号。
+ z3 P! Z* h* u. |: d
% |3 u! |* x3 u! I公式源码:
6 N7 ^7 F3 i7 f! W0 f0 B/ X- S4 a' F; z: {0 U
VAR0:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1);) C- j7 G8 Q+ u5 ^! g9 L
波段线:EMA(VAR0,3),NODRAW;* _# A8 N2 H; C3 z1 g
VAR1:=EMA(波段线,2);
6 E$ u& o+ o0 H* B+ V. A2 OVAR2:=EMA(VAR1,2);
2 S2 M9 h* s: H( x9 LVAR3:=CROSS(VAR1,VAR2);
% M; p) W/ d! Z6 MVAR4:=CROSS(VAR2,VAR1);
) N8 T6 K( o/ LSTICKLINE(波段线>20 AND 波段线20,波段线-12,'买'),colorred;. ?2 e; V& w' I8 n( i4 H
STICKLINE(VAR3 AND VAR1>20,波段线,0,1,0),colorred;
2 U- G, O3 L" G. C1 @: F* w买:IF(VAR3 AND VAR1>20 ,波段线,0),colorred,LINETHICK8,NODRAW;
# y2 Y& m' M( H. eSTICKLINE(波段线>80,波段线-2,波段线+2,5,0),colorred;: H$ m9 E- p' |- d2 b! X
STICKLINE(波段线50 AND 波段线1,抄底+5,' 抄底'),coloryellow;8 \4 c. j1 _% q. K! W
DRAWICON(抄底>1,抄底,4);- `* B' a) Q; s, s
DRAWTEXT(VAR4,波段线+18,'卖'),coloryellow;
( y# y! F$ y* R" Q! M, J* uSTICKLINE(VAR4,波段线,波段线+20,1,0),colorgreen; |