同花顺波段图主图指标
-
相关简介:同花顺波段图主图指标 源码 {DRAWGBK(DATE900103,STRIP(RGB(80,120,255),RGB(120,140,240),1));} MB1:EMA(CLOSE,4),ColorFF4242; MB2:EMA(CLOSE,9) ,ColorFFFF2F; MB3:EMA(CLOSE,13) ,ColorFFFF2F; MB4:EMA(CLOSE,18) ,ColorFFFFFF; MB5:EMA(CLOSE,25) ,colorred; MB6:EMA(CLOSE,34)
-
文章来源:股海网作者:股海网发布时间:2016-04-27浏览次数:
同花顺波段图主图指标
源码
{DRAWGBK(DATE>900103,STRIP(RGB(80,120,255),RGB(120,140,240),1));}
MB1:EMA(CLOSE,4),ColorFF4242;
MB2:EMA(CLOSE,9) ,ColorFFFF2F;
MB3:EMA(CLOSE,13) ,ColorFFFF2F;
MB4:EMA(CLOSE,18) ,ColorFFFFFF;
MB5:EMA(CLOSE,25) ,colorred;
MB6:EMA(CLOSE,34) ,coloryellow;
MB7:EMA(CLOSE,43) ,coloryellow;
MB8:EMA(CLOSE,52) ,Color00F700;
qs1:=IF(C>MA(C,4),1,0);
qs2:=IF(C<MA(C,4),-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),Color00FF00;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,10,0),Color007900;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,1),Color00A200;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,4,0),Color00D600;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,2,0),Color00FF00;
STICKLINE((qs=-2 AND C>O),H,L,0,0),Color53A9FF;
STICKLINE((qs=-2 AND C>O),O,C,10,0),Color003E7B;
STICKLINE((qs=-2 AND C>O),O,C,8,1),Color0053A6;
STICKLINE((qs=-2 AND C>O),O,C,4,0),Color006AD5;
STICKLINE((qs=-2 AND C>O),O,C,2,0),Color2492FF;
STICKLINE((qs=0 AND C<O),H,L,0,0),ColorFFFFFF;
STICKLINE((qs=0 AND C<O),O,C,10,0),ColorBBBBBB;
STICKLINE((qs=0 AND C<O),O,C,8,1),ColorCACACA;
STICKLINE((qs=0 AND C<O),O,C,4,0),ColorF6F6F6;
STICKLINE((qs=0 AND C<O),O,C,2,0),ColorFFFFFF;
STICKLINE((qs=0 AND C>O),H,L,0,0),Color00FFFF;
STICKLINE((qs=0 AND C>O),O,C,10,0),Color008888;
STICKLINE((qs=0 AND C>O),O,C,8,1),Color00BFBF;
STICKLINE((qs=0 AND C>O),O,C,4,0),Color00DBDB;
STICKLINE((qs=0 AND C>O),O,C,2,0),Color00F0F0;
STICKLINE((qs=2 AND C<O),H,L,0,0),ColorFF00FF;
STICKLINE((qs=2 AND C<O),O,C,10,0),ColorBB00BB;
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),ColorFF66FF;
STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000FF;
STICKLINE((qs=2 AND C>O),O,C,10,0),Color00007B;
STICKLINE((qs=2 AND C>O),O,C,8,1),Color000097;
STICKLINE((qs=2 AND C>O),O,C,4,0),Color0000C4;
STICKLINE((qs=2 AND C>O),O,C,2,0),Color0000EC;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
低吸:=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.19,'▲'),ColorFFFFFF;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
DRAWTEXT((CROSS(84,RSI)),(HIGH)*(1.02),'▼'),Color00FFFF;