源碼 VAR1:=REF(CLOSE,1); VAR2:=LLV(LOW,5); VAR3:=HHV(HIGH,10); VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,4); VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,2); VARA:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100; VARB:=SMA(MAX(CLOSE-VAR1,0),13,1)/SMA(ABS(CLOSE-VAR1),13,1)*100; VAR0A:=BARSLAST(VARB<><=3 and="">=3> VAR0B:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<> VAR1A:=BARSLAST(VARB<><=3 and="">=3> VAR1B:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<> VAR2A:=BARSLAST(VARB<><=3 and="">=3> VAR2B:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<> 三合一:VAR0A AND VAR0B AND VAR1A AND VAR1B AND VAR2A AND VAR2B AND CROSS(VAR4,VAR5) AND VAR4<> 距今天:BARSLAST(三合一),NODRAW; 機(jī)會難得:VAR0A AND VAR0B AND CROSS(VAR4,VAR5) AND VAR4<> 難得一見:VAR1A AND VAR1B AND CROSS(VAR4,VAR5) AND VAR4<> 滿倉買入:VAR2A AND VAR2B AND CROSS(VAR4,VAR5) AND VAR4<> DRAWTEXT(機(jī)會難得>0,0.3,'機(jī)會'),COLORWHITE; DRAWTEXT(難得一見>0,0.6,'一見'),COLORYELLOW; DRAWTEXT(三合一>0,0.9,'合一'),COLORFFFF99; DRAWTEXT(滿倉買入>0,0.9,'滿倉'),COLORFFFF99; 喜歡的轉(zhuǎn)發(fā)下謝謝,記得關(guān)注收藏 |
|