通达信双龙共舞源码公式
{股海网提供:www.guhai.com.cn}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:SMA(RSV,3,1),COLOR00FF00,NODRAW;
短D:SMA(短K,3,1),COLORYELLOW,NODRAW;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
长K:SMA(RSV1,5,1),COLOR7222CC,NODRAW;
长D:SMA(长K,10,1),COLOR86AA33,NODRAW;
地:18,COLORWHITE;
天:80,COLORBLUE;
STICKLINE(短K>短D,短K,短D,4,0),COLOR11AAFF;
STICKLINE(短K>短D,短K,短D,2,0),COLOR12BBFF;
STICKLINE(短K>短D,短K,短D,1,0),COLOR16CCFF;
STICKLINE(短K<=短D,短K,短D,4,0),COLOR01AA22;
STICKLINE(短K<=短D,短K,短D,2,0),COLOR10BB26;
STICKLINE(短K<=短D,短K,短D,0.8,0),COLOR20CC36;
STICKLINE(长K>长D,长K,长D,4,0),COLOR5511AA;
STICKLINE(长K>长D,长K,长D,2,0),COLOR6618BB;
STICKLINE(长K>长D,长K,长D,0.8,0),COLOR7728CC;
STICKLINE(长K<=长D,长K,长D,4,0),COLOR668733;
STICKLINE(长K<=长D,长K,长D,2,0),COLOR769933;
STICKLINE(长K<=长D,长K,长D,0.8,0),COLOR86AA33;
短K:SMA(RSV,3,1),COLOR00FF00,NODRAW;
短D:SMA(短K,3,1),COLORYELLOW,NODRAW;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
长K:SMA(RSV1,5,1),COLOR7222CC,NODRAW;
长D:SMA(长K,10,1),COLOR86AA33,NODRAW;
地:18,COLORWHITE;
天:80,COLORBLUE;
STICKLINE(短K>短D,短K,短D,4,0),COLOR11AAFF;
STICKLINE(短K>短D,短K,短D,2,0),COLOR12BBFF;
STICKLINE(短K>短D,短K,短D,1,0),COLOR16CCFF;
STICKLINE(短K<=短D,短K,短D,4,0),COLOR01AA22;
STICKLINE(短K<=短D,短K,短D,2,0),COLOR10BB26;
STICKLINE(短K<=短D,短K,短D,0.8,0),COLOR20CC36;
STICKLINE(长K>长D,长K,长D,4,0),COLOR5511AA;
STICKLINE(长K>长D,长K,长D,2,0),COLOR6618BB;
STICKLINE(长K>长D,长K,长D,0.8,0),COLOR7728CC;
STICKLINE(长K<=长D,长K,长D,4,0),COLOR668733;
STICKLINE(长K<=长D,长K,长D,2,0),COLOR769933;
STICKLINE(长K<=长D,长K,长D,0.8,0),COLOR86AA33;