同花顺墨航长线宝公式
源码
十三日日均线下变绿色:=MA(C,13) ;
STICKLINE(C<MA(C,13),OPEN,CLOSE,8,0),colorligreen;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,CLOSE,OPEN,10,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,10,0),colorblue;
成交量大于10日均量线和20日均量线k线变红色:=((VOL>=MA(VOL,10) ) AND (VOL>=MA(VOL,5) ) AND C>O ) ;
STICKLINE(成交量大于10日均量线和20日均量线k线变红色,OPEN,CLOSE,4,0),coloryellow;
m5:=EMA(C,5),coloryellow;
m10:=EMA(C,10);
m20:=EMA(C,20);
短期均线多头排列:=C>m5 AND m5>m10 AND m10>m20 AND C>REF(C,1) AND m5>REF(m5,1)
AND m10>REF(m10,1) AND m20>REF(m20,1) AND C/O>1.03 AND (H-C)/C<0.02;
五日均线角度大于:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>60;
k线变色条件1:=五日均线角度大于 AND 短期均线多头排列 ;
STICKLINE(k线变色条件1,OPEN,CLOSE,4,0),coloryellow;
MA$1:MA(CLOSE, N1),colorwhite;
MA$2:MA(CLOSE, N2),coloryellow;
MA$3:MA(CLOSE, N3),colorgreen;
MA$4:MA(CLOSE, N4),colorliblue;