80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
長(zhǎng)期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:(REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長(zhǎng)期線,1)>65) AND CROSS(長(zhǎng)期線,短期線) ;
頂部區(qū)域:(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長(zhǎng)期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長(zhǎng)期線+4;
頂部:=FILTER(頂部區(qū)域,4);
底部區(qū)域:(長(zhǎng)期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長(zhǎng)期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長(zhǎng)期線<10 AND 中期線<7 AND 短期線<1) ;
STICKLINE( {見頂 OR} 頂部,99,103,20,1 ),COLORRED,LINETHICK2;
STICKLINE( 底部區(qū)域,-4,0,22,0 ),COLORGREEN;
低位金叉:長(zhǎng)期線<15 AND REF(長(zhǎng)期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長(zhǎng)期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長(zhǎng)期線 OR REF( 短期線,1)<1 );
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)