短:=7;
短1:=3;
短2:=3;
长:=38;
长1:=5;
长2:=10;
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;
{DRAWBAND(长K,RGB(255,0,0),长D,RGB(0,255,255));
DRAWBAND(短K,RGB(255,255,0),短D,RGB(51,204,102));};

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。