XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); 神奇線: MA((CLOSE-XX2)/XX2,1); 買點(diǎn)1: IF(CROSS(神奇線,0) AND LOW/REF(HIGH,1)<1.012,0.5,0), STICK,COLORWHITE; 穩(wěn)賺: IF(COUNT(神奇線>REF(神奇線,1),3)=3 AND COUNT(神奇線<0,10)=10 AND REF(神奇線,3)=LLV(神奇線,10),0.5,0); 買點(diǎn)2: IF(REF(神奇線,2)=LLV(神奇線,20) AND REF(神奇線,2)<0.071 AND REF(神奇線,2)<REF(神奇線,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),0.5,0),COLORRED;{這段語句NOT(REF(LOW,1)>REF(HIGH,2)的意思,是否昨天最低價(jià)大于前天最高價(jià),這幾個(gè)條件都滿足顯示脈沖信號(hào),否則不顯示} DRAWTEXT( 買點(diǎn)1>0,0.2 ,'★神奇線'),COLORWHITE; DRAWTEXT( 買點(diǎn)2>0,0.4 , '★神奇線'),COLORRED; |
|