手机端
当前位置:爱约股 > 公式技巧 > 轨道线改成通达信的

轨道线改成通达信的

请老师把轨道线改成通达信的 {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,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 g1H,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;

爱约股解答:

 

 

 

{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(VAR1<MA21,H,L,0,0),COLORGREEN; 

STICKLINE(VAR1<MA21,C,O,2,0),COLOR10B210; 

STICKLINE(VAR1<MA21,C,O,1,0),COLOR10C110; 

STICKLINE(VAR1<MA21,C,O,0.5,0),COLOR10DD10; 

STICKLINE(VAR1>MA21,H,L,0,0),COLOR106FFF; 

STICKLINE(VAR1>MA21,C,O,2,0),COLOR1047FF; 

STICKLINE(VAR1>MA21,C,O,1,0),COLOR1055FF; 

STICKLINE(VAR1>MA21,C,O,0.5,0),COLOR106FFF; 

STICKLINE(VAR1<VAR2 AND VAR1>MA21,H,L,0,0),COLORFF5D10; 

STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,2,0),COLORFF5D10; 

STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,1,0),COLORFF7710; 

STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,0.5,0),COLORFF9910; 

STICKLINE(VAR1>VAR2 AND VAR1<MA21,H,L,0,0),COLORFF00FF; 

STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,2,0),COLORFF43FF; 

STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,1,0),COLORFF63FF; 

STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,0.5,0),COLORFF83FF;

 

{平台}

G1:=BARSLAST(CLOSE/REF(CLOSE,1)>=1.099);

G2:=REF(C,G1);

G3:=REF(O,G1);

DRAWLINE(CLOSE/REF(CLOSE,1)>=1.099,L,REF(CLOSE/REF(CLOSE,1)>=1.099,1),REF(L,1),1);

DRAWLINE(CLOSE/REF(CLOSE,1)>=1.099,H,REF(CLOSE/REF(CLOSE,1)>=1.099,1),REF(H,1),1);

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;

 

 

 

 

 

 

 

 

TAG:
分享至:

相关推荐