/*
DRAWLINE(AA1=0,DEA,底背离2,DEA,0),COLORFF00FF,LINETHICK4;
DRAWTEXT(底背离2,,' 底背离2'),COLORFF00FF;
AA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离2:=REF(CLOSE,AA2+1)<CLOSE AND REF(DIFF,AA2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(AA2=0,DEA,顶背离2,DEA,0),COLORGREEN,LINETHICK4;
顶背离1||底背离1||底背离2||顶背离2||EJ||FJ,SOUND('A');
VAR5:=REF(VAR4,1);
VAR10:=100*(C-COST(10))/COST(10);
主力建仓提醒: IF(VAR3< AND VAR2<11,-10,0),COLORRED;
空跌幅度:IF(VAR10<0,VAR10,0),LINETHICK2;
VAR11:=SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,3,1);
跌幅:IF(EMA(100*(C-COST(10))/COST(10),10)<0,EMA(100*(C-COST(10))/COST(10),10),0),LINETHICK2;
提醒: IF(SMA(VAR11,2,1)< AND VAR11<11,-5,0),COLORFFFFFF;
DRAWTEXT(CROSS(提醒,-1),-1,'确认'),COLORFFBB00;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
STICKLINE(OBV>MAOBV,12,16,2,0),COLOR9F9F6F;
STICKLINE(OBV<MAOBV,12,16,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,14,'★OBV多头★'),COLORFFFFFF;
EMDC:=EMA(EMA(EMA(DC,4),4),4);
AA:= (EMDC-REF(EMDC,1))/REF(EMDC,1)*100;
BA:= MA(AA,2);
机构:(AA-BA)*30000,COLORGREEN,LINETHICK1;
FILLRGN(机构>0,0,机构,COLORRED);
FILLRGN(机构<0,机构,0,COLORGREEN);
CC:=EMA(CLOSE,5)-EMA(CLOSE,55);
DD:=EMA(CC,10);
敢死队:(CC-DD)*20000,COLORWHITE,LINETHICK2;
IF(敢死队>=0,敢死队,NULL),COLORYELLOW,LINETHICK2;
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE(MAVOL1>=MAV
期货指标公式文华财经期货指标优化精品MACD指标 来自淘豆网m.daumloan.com转载请标明出处.