同花顺狂短线公式
源码:
★狂:STRLEFT('奔★',10),colormagenta;
MA5:MA(C,5),colorwhite;
MA10:MA(C,10),coloryellow;
MA20:MA(C,20);
MA30:MA(C,30),colorligreen;
MA60:=MA(C,60);
MA120:=MA(C,120);
MA250:=MA(C,250);
SAR:SAR_S(10,2,10);
多升回调:=CROSS(CLOSE,SAR) AND MA30>MA60;
多回调:IF(多升回调,CLOSE,DRAWNULL),colorred;
DRAWICON(多升回调,LOW*0.9861,'buy');
空升回调:=CROSS(SAR,LOW) AND MA60>MA30;
空回调:IF(空升回调,CLOSE,DRAWNULL),colorred;
DRAWICON(空升回调,LOW*0.9861,'buy');
底拉升:=CROSS(MA60,MA120) AND MA30>MA60;
底部:IF(底拉升,CLOSE,DRAWNULL),colorred;
DRAWICON(底拉升,LOW*0.9861,'buy');
中长线拉升:=CROSS(MA120,MA250) AND MA60>MA120;
中长线:IF(中长线拉升,CLOSE,DRAWNULL),colorred;
DRAWICON(中长线拉升,LOW*0.9861,'buy');