頂?shù)宗厔?shì)選股要求:(短期線上穿中期線和短期線上穿長(zhǎng)期線
1.短期線上穿中期線:
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);
短期線:=B+100;
中期線:=D+100;
DXZ:CROSS(短期線,中期線);
2.短期線上穿長(zhǎng)期線:
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
長(zhǎng)期線:=A+100;
短期線:=B+100;
DXC:CROSS(短期線,長(zhǎng)期線);
頂?shù)宗厔?shì)原公式的源碼是:頂?shù)宗厔?shì)-類似操盤(pán)手指標(biāo),感覺(jué)很好(副圖源碼有補(bǔ)圖)
80,COLOR996699;
20,COLORGREEN;
底:10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2;
50,COLORRED;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
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);
長(zhǎng)期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見(jiàn)頂:=((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,COLORGREEN;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE( {見(jiàn)頂 OR} 頂部,99,103,20,1 ),COLORRED,LINETHICK2;
底部區(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) ,COLORGREEN;
STICKLINE( 底部區(qū)域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(長(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 )),COLORRED;
(責(zé)任編輯:張曉軒)