在牛市中,黄柱出现,短期买点,也意味着中线行情启动,不怕回调,大胆买入;
绿柱出现,主力拉升,不怕回调,大胆买入。
其他买点,除了macd本身买卖判断以外,
添加了天王买卖箭头提示
ZF5:=C/REF(C,5)<=1.3;"这是5日涨幅小于30%";
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
黄金坑:短线<20 AND 中线<20 AND 长线<20,coloryellow,nodraw;
STICKLINE(黄金坑>0 AND 黄金坑>=REF(黄金坑,1),0,黄金坑,2,0),coloryellow;
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DEA : EMA(DIFF,9),coloryellow;
MACD:2*(DIFF-DEA),nodraw;
Zero := 0;
gj:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;
STICKLINE(MACD>0 AND MACD[
]STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;
STICKLINE(MACD<0 AND MACD[
]DF火:= BARSLAST(EMA(CLOSE,5)[
]DF山:= COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),12);
天王卖:REF(DF火,4)>0 AND REF(DF火,3)>0 AND REF(DF火,2)>0 AND REF(DF火,1)>0 AND DF火=0 AND REF(DF火,1)>DF山,colorgreen,linethick2,nodraw;
STICKLINE(天王卖>0 AND 天王卖>=REF(天王卖,1),0,天王卖,10,0),colorgreen;
VAR12:=((VOL)/(CAPITAL))*(100);
VAR13:=LLVBARS(LOW,50);
VAR14:=SUM(VOL,VAR13);
VAR15:=HHVBARS(HIGH,50);
VAR16:=SUM(VOL,VAR15);
VAR17:=((CLOSE-REF(OPEN,VAR15))/(REF(OPEN,VAR15)))*(100);
VAR18:=((VAR16)/(CAPITAL))*(100);
VAR19:=((CLOSE-REF(OPEN,VAR13))/(REF(OPEN,VAR13)))*(100);
VAR20:=((VAR14)/(CAPITAL))*(100);
VAR21:=MA(CLOSE,3);
VAR22:=(REF(CLOSE,2))*(0.86500001);
VAR23:=(REF(CLOSE,13))*(0.77200001);
VAR24:=MIN(VAR22,VAR23);
VAR25:=MA(CLOSE,13);
抄底王1:=(IF(((CLOSE-VAR24)/(CLOSE)<0.02999999) AND (VAR17<(-35)) AND ((SUM(VAR12,5))/(5)<1.8),1,0))*(10),COLORFFFFFF,nodraw;
VAR26:=((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);
VAR27:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100);
VAR28:=EMA(VAR27,9);
VAR29:=(2)*(VAR27-VAR28);
抄底王2:=(VAR27<(-50) AND VAR26>7 AND VAR27
抄底王:(抄底王1 OR 抄底王2),coloryellow,nodraw,;
STICKLINE(抄底王>0 AND 抄底王>=REF(抄底王,1),0,抄底王,10,0),coloryellow;