编写要求:
请老师把轨道线改成通达信的
{K线颜色}
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1MA21,h,l,0,0),Color106fff;
STICKLINE(VAR1>MA21,c,o,8,0),Color1047FF;
STICKLINE(VAR1>MA21,c,o,5,0),Color1055ff;
STICKLINE(VAR1>MA21,c,o,2,0),Color106fff;
STICKLINE(VAR1MA21,h,l,0,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,8,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,5,0),Colorff7710;
STICKLINE(VAR1MA21,c,o,2,0),Colorff9910;
STICKLINE(VAR1>VAR2 AND VAR1VAR2 AND VAR1VAR2 AND VAR1VAR2 AND VAR1=1.099);
g2:=ref(c,g1);
g3:=ref(o,g1);
HORILINE(g2 and g1<13,g2,20),COLORgray;
HORILINE(g3 and g1<13,g3,20),COLORgray;
{基本信息}
【上市年】:=REF(YEAR,BARSCOUNT(C)-1);
【月】:=REF(MONTH,BARSCOUNT(C)-1);
【日】:=REF(DAY,BARSCOUNT(C)-1);
DRAWTEXTREL(1,10,'■上市日期:'+NUMTOSTRN(【上市年】,0)+'年'+NUMTOSTRN(【月】,0)+'月'+NUMTOSTRN(【日】,0)+'日'+' 上市后总交易天数:'+NUMTOSTRN(BARSCOUNT(C),0)+'天 '),ColorAAEEEE,LINETHICK1;
DRAWTEXTABS(1,25,'■主营业务:'+SELFSTRING('主营业务')),color00D7FF;
DRAWTEXTABS(1,45,'■主题库:'+SELFSTRING('主题投资')),COLOR00A5FF;
DRAWTEXTREL(5,975, ' 善谋者,谋势。不善谋者,谋子.'),coloryellow,linethick1;
{缺口}
RJ:=(C+O)*0.5;
DRAWTEXT(L>REF(H,1),REF(H,1),NUMTOSTRN(REF(H,1),2)+'-'+NUMTOSTRN(L,2)),COLORGRAY;
DRAWTEXT(REF(L,1)>H,REF(L,1),NUMTOSTRN(ref(l,1),2)+'-'+NUMTOSTRN(h,2)),color399c7f;
aaa:=(ma(close,7)+ma(close,14))/2;
ccc:=(std(close,7)+std(close,14))/2;
bbb:=aaa+2.1*ccc;
ddd:=aaa+0.72*ccc;
zzz:=if(ccc>1.88,ma(ddd,3),ddd);
Balance:zzz;
OT:zzz*1.1;
Jwin:zzz*1.05;
Correction:zzz*0.95;
Rebound:zzz*0.9;
W00:=COST(1);W10:=COST(10);W20:=COST(20);
W30:=COST(30);W40:=COST(40);W50:=COST(50);
W60:=COST(60);W70:=COST(70);W80:=COST(80);
W90:=COST(90);W100:=COST(99);
W5:=COST(5);W15:=COST(15);W25:=COST(25);
W35:=COST(35);W45:=COST(45);W55:=COST(55);
W65:=COST(65);W75:=COST(75);W85:=COST(85);W95:=COST(95);
C5:=W5-W00; C10:=W10-W5;C15:=W15-W10;C20:=W20-W15;C25:=W25-W20;
C30:=W30-W25;C35:=W35-W30;C40:=W40-W35;C45:=W45-W40;C50:=W50-W45;
C55:=W55-W50;C60:=W60-W55;C65:=W65-W60;C70:=W70-W65;C75:=W75-W70;
C80:=W80-W75;C85:=W85-W80;C90:=W90-W85;C95:=W95-W90;C100:=W100-W95;
ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30,MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C65,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100)))))))))))))))))));
STICKLINE(ZX=C5,W00,W5,8,0) ,Color332900;
STICKLINE(ZX=C10,W10,W5,8,0) ,Color332900;STICKLINE(ZX=C15,W15,W10,8,0) ,Color332900;STICKLINE(ZX=C20,W20,W15,8,0), Color332900;
STICKLINE(ZX=C25,W25,W20,8,0), Color332900;STICKLINE(ZX=C30,W30,W25,8,0), Color332900;STICKLINE(ZX=C35,W35,W30,8,0) ,Color332900;STICKLINE(ZX=C40,W40,W35,8,0), Color332900;
STICKLINE(ZX=C45,W45,W40,8,0), Color332900;STICKLINE(ZX=C50,W50,W45,8,0), Color332900;STICKLINE(ZX=C55,W55,W50,8,0) ,Color332900;STICKLINE(ZX=C60,W60,W55,8,0), Color332900;
STICKLINE(ZX=C65,W65,W60,8,0), Color332900;STICKLINE(ZX=C70,W70,W65,8,0) ,Color332900;STICKLINE(ZX=C75,W75,W70,8,0) ,Color332900;STICKLINE(ZX=C80,W80,W75,8,0), Color332900;
STICKLINE(ZX=C85,W85,W70,8,0) ,Color332900;STICKLINE(ZX=C90,W90,W85,8,0) ,Color332900;STICKLINE(ZX=C95,W95,W90,8,0) ,Color332900;STICKLINE(ZX=C100,W100,W95,8,0), Color332900;
解答:
?