通达信趋势为王指标公式(趋势定位)
DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,'02',0); RSV:=(CLOSE-LLV(LOW,短))/(HHV(HIGH,短)-LLV(LOW,短))*100; 短K:SMA(RSV,短1,1),COLORYELLOW; 短D:SMA(短K,短2,1),COLOR66CC33; RSV1:=(CLOSE-LLV(LOW,长))/(HHV(HIGH,长)-LLV(LOW,长))*100; 长K:SMA(RSV1,长1,1),COLORRED; 长D:SMA(长K,长2,1),COLORCYAN; STICKLINE(长K>长D,长K,长D,2,0),COLORRED; STICKLINE(长K<=长D,长K,长D,2,0),COLORCYAN; STICKLINE(短K>短D,短K,短D,2,0),COLORYELLOW; STICKLINE(短K<=短D,短K,短D,2,0),COLOR66CC33; {www.qill.cnDRAWBAND(长K,RGB(255,0,0),长D,RGB(0,255,255));
移动端首页 | PC端
© by Gszb.com Mobile Web
通达信趋势为王指标公式(趋势定位)
DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,'02',0);
RSV:=(CLOSE-LLV(LOW,短))/(HHV(HIGH,短)-LLV(LOW,短))*100;
短K:SMA(RSV,短1,1),COLORYELLOW;
短D:SMA(短K,短2,1),COLOR66CC33;
RSV1:=(CLOSE-LLV(LOW,长))/(HHV(HIGH,长)-LLV(LOW,长))*100;
长K:SMA(RSV1,长1,1),COLORRED;
长D:SMA(长K,长2,1),COLORCYAN;
STICKLINE(长K>长D,长K,长D,2,0),COLORRED;
STICKLINE(长K<=长D,长K,长D,2,0),COLORCYAN;
STICKLINE(短K>短D,短K,短D,2,0),COLORYELLOW;
STICKLINE(短K<=短D,短K,短D,2,0),COLOR66CC33;
{www.qill.cnDRAWBAND(长K,RGB(255,0,0),长D,RGB(0,255,255));