第五代公式源碼:
【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;
機構(gòu)頂:XMA(MA(【Z】,25),1)*1.191,COLORYELLOW;
機構(gòu)底: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;{這句有未來你可以去掉};
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。