以下是同花顺实战均线主图指标
同花顺实战均线主图指标
源码
DRAWGBK(DATE>900103,STRIP(RGB(80,10,255),RGB(130,140,255),1));
短线:EMA(C,6),CulorFFFFFF;
工作线:EMA(C,14),CulorFF24FF;
中线1:EMA(C,25),CulorFFFF28;
中线2:EMA(C,43),Culor1AFFFF;
黑马线:EMA(C,140),Culor44FF44;
疯牛线:EMA(C,453),Culor7D00FB;
qs1:=IF(C>MA(C,5),1,0);
qs2:=IF(C<MA(C,5),-1,0);
qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
qs:=qs1+qs2+qs3+qs4;
STICKLINE((qs=-2 AND C<O),H,L,0,0),Culor00FF00;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,10,0),Culor007900;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,1),Culor00A200;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,4,0),Culor00D600;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,2,0),Culor00FF00;
STICKLINE((qs=-2 AND C>O),H,L,0,0),Culor53A9FF;
STICKLINE((qs=-2 AND C>O),O,C,10,0),Culor003E7B;
STICKLINE((qs=-2 AND C>O),O,C,8,1),Culor0053A6;
STICKLINE((qs=-2 AND C>O),O,C,4,0),Culor006AD5;
STICKLINE((qs=-2 AND C>O),O,C,2,0),Culor2492FF;
STICKLINE((qs=0 AND C<O),H,L,0,0),CulorFFFFFF;
STICKLINE((qs=0 AND C<O),O,C,10,0),CulorBBBBBB;
STICKLINE((qs=0 AND C<O),O,C,8,1),CulorCACACA;
STICKLINE((qs=0 AND C<O),O,C,4,0),CulorF6F6F6;
STICKLINE((qs=0 AND C<O),O,C,2,0),CulorFFFFFF;
STICKLINE((qs=0 AND C>O),H,L,0,0),Culor00FFFF;
STICKLINE((qs=0 AND C>O),O,C,10,0),Culor008888;
STICKLINE((qs=0 AND C>O),O,C,8,1),Culor00BFBF;
STICKLINE((qs=0 AND C>O),O,C,4,0),Culor00DBDB;
STICKLINE((qs=0 AND C>O),O,C,2,0),Culor00F0F0;
STICKLINE((qs=2 AND C<O),H,L,0,0),CulorFF00FF;
STICKLINE((qs=2 AND C<O),O,C,10,0),CulorBB00BB;
STICKLINE((qs=2 AND C<O),O,C,8,1),colorFF5BFF;
STICKLINE((qs=2 AND C<O),O,C,4,0),colorF900F9;
STICKLINE((qs=2 AND C<O),O,C,2,0),CulorFF66FF;
STICKLINE((qs=2 AND C>O),H,L,0,0),Culor0000FF;
STICKLINE((qs=2 AND C>O),O,C,10,0),Culor00007B;
STICKLINE((qs=2 AND C>O),O,C,8,1),Culor000097;
STICKLINE((qs=2 AND C>O),O,C,4,0),Culor0000C4;
STICKLINE((qs=2 AND C>O),O,C,2,0),Culor0000EC;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,4),4)/EMA(EMA(ABS(MTM),4),4);
低吸:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(低吸=1,5),LOW-0.99,’▲’),Culor00E1E1;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.08),’▼’),CulorFFFFFF;
评论(0)