公式源码:
: t% ^- p, [% u5 u5 z0 M 4 Q- s# U" }3 C. Z
日时转换:=IF(PERIOD=5,120,240);* D( N( d s2 y! @: X# a1 x6 J/ L
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
: x( \' {' }8 o0 o, iVAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
# t( F/ x; d2 I6 f6 g& c& _VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;7 h7 o8 |, _1 a. `( k& H" Y
VAR3:=(VAR1+VAR2)/2;
9 ^4 ~/ s7 ]2 ^! Y3 ~5 NVAR4:=EMA(VAR3,30);
% q2 B: a3 @4 f0 b2 K& p1 ]VAR5:=EMA(VAR3,60);
/ E P5 A+ v6 u( @- P' p5 p. YVAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
9 v& ?- C6 o2 j/ nDRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));, [2 ~: c: x: ]: X: P S7 ^; C
牵引线:VAR1,COLORYELLOW;& Z: A. a0 t+ x# v+ q/ q4 s
强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE;2 P' ^9 F( n) G8 n
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;& _: Z$ F# v* E& v" T- D
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;+ R2 a7 N3 H- G6 [3 @3 v
打击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
/ f9 q) T: X1 L- n4 |强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
9 H \" A4 ]! A) t9 {止损区:IF(VAR1VAR1,QZS,VAR1,1,0),COLORFF00FF;6 _+ ~! x! `% W2 B7 L0 I/ Q" k
STICKLINE(打击量=1,QZS,VAR1,1,0),COLORYELLOW;# ^& ~: x \' j' M
DRAWICON(趋势关注=1,EMA(VAR1,60),13);" Y- {) n( `- H X4 \2 D! @1 r" d6 ?
DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE;4 u* i% ]/ H% C! h; X4 G% D D
( y c; P' P/ F8 S& F
. Z2 s+ e* c7 T1 {4 `
哀求资助!!!!!!!!!!!!! |