【Z】:=(C+H+O+L)/4;
【X】:=MA(【Z】,25)*1.08;
【Y】:=MA(【Z】,25)*0.90;
【高价线】:【X】,COLORGREEN,NODRAW,LINETHICK2;
【低价线】:【Y】,COLORMAGENTA,NODRAW,LINETHICK2;
【均价线】:【低价线】+(【高价线】-【低价线】)*2/4,NODRAW,COLORWHITE,LINETHICK1;
机构顶:XMA(MA(【Z】,25),1)*1.191,COLORYELLOW;
机构底:XMA(MA(【Z】,25),1)*0.809,COLORMAGENTA;
DIF1:=(EMA(CLOSE,60)-EMA(CLOSE,130));
DEA1:=EMA(DIF1,40);
周:=(DIF1-DEA1),STICK,LINETHICK7,COLORYELLOW;
AAA:=周<REF(周,1);
STICKLINE(AAA,【高价线】,【均价线】,4,0),COLOR8FBC8F;
BBB:=周>REF(周,1);
STICKLINE(BBB,【高价线】,【均价线】,4,0),COLORDB70DB;
CCC:=周>REF(周,1) AND 周>0;
STICKLINE(CCC,【高价线】,【均价线】,4,0),COLORCC3299 ;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26)),LINETHICK3,COLORCC3299 ;
DEA:=EMA(DIF,9),LINETHICK3,COLORBLUE;
日:=(DIF-DEA)*2,STICK,LINETHICK5,COLORRED;
EEE:=日<REF(日,1);
STICKLINE(EEE,【均价线】,【低价线】,4,0),COLOR8FBC8F;
FFF:=日>REF(日,1);
STICKLINE(FFF,【均价线】,【低价线】,4,0),COLORDB70DB;
GGG:=日>REF(日,1) AND 日>0;
STICKLINE(GGG,【均价线】,【低价线】,4,0),COLORCC3299 ;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
均价线:=【均价线】,LINETHICK1,COLORGREEN;
均价方向:=3*均价线-2*MA(均价线,3),COLORRED,LINETHICK1;
魔鬼通道上:【均价线】 + 2*STD(CLOSE,25) ,COLORGREEN ,CIRCLEDOT ,LINETHICK0;
魔鬼通道下:【均价线】 - 2*STD(CLOSE,25) ,COLORGREEN, CIRCLEDOT, LINETHICK0;
OOO:=MA((HIGH+LOW)/2,3),LINETHICK2,COLORLIGRAY;
【1】:DRAWLINE(CURRBARSCOUNT=2,OOO,CURRBARSCOUNT=1,OOO,0),COLORYELLOW,LINETHICK1;
【2】:DRAWLINE(CURRBARSCOUNT=3,OOO,CURRBARSCOUNT=2,OOO,0),COLORWHITE,LINETHICK1;
【3】:DRAWLINE(CURRBARSCOUNT=4,OOO,CURRBARSCOUNT=3,OOO,0),COLORCYAN,LINETHICK1;
【4】:DRAWLINE(CURRBARSCOUNT=5,OOO,CURRBARSCOUNT=4,OOO,0),COLORGREEN,LINETHICK1;
【5】:DRAWLINE(CURRBARSCOUNT=6,OOO,CURRBARSCOUNT=5,OOO,0),COLORBROWN,LINETHICK1;
【6】:DRAWLINE(CURRBARSCOUNT=7,OOO,CURRBARSCOUNT=6,OOO,0),COLORMAGENTA,LINETHICK1;
【7】:DRAWLINE(CURRBARSCOUNT=3,OOO,CURRBARSCOUNT=1,OOO,0),COLORRED,LINETHICK1;
DRAWBAND(【1】,RGB(155,50,50),【7】,RGB(250,250,0));
DRAWBAND(【2】,RGB(100,50,50),【7】,RGB(250,100,0));
【1】,LINETHICK3,CIRCLEDOT;
【2】,LINETHICK3,CIRCLEDOT;
【3】,LINETHICK3,CIRCLEDOT;
【4】,LINETHICK3,CIRCLEDOT;
【5】,LINETHICK3,CIRCLEDOT;
【6】,LINETHICK3,CIRCLEDOT;
三方:MA(MA((H+L)/2,3),3),LINETHICK1,COLORGREEN;
三向:3*MA((H+L)/2,3)-2*MA(MA((H+L)/2,3),3),COLORRED,LINETHICK1;
一线定乾坤:IF(ZIG(MA((H+L)/2,3),3)>REF(ZIG(MA((H+L)/2,3),3),1),ZIG(MA((H+L)/2,3),3),DRAWNULL),COLORLIGREEN,LINETHICK3;{这句有未来你可以去掉};
|