滚雪球实战系统
安装后如下图
DRAWKLINE(H,O,L,C);
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,10,0),COLOR000099;
STICKLINE(A1X<0,空方,突破,10,0),COLOR00CC66;
{计算EXPMA指标}
EMA12:EMA(C,12),COLOR0000FF,LINETHICK3;
EMA50:EMA(C,50),LINETHICK2;
{早晨之星:前阴+十字星+阳线}
晨星条件:=REF(C,2)/REF(O,2)<0.97 AND REF(C,1)<REF(O,1) AND ABS(REF(C,1)-REF(O,1))/REF(O,1)<0.03 AND C>O AND C>REF(C,2)*1.03;
DRAWTEXT_FIX(1,0,0.1,0,'早晨之星【前阴+十字星+阳线】'),COLOR0080FF;
{出水芙蓉:收盘价突破EMA12且EMA12金叉EMA50}
出水芙蓉:=C>EMA12 AND CROSS(EMA12,EMA50);
DRAWTEXT_FIX(1,0,0.25,0,'出水芙蓉【收盘价突破EMA12且EMA12金叉EMA50】'),COLOR00FF00;
{蜻蜓点水:长下影线且收盘在EMA12之上}
蜻蜓点水:=L<EMA12 AND C>EMA12 AND (MIN(C,O)-L)>(H-MAX(C,O))*2;
DRAWTEXT_FIX(1,0,0.3,0,'蜻蜓点水【长下影线且收盘在EMA12之上】'),COLOR4080FF;
{老鸭头:EMA12在EMA50之上回踩后再次抬头}
老鸭头条件:=COUNT(EMA12>EMA50,10)=10 AND EVERY(EMA12>REF(EMA12,1),3) AND REF(L,3)<EMA50;
DRAWTEXT_FIX(1,0,0.15,0,'老鸭头【EMA12在EMA50之上回踩后再次抬头】'),COLORMAGENTA;
{仙人指路:长上影线且收盘在EMA12之上}
仙人指路:=(H-MAX(C,O))>(MAX(C,O)-L)*2 AND C>EMA12 AND C>O;
DRAWTEXT_FIX(1,0,0.2,0,'仙人指路【长上影线且收盘在EMA12之上】'),COLORRED;
{绘制文字提示}
DRAWTEXT(晨星条件,C,'↖早晨之星'),COLORYELLOW;
DRAWTEXT(出水芙蓉,C,'↖出水芙蓉'),COLORGREEN;
DRAWTEXT(蜻蜓点水,C,'↖蜻蜓点水'),COLOR0080FF;
DRAWTEXT(老鸭头条件,C,'↖老鸭头'),COLORMAGENTA;
DRAWTEXT(仙人指路,C,'↖仙人指路'),COLORRED;
DRAWTEXT_FIX(1,0,0.35,0,'多空提示【红线在黄线上坚定看多,,红线下黄线下坚定看空】');
版权声明
所有指标均为免费分享。
文章内容来自互联网,本网站无任何收费项目也不推荐股票广告投放请自行识别风险。