买点0:=j+jw<68 and j>ref(j,1) and jw>ref(jw,1) and adx>28 and cci>ref(cci,1) and (cci<-90 or cci>90) and c>ref(c,1);
买点1:=j>ref(j,1) and cci>ref(cci,1) and c>ref(c,1) and (ref(j,1)<5 or ref(cci,1)<-180);
买点:买点0 or 买点1;
DIBU:=K<20 AND D<20 AND Kw<20 AND Dw<20;
STICKLINE(DIBU=1,100,80,1,0),COLORRED;
DIBU0:= Km<20 AND Dm<20 AND Kj<20 AND Dj<20;
STICKLINE(DIBU0=1,100,90,4,1),COLOR00008f;
TOBU:=K>80 AND D>80 AND Kw>80 AND Dw>80;
STICKLINE(TOBU=1,20,0,1,0),COLORGREEN;
TOBU0:=Km>80 AND Dm>80 AND Kj>80 AND Dj>80;
STICKLINE(TOBU0=1,10,0,4,1),COLOR008f00;
——:60,colorwhite,dotline;0,colorred,dotline;
100,colorgreen,dotline;
partline(j,j<5 and j>ref(j,1),rgb(255,0,0),(j<5 and j<ref(j,1)) or (j>95 and j>ref(j,1)),rgb(255,255,0),j>95 and j<ref(j,1),rgb(0,255,0)),linethick2;
partline(jw,jw<5 and jw>ref(jw,1),rgb(128,0,0),(jw<5 and jw<ref(jw,1)) or (jw>95 and jw>ref(jw,1)),rgb(128,128,0),jw>5 and jw<95 and j>ref(j,1) and jw>ref(jw,1),rgb(128,0,128)),linethick3;
partline(adx,adx>ref(adx,1) and adx>25 and mdi>pdi,rgb(0,255,0),
adx<ref(adx,1) and adx>25 and mdi<pdi,rgb(0,255,0),
adx<25,rgb(88,88,88)),linethick2;
DRAWICON(FILTER(mdi>ref(mdi,1) and mdi>25 and cci<-90 and adx>ref(adx,1) and c>o,3),adx*1.0,12);