市场成本:DMA(AMOUNT/V/100,V/CAPITAL),COLORWHITE,NODRAW;
中:=EMA((HHV(H,20/2)+LLV(L,20/2))/2,20/3),COLORMAGENTA;
预测:IF((H+L+C+O)/4>=中,FORCAST(H,5),FORCAST(L,5)),COLORYELLOW,NODRAW;
心:=(HIGH + LOW + CLOSE+OPEN)/4;
阻:2*心-LOW,COLORMAGENTA,NODRAW;
阻Ⅰ:L+(心-L)+(H-L),COLORGREEN,NODRAW;
阻Ⅱ:H+(心-L)+(C-L),COLORLIRED,NODRAW;
撑:L+(C-心),COLORLIGREEN,NODRAW;
撑Ⅰ:2*心-HIGH,COLORLIMAGENTA,NODRAW;
撑Ⅱ:心-(H-L)COLORRED,NODRAW;
H1:=REFDATE(市场成本,DATE);
H2:=REFDATE(预测,DATE);
H3:=REFDATE(阻,DATE);
H4:=REFDATE(阻Ⅰ,DATE);
H5:=REFDATE(阻Ⅱ,DATE);
H6:=REFDATE(撑,DATE);
H7:=REFDATE(撑Ⅰ,DATE);
H8:=REFDATE(撑Ⅱ,DATE);
{-股票公式网站 }
STICKLINE(CURRBARSCOUNT=1,H1,H1,10,-2),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H2,H2,10,-2),COLORYELLOW,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H3,H3,10,-2),COLORMAGENTA,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H4,H4,10,-2),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H5,H5,10,-2),COLORLIRED,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H6,H6,10,-2),COLORLIGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H7,H7,10,-2),COLORLIMAGENTA,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H8,H8,10,-2),COLORRED,LINETHICK2;