%>
input:N(21,1,240);
DRAWGBKLAST(CLOSE>0,STRIP(RGB(0,50,0),RGB(0,50,0),0));0,COLORFF44FF,DOTLINE;
DRAWTEXTABS(20,5,'★累加DDX(N可调): '+NUMTOSTRN(N,0)+'天.'),ColoR0044ff,LINETHICK6;
DDXH:(BIGORDER(1,2)+BIGORDER(2,2))*VOL/2,LINETHICK0,LAYER0;
DRAWTEXT(BARSTATUS=2,DDXH,'★'+NUMTOSTRN(DDXH/v*100,1)+'%'),ALIGN0,Color00FF99,LINETHICK3,LAYER1;
DDX:(BIGORDER(1,2)-BIGORDER(2,2)),LINETHICK0;
大与特大差:=ABS(ddX)*VOL;
SD大:SUM(DDX*V,N),LINETHICK0;
PARTLINE(SD大,(SD大>REF(SD大,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYER0;
DDXT:(BIGORDER(1,3)-BIGORDER(2,3)),LINETHICK0;
特大差:=ABS(ddXT)*VOL;
S特大:SUM(DDXT*V,N),COLOR00FFFF,DOTLINE,LAYER0;
STICKLINE(DDX>0,0,大与特大差,4,0),COLOR000088,LAYER0;
STICKLINE(DDX>0,0,大与特大差,3,0),COLOR0000aa,LAYER0;
STICKLINE(DDX>0,0,大与特大差,2,0),COLOR0000cc,LAYER0;
STICKLINE(DDX>0,0,大与特大差,1,0),COLOR0000ee,LAYER0;
STICKLINE(DDX<0,0,大与特大差,4,0),COLORFF8800,LAYER0;
STICKLINE(DDX<0,0,大与特大差,3,0),COLORFFaa00,LAYER0;
STICKLINE(DDX<0,0,大与特大差,2,0),COLORFFcc00,LAYER0;
STICKLINE(DDX<0,0,大与特大差,1,0),COLORFFee00,LAYER0;
STICKLINE(DDXT>0,0,特大差,1.5,650),COLOR007788,LAYER0;
STICKLINE(DDXT<0,0,特大差,1.5,650),COLOR88FF99,LAYER0;
STICKLINE(C>0,0,DDXH,2,0),COLORFF44FF,LAYER1;
STICKLINE(C>0,0,DDXH,1.5,0),COLORFF22EE,LAYER1;
STICKLINE(C>0,0,DDXH,1,0),COLORFF00BB,LAYER1;
ZF:=C-REF(C,1);
STICKLINE((ZF>=0),0,V,8,0),color0000FF;
STICKLINE((ZF>=0),0,V,7.8,0),color0018FF;
STICKLINE((ZF>=0),0,V,7.5,0),color001BFF;
STICKLINE((ZF>=0),0,V,7.3,0),color0022FF;
STICKLINE((ZF>=0),0,V,7,0),color0035FF;
STICKLINE((ZF>=0),0,V,6.8,0),color0041FF;
STICKLINE((ZF>=0),0,V,6.5,0),color0050FF;
STICKLINE((ZF>= 0),0,V,6.3,0),color0059FF;
STICKLINE((ZF>=0),0,V,6,0),color0062FF;
STICKLINE((ZF>=0),0,V,5.7,0),color006CFF;
STICKLINE((ZF>=0),0,V,5.5,0),color007AFF;
STICKLINE((ZF>=0),0,V,5.3,0),color0080FF;
STICKLINE((ZF>=0),0,V,5,0),color0089FF;
STICKLINE((ZF>=0),0,V,4.5,0),color0095FF;
STICKLINE((ZF>=0),0,V,3.5,0),color009CFF;
STICKLINE((ZF>=0),0,V,3,0),color00ABFF;
STICKLINE((ZF>=0),0,V,2.5,0),color00C0FF;
STICKLINE((ZF>=0),0,V,1.5,0),color00D1FF;
STICKLINE((ZF>=0),0,V,1,0),color00EAFF;
STICKLINE((ZF< 0),0,V,8,0),color006800;
STICKLINE((ZF< 0),0,V,7.8,0),color007F00;
STICKLINE((ZF< 0),0,V,7,5),color008B00;
STICKLINE((ZF< 0),0,V,7,0),color009000;
STICKLINE((ZF< 0),0,V,6.8,0),color009500;
STICKLINE((ZF< 0),0,V,6.5,0),color009C00;
STICKLINE((ZF< 0),0,V,6.3,0),color00A300;
STICKLINE((ZF< 0),0,V,5.7,0),color00AF00;
STICKLINE((ZF< 0),0,V,5.5,0),color00B900;
STICKLINE((ZF< 0),0,V,5.3,0),color00C000;
STICKLINE((ZF< 0),0,V,5,0),color00C100;
STICKLINE((ZF<0),0,V,4.5,0),color00CA00;
STICKLINE((ZF<0),0,V,3.5,0),color00D300;
STICKLINE((ZF< 0),0,V,3,0),color00DB00;
STICKLINE((ZF< 0),0,V,2.5,0),color00EA00;
STICKLINE((ZF< 0),0,V,1.5,0),color00FF00;
{股票教程网-http://cgjcw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}