新年祝愿大家 龙腾虎跃,财源滚滚,哈哈,最好再来一个双色球特等jiang就圆满了!
本主图指标 吸收了 草原雄鹰和涨停回马枪主图指标的精华,经本人优化组合,虽不能说是原创,但也是一片心血啦,现在分享给大家
龙腾虎跃源码:
MA5: MA(C, 5);
MA10:MA(C, 10);
MA20: MA(C, 20);
MA40: MA(C, 40);
MA60: MA(C, 60);
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
B3:='┄┄┄┄┄';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄┄';
DRAWTEXT(涨停,L,B2),COLORGRAY;
X1:=(HHVALL(HIGH)-LLVALL(LOW))/64;
X2:=LLVALL(LOW)+X1;
DIFF:=EMA(C,12)-EMA(C,26);
DEA :=EMA(DIFF,9);
MACD:=(DIfF-DEA)*4+X2;
FILLRGN(MaCD,X2,MaCD>X2,RGB(255,0,0)),PRECIS2;
FILLRGN(X2,MaCD,X2>=MaCD,RGB(0,255,250)),PRECIS2;
A1:=BARSLAST(REF(CROSS(DIfF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIfF>REF(DIfF,A1+1) AND CROSS(DIfF,DEA);
DRAWICON(底背离,x2*0.99,15) ;
DRAWTEXT(底背离,x2*1,'花开'),COLOR00FFFF,ALIGN1;
低位金叉:=CROSS(DIfF,DEA) AND DIfF<-0.1;
DRAWICON(低位金叉,x2*0.99,15) ;
DRAWTEXT(低位金叉,x2*1.02,'春暖'),COLOR00FFFF,ALIGN1;
CBFB:=MA(C,2);
JL:=IF(C>CBFB,V,0);
CL:=IF(C<CBFB,V,0);
JLH:=SUM(JL,4);
CLH:=SUM(CL,4);
LHB:=CLH/JLH;
TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);
DRAWICON(TJ1,L*0.96,9);
ZT:=C/REF(C,1)>1.097;
DRAWTEXT(ZT,L*0.98,'涨停'),COLORred;
VARZT:=BARSLAST(C/REF(C,1)>1.097);
STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;
DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;
DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;
DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;
DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
|