<FONT color=#113dee>财产精灵A: EMA(CLOSE,3) - EMA(CLOSE,8),COLORred;
0 J9 l8 u" T8 B. V财产精灵: 财产精灵A,COLORwhite,dotline,LAYER0;
& \! t# r7 H# i. T0 i财产精灵B: EMA(财产精灵A,5),LAYER0;
& z1 N; I& i- K7 {2 l, I强弱线:0,COLORyellow,LAYER0;& r& ]( e1 P( j3 N; D
FILLRGN(财产精灵B,0,财产精灵B>=0,RGB(218,112,214)),PRECIS2;5 Q* P* [2 `! n- }( v
FILLRGN(0,财产精灵B,0>财产精灵B,RGB(0,100,50)),PRECIS2;; r, Y2 }4 r/ e6 w5 W
4 M) R; q$ b( u! c+ q- X- l4 C
低位金叉:=CROSS(财产精灵A,财产精灵B) AND 财产精灵A=0));2 @) ~* O% m0 a8 P4 P& D& x: x
二次金叉:=CROSS(财产精灵A,财产精灵B) AND 财产精灵B0.1;
) J# b5 W/ e' H& f死叉:=CROSS(财产精灵B,财产精灵A) AND 财产精灵A>0.1;$ s1 m' Z- O7 i' {; T( L
{DRAWICON(死叉,财产精灵B*1.38,2),LAYER0;}! ~7 A9 }2 e1 h% B
A1:=BARSLAST(REF(CROSS(财产精灵A,财产精灵B),1));
. L2 @# F; I$ d8 l底背离:=REF(CLOSE,A1+1)>CLOSE AND 财产精灵A>REF(财产精灵A,A1+1) AND CROSS(财产精灵A,财产精灵B);3 }5 ]1 u: H+ x [2 w4 Q3 p5 ^
DRAWICON(底背离,底背离*0.1,11),LAYER0;% S" s( M6 ^* n7 W' ^5 M
DRAWTEXT(底背离,0.20,'底背离'),COLORyellow;) L$ K: Q# r* ^6 M
A2:=BARSLAST(REF(CROSS(财产精灵B,财产精灵A),1));
* P; B4 D$ k& ~9 R/ `; m顶背离:=REF(CLOSE,A2+1)财产精灵A AND CROSS(财产精灵B,财产精灵A);
. i% M/ Y8 d3 v. D' c, C) u+ i, mDRAWICON(顶背离,强弱线,12),LAYER0;
6 \* c. T. X3 TDRAWTEXT(顶背离,-0.10,'顶背离'),COLORyellow; |