波段起點(diǎn):=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE; 題材擒龍:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW; 情緒擒龍:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF00FF; 長(zhǎng)期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3; M1:=16; 操盤線:=MA(CLOSE,M1),COLORGREEN; 波段起點(diǎn)1:=MA(CLOSE,1); 波段起點(diǎn)2:=MA(CLOSE,3); 波段起點(diǎn)3:=MA(波段起點(diǎn)2,1); 波段起點(diǎn)4:=MA(波段起點(diǎn)2,3); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2; DD:=MACD>0; AA:=C>MA(C,5); A:=IF(CLOSE>=O,(CLOSE-O)/4,0); 波段起點(diǎn)F:=BARSLASTCOUNT(波段起點(diǎn)3>波段起點(diǎn)4)=1 AND AA; F:=波段起點(diǎn)>REF(波段起點(diǎn),1) AND 題材擒龍>REF(題材擒龍,1) AND 情緒擒龍>REF(情緒擒龍,1) AND 長(zhǎng)期>REF(長(zhǎng)期,1); XG:波段起點(diǎn)F AND F AND 波段起點(diǎn)< 情緒擒龍+長(zhǎng)期;
|