CTA1:=(2*CLOSE+HIGH+LOW)/4;CTA4:=EMA((CTA1-CTA2)/(CTA3-CTA2)*100,8);CTA6:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;CTA12:=BARSLAST(CROSS(CTA8,CTA9));CTA13:=BARSLAST(CROSS(CTA9,CTA8));CTA14:=IF(CTA12<CTA13,CTA12+1,0);CTA15:=IF(CTA13<CTA12,CTA13+1,0);CTA16:=CTA8>CTA10 AND CTA9>CTA10 AND CTA10>REF(CTA10,1) AND CTA11>REF(CTA11,1);CTA17:=HHV(CTA14,5)>=2 AND CTA16 AND CTA8>REF(CTA8,1) AND CTA8>CTA9;CTA19:=BARSLAST(CTA18>0 AND NOT(REF(CTA18,1)))+1;CTA20:=(CLOSE/REF(CLOSE,CTA19)-1)*100;拉升值:IF(CTA20>0,CTA20,0),COLORLIMAGENTA;
|