培油龙门系列 {公式名称:培油龙门系列}
{公式描述:副图二}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; DIFF:=EMA(C,3)-EMA(C,13); DEA1:=EMA(DIFF,9); F2:=DIFF<-0.09; F4:=CROSS(DIFF,DEA1); 抄底3:= F2 AND F4 AND REF(CLOSE,1)<CLOSE; 一次金叉:=COUNT(抄底3,50)=1; 绿柱宿短3:=BARSLAST("MACD.MACD"<0 AND "MACD.MACD"<REF("MACD.MACD",1))=1 AND LOW>REF(LOW,1); 第一次宿短4:=IF(绿柱宿短3,1,0); BB:=BARSLAST(CROSS(DEA,DIF)) AND DEA>0.25; CC:=REF(BARSLAST(CROSS(DIF,0))<20,BARSLAST(CROSS(DEA,DIF))+1); KK:=COUNT(MACD<-0.01 AND DIF>0.01,10)=10; 三加二雏形:=第一次宿短4 AND BB AND CC AND KK; 七号龙门雏形:三加二雏形 AND EXIST( 一次金叉,35)=1,COLORWHITE,LINETHICK2; NL:=COUNT(MACD<-0.01 AND DIF>0.01 ,15)>=3; AA:=CROSS(DIF,DEA) AND DEA>0.01 AND DIF/C<0.064; 八号标准三加二:AA AND BB AND CC AND NL,COLORYELLOW,LINETHICK1; GJZGG:=IF((REF(HHV(H,45),1)< H)=1,1,0); GJZGGA:=FILTER(GJZGG,20); 九号鱼跃龙门:八号标准三加二 AND GJZGGA, COLORGREEN,LINETHICK2; 红柱宿短:=BARSLAST("MACD.MACD">0 AND "MACD.MACD">REF("MACD.MACD",1))=1 AND LOW<REF(LOW,1) AND DIF>0 AND DEA>0; 第一次宿短:=IF(红柱宿短,1,0); 十号三浪终点:第一次宿短 AND COUNT(九号鱼跃龙门 ,25)=1,COLORCYAN,LINETHICK2; 十一三浪出局:CROSS(DEA,DIF) AND EXIST(九号鱼跃龙门,10),COLORMAGENTA ,LINETHICK2;{47} A1:=CROSS(DIF,DEA) AND DEA>0 AND DIF<0.2; 十二号水上漂:IF((A1),1,0) AND A1 AND NL AND GJZGG,COLORRED,LINETHICK2; |
|
来自: 愚人培油 > 《F, 培油龙门系列(副图二)》