通達信頭肩底選股公式(最好選取當日熱點板塊) 即5日均線與10日均線最近的金叉比上一個金叉位置高,上一個金叉的位置又比上上一個金叉的位置低。 JC:=CROSS (MA(C,5),MA(C,10)); YJ:JC AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) < REF(C,BARSLAST(REF(JC,1))-1) DEA:=EMA(DIFF,9); MACD:=MA(2*(DIFF-DEA),2); JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0)); ZQ3:=CROSS(DIFF,DEA) AND DEA>=0 AND COUNT(JCCOUNT=21,W)=1; ZQ:=BARSLAST(DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA)); ZQ2:=BARSLAST(CROSS(MACD,0)); JC:=ZQ>ZQ2>ZQ3; VAR1:= C/O<1.023 AND H/C<1.028 AND O/L<1.035; JC1:=COUNT(VAR1,3)=3; YJ:JC AND JC1 AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) < REF(C,BARSLAST(REF(JC,1))-1); |
|