短中长公式 选股公式
-
相关简介:短中长公式 短线:COST(95),COLORGREEN,DOTLINE; 中线:(COST(95)+COST(5))/2,COLORGREEN,DOTLINE; 长线:COST(5),COLORGREEN,DOTLINE; 短涨:IF(短线REF(短线,1),短 线,DRAWNULL),LINETHICK2,COLORRED; 中涨:IF(中线REF(中线,1),中 线,DRAWNULL),LINETHICK2,COLORRED; 长涨:IF(长线=REF(长线,1),长 线,DRAWNULL
-
文章来源:股海网作者:股海网发布时间:2015-05-22浏览次数:
短中长公式
短线:COST(95),COLORGREEN,DOTLINE;
中线:(COST(95)+COST(5))/2,COLORGREEN,DOTLINE;
长线:COST(5),COLORGREEN,DOTLINE;
短涨:IF(短线>REF(短线,1),短
线,DRAWNULL),LINETHICK2,COLORRED;
中涨:IF(中线>REF(中线,1),中
线,DRAWNULL),LINETHICK2,COLORRED;
长涨:IF(长线>=REF(长线,1),长
线,DRAWNULL),LINETHICK2,COLORRED;
二百五均线向上:=EVERY(MA(C,250)>=REF(MA
(C,250),1),3);
顶死:=(二百五均线向上 AND REF(C<O,2) AND REF
(C<O,1) AND C>O AND C>长线 AND C<中线 AND 长线=长
涨 AND 中线=中涨) OR (二百五均线向上 AND 中线=中涨
AND 长线=长涨 AND REF((O>长线 AND C<长线),1) AND
L<长线 AND C>长线),NODRAW;
DRAWTEXT(顶死=1,L-L*0.06,' 顶死'),COLORYELLOW;
DRAWICON(顶死=1,L,1);
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE
+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
IF(YM>=YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(YM>=YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(YM<=YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM<=YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
选股公式
短线:=COST(95);
短涨:=短线>REF(短线,1);
YM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48)/2;
YM1:=EMA(YM,5);
YM2:=EMA(YM1,5);
TJ1:=YM>=YM2;
XG:TJ1 AND CROSS(短涨,0.5);