指标先容: 8 l& k- [0 T `+ `& ~
* y5 v2 E- v+ q r% ^5 k
出现“抄底”或“买”字样及塔尖符号为买入,出现“卖”字样及塔尖符号为卖出信号。2 V% [1 h: l7 t I" p- A
! w4 Y) L' P( g- ^) ^" d# c! R+ [公式源码:
; [- m$ E. a; U0 W; a
2 S) o4 z! G0 ^) ?' d& _2 MVAR0:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1);
8 Y& d1 ^0 V5 q* r波段线:EMA(VAR0,3),NODRAW;
2 a5 H* n4 b! J+ iVAR1:=EMA(波段线,2);
) z$ W" T) t& z, u$ W/ G+ hVAR2:=EMA(VAR1,2);
3 z0 E1 P0 M* IVAR3:=CROSS(VAR1,VAR2);
% z$ g! C, S" E: s+ {9 Q' xVAR4:=CROSS(VAR2,VAR1);
2 s |2 `: B" b3 ]* H- RSTICKLINE(波段线>20 AND 波段线20,波段线-12,'买'),colorred;1 [1 p: D1 f! R7 b. b! X6 `6 }
STICKLINE(VAR3 AND VAR1>20,波段线,0,1,0),colorred;
: X6 D3 n" b) d4 ~7 @6 G买:IF(VAR3 AND VAR1>20 ,波段线,0),colorred,LINETHICK8,NODRAW;
/ k! k2 ]/ _( m( S0 b$ v4 n5 C& D2 NSTICKLINE(波段线>80,波段线-2,波段线+2,5,0),colorred;, b! }# @* y9 n% N
STICKLINE(波段线50 AND 波段线1,抄底+5,' 抄底'),coloryellow;) E* V# S$ N* N6 S! @& a' u
DRAWICON(抄底>1,抄底,4);
' G p# d$ n: w) l2 @! }- QDRAWTEXT(VAR4,波段线+18,'卖'),coloryellow;
4 f W2 M& v# c- C6 c {/ ^* BSTICKLINE(VAR4,波段线,波段线+20,1,0),colorgreen; |