2015-10-10 07:32:4 MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA250:=MA(CLOSE,250),COLORRED; N1:=BARSLAST(CROSS(MA5,MA10)); N2:=BARSLAST(CROSS(MA10,MA5)); 多:=IF(N1<N2,N1+1,0); 空:=IF(N2<N1,N2+1,0); QSXS:=MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1); 點火:多*QSXS,COLORRED,LINETHICK0; 燃料:空*QSXS,COLORFFFF00,LINETHICK0; HKFJ:=HHV(多,5)>=2 AND QSXS AND MA5>REF(MA5,1) AND MA5>MA10; 衛(wèi)星升空:HKFJ*多,COLORFF00FF,LINETHICK2;{紫紅線} HKSJ:=BARSLAST(衛(wèi)星升空>0 AND NOT(REF(衛(wèi)星升空,1)))+1; 高度:(C/REF(C,HKSJ)-1)*100,COLOR00FFFF; 空中加燃:點火>0 AND 衛(wèi)星升空=0,COLOR00FF00,POINTDOT,LINETHICK0; N3:=BARSLAST(空中加燃)+1; K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159; JXGD1:=K5>REF(K5,1) AND REF(K5,1)<REF(K5,2); JXGD2:=MA5>REF(MA5,1) AND REF(MA5,1)<REF(MA5,2); 加速升空:FILTER((JXGD1 OR JXGD2) AND C>MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0; N4:=BARSLAST(加速升空); STICKLINE(空中加燃,0,點火/10+1,4,1),COLOR00FF00;{粗綠柱} STICKLINE(N4>0 AND N4<=5,REF(點火,N4+1),REF(點火,N4+1),4,0),COLORFFFFFF; DRAWTEXT(加速升空,點火,'!▲'),COLOR00FFFF; {這是一個非常實用的專門用于牛市和強勢股的指標公式,,不含有任何未來函數(shù),, 也沒有使用任何未來數(shù)據(jù),信號因此不會漂移,。這個指標好不好,,用了就知道!}; |
|