同花顺操盘K线主图指标
-
相关简介:同花顺操盘K线主图指标 源码 {DRAWGBK(DATE900103,STRIP(RGB(80,100,255),RGB(120,130,255),1));} qs1:=IF(CMA(C,4),1,0); qs2:=IF(CMA(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 CO),H,L,
同花顺操盘K线主图指标
源码
{DRAWGBK(DATE>900103,STRIP(RGB(80,100,255),RGB(120,130,255),1));}
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),Color009900;
STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,1),Color00C200;
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),Color2492FF;
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),Color0984FF;
STICKLINE((qs=0 AND C<O),H,L,0,0),ColorFFFFFF;
STICKLINE((qs=0 AND C<O),O,C,10,0),ColorCCCCCC;
STICKLINE((qs=0 AND C<O),O,C,8,1),ColorDEDEDE;
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),Color009FFF;
STICKLINE((qs=0 AND C>O),O,C,10,0),Color009FFF;
STICKLINE((qs=0 AND C>O),O,C,8,1),Color00B5FF;
STICKLINE((qs=0 AND C>O),O,C,4,0),Color00E4FF;
STICKLINE((qs=0 AND C>O),O,C,2,0),Color00FFFF;
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),ColorFF11FF;
STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000bb;
STICKLINE((qs=2 AND C>O),O,C,10,0),Color000066;
STICKLINE((qs=2 AND C>O),O,C,8,1),Color000077;
STICKLINE((qs=2 AND C>O),O,C,5,0),Color000099;
STICKLINE((qs=2 AND C>O),O,C,3,0),Color0000bb;
压力:HHV(C,20),colorgreen;
支撑:LLV(L,20),ColorFFFF2D;
空间:(压力-支撑)/支撑*100,LINETHICK0;
突破:IF(压力>REF(压力,1),1,0),LINETHICK0;
MA4:MA(C,4),LINETHICK1,ColorFFFFFF;
MA9:MA(C,9),LINETHICK1,coloryellow;
mA18:MA(C,18),LINETHICK1,colormagenta;
STICKLINE((突破),O,C,0,0),Color9326FF;
STICKLINE((突破),O,C,10,0),Color5400A8;
STICKLINE((突破),O,C,8,0),Color5F00BD;
STICKLINE((突破),O,C,4,0),Color7600EC;
STICKLINE((突破),O,C,2,0),Color9326FF;
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.19,'▲'),ColorFFFFFF;
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.02),'▼'),Color00E1E1;
最新收益:MGSYX(33),Color6700CE;