纏論起漲點(diǎn)指標(biāo)作者:K線密碼創(chuàng)建日期:2023-05-28 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:"MACD.MACD",NODRAW; W1:STICKLINE(MACD>0,MACD,0,3,1),COLORRED; W2:STICKLINE(MACD<0,MACD,0,3,1),COLORCYAN; YD:STICKLINE(MACD>REF(MACD,1)AND C>REF(C,1)AND MACD<0 ,MACD,0,2.2,0)COLOR00EEEE; XG1:=IF(DIF>REF(DIF,1) AND DIF>=DEA AND REF(DIF,1)<=REF(DIF,2) AND REF(DIF,1)>=REF(DEA,1) ,1,0),NODRAW; DRAWICON(XG1=1,0,23); DRAWTEXT(XG1=1,-0.1,'★空中加油★'),COLORYELLOW; XG:=CROSS(DIF,DEA) AND DIF<-0.1; DRAWICON(XG,0,9); DRAWTEXT(XG,-0.15,'★低位金叉'),COLORFFFFFF; AA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0)); XG2:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1; DRAWICON(XG2,0,13); DRAWTEXT(XG,-0.5,'★二次金叉'),COLORFF00FF; X1:=MAX(MAX((HHV(DIF,13)-LLV(DIF,13)),ABS(REF(DIF,1)-HHV(DIF,13))),ABS(REF(DIF,1)-LLV(DIF,13))); X2:=EMA(X1,13); X3:=REF(DIF,1)-REF(X2,1); BB:HHV(X3,13),COLORFFFFFF; {VAR1D:=(VAR1B-VAR1C)*10; VAR1F:=POW(VAR1D,3)*0.01+POW(VAR1D,2); 拉升:=IF(VAR1D>0.015,VAR1F,0)/5; STICKLINE(拉升 AND 拉升>0.05 ,拉升,0,1,0),COLORFF0FFF; VAR1:=EMA(HHV(HIGH,500),21); VAR2:=EMA(HHV(HIGH,250),21); VAR3:=EMA(HHV(HIGH,90),21); VAR4:=EMA(LLV(LOW,500),21); VAR5:=EMA(LLV(LOW,250),21); VAR6:=EMA(LLV(LOW,90),21); VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21); VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21); VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21); VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21); VARB:=REF(LOW,1);} |
|