培油頂?shù)妆畴x (2016年6月27日 星期一) {公式名稱(chēng):培油頂?shù)妆畴x}
{公式描述:副圖三}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; HZSD:=BARSLAST("MACD.MACD">0 AND "MACD.MACD">REF("MACD.MACD",1))=1 AND LOW<REF(LOW,1) AND DIF>0 AND DEA>0; HZSD1:=IF(HZSD,1,0); TT:=IF(REF(HHV(DIF,30),1) >0,1,0); TT1:=IF(REF(HHV(DIF,45),1) > REF(HHV(DIF,15),1),1,0); MM:=COUNT(MACD<0,20)>=3; T:=BARSLAST(REF(HZSD,1)); GJZG:=IF(REF(HHV(H,45),1) < H,1,0); GJZG1:=EXIST(GJZG,10); 十三頂背警示A:HZSD1 AND GJZG1 AND REF(DIF,T+1)>DIF AND HZSD AND TT AND TT1 AND MM , COLORWHITE,LINETHICK2; T1:=BARSLAST(REF(CROSS(DEA,DIF),1)); 十四頂背成形A:GJZG1 AND REF(DIF,T1+1)>DIF AND CROSS(DEA,DIF) AND TT AND TT1 AND MM ,COLORYELLOW,LINETHICK2; 警示:=IF(十三頂背警示A=1,1,0); 警示1:=BACKSET(警示,1); 頂背警示:=IF((警示1),1,0); 頂背警示1:=COUNT(頂背警示,45)=1 AND 頂背警示; 頂背警示2:=COUNT(頂背警示,75)=2 AND 頂背警示; TT2:=IF(REF(HHV(DIF,75),1) >=REF(HHV(DIF,45),1) >= REF(HHV(DIF,15),1),1,0); 十五頂背警示B: 頂背警示2>頂背警示1 AND TT2 AND HZSD ,COLORGREEN,LINETHICK2; 十六頂背成形B:REF(十五頂背警示B,1) AND REF(DIF,T1+1)>DIF AND CROSS(DEA,DIF),COLORCYAN,LINETHICK2; YTR:=REF(BARSLAST(CROSS(DIF,0))>30,BARSLAST(REF(HZSD,1))+1); 十七拉升終點(diǎn):HZSD1 AND GJZG1 AND REF(DIF,T+1)<DIF AND REF(MACD>0,T+1)<MACD AND HZSD AND TT AND YTR AND BARSLASTCOUNT(MACD>0)>35 AND HHV(H,40)>LLV(L,40)*2.5,COLORMAGENTA ,LINETHICK2; 死叉:=CROSS(DEA,DIF) AND HHV(H,40)>H AND HHV(MACD,40)>MACD; 十八終結(jié)出局:死叉 AND EXIST(十七拉升終點(diǎn),10), COLORRED,LINETHICK2; |
|
來(lái)自: 愚人培油 > 《G,,培油頂?shù)妆畴x(副圖三)》