{買(mǎi)點(diǎn)金叉報(bào)警MACD} DIF:EMA(CLOSE,4)-EMA(CLOSE,34); DEA:EMA(DIF,5); MACD:(DIF-DEA)*2,COLORSTICK; 買(mǎi):CROSS(DIF,DEA); VAR1:=PEAKBARS(3,15,1)<10; VAR2:=IF(VAR1=1,2,0); 頂:IF(VAR2=2,2,0); 通達(dá)信,大智慧,飛弧都能用的 選股報(bào)警: DIF:=EMA(CLOSE,4)-EMA(CLOSE,34); DEA:=EMA(DIF,5); MACD:=(DIF-DEA)*2,COLORSTICK; 買(mǎi):CROSS(DIF,DEA); 逃頂報(bào)警: DIF:=EMA(CLOSE,4)-EMA(CLOSE,34); DEA:=EMA(DIF,5); MACD:=(DIF-DEA)*2,COLORSTICK; VAR1:=PEAKBARS(3,15,1)<10; VAR2:=IF(VAR1=1,2,0); 頂: IF(VAR2=2,2,0); 交易系統(tǒng)指示: DIF:=EMA(CLOSE,4)-EMA(CLOSE,34); DEA:=EMA(DIF,5); VAR1:=PEAKBARS(3,15,1)<10; VAR2:=IF(VAR1=1,2,0); {多頭買(mǎi)入} ENTERLONG: CROSS(DIF,DEA); {多頭賣(mài)出} EXITLONG: IF(VAR2=2,2,0); |
|
來(lái)自: 鬼舞十七 > 《技術(shù)指標(biāo)》