DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26); 短线买点:=CROSS(((DIFF1-EMA(DIFF1,9))*10-REF((DIFF1-EMA(DIFF1,9))*10,1)),1) AND (DIFF1-EMA(DIFF1,9))*10>1; STICKLINE(短线买点>0,0,45,1.3,0),COLOR008888; STICKLINE(短线买点>0,0,45,0.9,0),COLOR00AAAA; STICKLINE(短线买点>0,0,45,0.6,0),COLOR00DDDD; STICKLINE(短线买点>0,0,45,0.2,0),COLOR00FFFF; DRAWTEXT(短线买点>0,43,'☆预警'),COLOR00FFFF,LINETHICK1; 0,COLORWHITE,LINETHICK1; VARA1:=1; VARA2:=((((2*CLOSE)+HIGH)+LOW) / 4); 低位:20; 高位:90,COLORFFFF00; VARA4:=LLV(LOW,5); VARA5:=HHV(HIGH,4); C1:(EMA((((VARA2-VARA4)/(VARA5-VARA4))*100),4)*VARA1),COLORRED,LINETHICK2; C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VARA1),COLORGREEN,LINETHICK1; AA:=CROSS(C1,C2) ; BB:=CROSS(C2,C1) ; DRAWICON(AA,C1-6,23); DRAWICON(BB,C2+5,15);
爱约股解答:
VARA1:=1;
VARA2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VARA4:=LLV(LOW,5);
VARA5:=HHV(HIGH,4);
C1:=(EMA((((VARA2-VARA4)/(VARA5-VARA4))*100),4)*VARA1);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VARA1);
跳空高:=L>REF(H,1) AND C>0;
AA:CROSS(C1,C2) AND 跳空高;