改編的MACD,看似簡單,但比傳統(tǒng)的MACD能提前買入提前出逃,每放紅燈都能吃上一波,DIF變綠堅決出逃,絕不會深套。
全復(fù)權(quán)前提下看。
{金叉}
DIF:EMA(CLOSE,9)-EMA(CLOSE,18);
DEA:EMA(DIF,7),LINETHICK1;
MACD:=2*(DIF-DEA);
STICKLINE(MACD>=0,MACD,0,0,0),COLORF00FF0;
STICKLINE(MACD0,0,MACD,0,0 ),COLORFFFF00;
STICKLINE(MACDDEA,DEA,DEA),COLORWHITE,LINETHICK1;
金叉:=CROSS(DIF,DEA) AND DIF80 AND K2>80 ;
STICKLINE(TOBU=1,100,95,1,0),COLORGREEN;
DD:=-10;
非常好的主圖指標配套送大家
13日線是生命線,黃K是行情啟動,見那個*字怎么辦?就不用說了。
我的指標都是干干勁勁有精神的,配套齊了,如果你還會虧錢!也只能不用說了。
如果你還去相信那些賣指標的,也只能說沒救了!
{oof}
EMA13:EMA(C,13),COLOR0000FF,LINETHICK2;
EMA34:EMA(C,34),COLORYELLOW;
EMA55:EMA(C,55),COLORFF00FF;
EMA120:EMA(C,120),COLORFFCC66;
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
STICKLINE(AR6,O,C,2.5,0),LINETHICK2,COLORYELLOW;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5;
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1)0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55=REF(EMA55,1);
CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
DR1:=EMA13>EMA34 AND EMA34C AND CEMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;
DR6:=C>REF(C,1) ;
DR7:= DR1AND DR5 AND DR6 ;
DR8:=DR7 AND FILTER(DR7 ,10);
STICKLINE(DR8,O,C,2.5,0),LINETHICK2,COLORFF0080;
ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);
STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,0),LINETHICK2,COLORFF80FF;
我再加送個新RSI給大家,參數(shù)和Y軸參數(shù)在圖上。30以下可安全買入,50以上是強勢,靠近80是風險區(qū)。
LC:=REF(CLOSE,1);
K:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
M:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLOR0000FF,LINETHICK2;
.........................................
{V-DDX}
量:VOL,VOLSTICK;
預(yù)量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE0,VOL,0,2.5,0),COLORFF9088;
STICKLINE(買>0,0,買,2.5,0),COLORRED;
M5:MA(買,M1),COLORFFFFFF,LINETHICK1;
MM5:MA(賣,M2),COLOR00FF00,LINETHICK1;
{本人自己用的,認為是最好的VOL也送給大家,M1是5天均主買量,M2是5天均主賣量,換手統(tǒng)計里用到COLORRED流通股本、DYNAINFO換手率即時行情函數(shù),怕用的把他關(guān)了就是了,圖表上紅色多就是主買量強}
參數(shù):
M12 2505
M22 2505
..................................................
{KDXG}
VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K2:=SMA(VAR21,3,1) ;
D2:=SMA(K2,3,1) ;
XG:CROSS(K2,D2) AND D2<10,COLOR0000FF,LINETHICK2;
{選出的多數(shù)是超跌的,決定買入還需要結(jié)合其他理由}