BOLL2:=MA(CLOSE,20);
UP:BOLL2+2*STD(CLOSE,20),COLOR008888,LINETHICK2;
DW:BOLL2-2*STD(CLOSE,20),COLOR008888,LINETHICK2;
FILLRGN(DW>UP,DW,UP),COLOR9595DA;FILLRGN(DW
FILLRGN(DW>BOLL2,DW,BOLL2),COLORDA9595;FILLRGN(DW
BOLL:=MA(CLOSE,65);
顶:BOLL+2*STD(CLOSE,65),COLOR889900,LINETHICK2;
底:BOLL-2*STD(CLOSE,65),COLOR889900,LINETHICK2;
MA13:MA(CLOSE,13),COLORBLUE,LINETHICK1;
MA34:MA(CLOSE,34),COLORRED;
MA55:MA(CLOSE,55),COLOR008000;
{IF(MA13[
Y:(MA13-MA55)/MA13,LINETHICK0;
STICKLINE(Y>0.2,MA13,MA55,8,-1),COLORBLUE;
上下差:顶-底,LINETHICK0;
年:=1+(BARSLAST(YEAR <> REF(YEAR,1) {OR DATETODAY(DATE)=1}));
天S:=PARTLINE(DATATYPE=7,年);
高1:=HHV(H,DATATYPE=7);
低1:=LLV(L,DATATYPE=7);
高低:(C-低1)/(高1-低1)*100,LINETHICK0,COLORFFFF00;
振幅:(高1-低1)/低1*100,LINETHICK0,COLORBLACK;
天:COST(高1),LINETHICK0,COLORBLUE;
地:COST(低1),LINETHICK0,COLOR00FF00;
强:COST(高1-(高1-低1)*1/3),LINETHICK0,COLORRED;
中:COST(高1-(高1-低1)*1/2),LINETHICK0,COLORBLACK;
弱:COST(高1-(高1-低1)*2/3),LINETHICK0,COLORBLUE;
STICKLINE(C>0,COST(高1-(高1-低1)*1/4),COST(高1-(高1-低1)*1/4),2,0),COLORFF00FF;
STICKLINE(C>0,COST(高1-(高1-低1)*3/4),COST(高1-(高1-低1)*3/4),2,0),COLORFF00FF;
STICKLINE(C>0,天,天,2,0),COLORBLUE;
STICKLINE(C>0,地,地,2,0),COLOR00FF00;
STICKLINE(C>0,强,强,2,0),COLORRED;
STICKLINE(C>0,中,中,2,0),COLORBLACK;
STICKLINE(C>0,弱,弱,2,0),COLORBLUE;
RC:=地;
STICKLINE(c>=o,c,o,9,1),colorred;
STICKLINE(c>=o,l,o,0.3,0),colorred;
STICKLINE(c>=o,c,h,0.3,0),colorred;
STICKLINE(c
STICKLINE(c
【量H】:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100);
STICKLINE(【量H】=100 AND C>=O,C,O,8,0),COLOR00C8FE;
STICKLINE(【量H】=100 AND C
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,2,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,2,0),COLORBLUE;
Q43:COST(高1-(高1-低1)*1/4),LINETHICK0;
Q41:COST(高1-(高1-低1)*3/4),LINETHICK0;
RD:=Q41;
{MACD}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORBLACK;
DIFFA:(RC+DIFF*3);
DEA:=EMA(DIFF,9),COLORMAGENTA;
DEAA:(RC+DEA*3);
{DRAWBAND(DEAA,RGB(164,195,195),DIFFA,RGB(225,195,195));}
FILLRGN(DEAA>DIFFA,DEAA,DIFFA),COLOR5FDC2F;
FILLRGN(DEAA
MACD:=(DIFF-DEA)*4;
STICKLINE(MACD>0,RC,RC+MACD,1,0),COLORRED;
STICKLINE(MACD<0,RC,RC+MACD,1,1),COLOR008000;
STICKLINE(MACD>0 AND MACD][
STICKLINE(MACD<0 AND MACD>REF(MACD,1),RC,RC+MACD,1,0),COLOR889900;
{BIAS}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
短跌BIAS:IF(BIAS1<=-6,0.6+RC,RC),COLORBLACK,LINETHICK2;
中跌BIAS:IF(BIAS2<=-10,0.6+RC,RC),COLORBLUE,LINETHICK2;
长跌BIAS:IF(BIAS3<=-16,0.6+RC,RC),COLORRED,LINETHICK2;
短涨BIAS:IF(BIAS1>=6,天,天+0.6),COLORBLACK,LINETHICK2;
中涨BIAS:IF(BIAS2>=10,天,天+0.6),COLORBLUE,LINETHICK2;
长涨BIAS:IF(BIAS3>=16,天,天+0.6),COLORRED,LINETHICK2; ]
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
长短布林飞狐公式
加入收藏