里面增加了55均线 160均线的支撑 和基本上算是准确的买卖点 ,。。。还有追涨点。。。。源码赠送
K:=(C+H+L)/3;
D:=MA(K,4);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
马线:MA(牛线,6),COLORGREEN;
第2支撑55线:EMA(CLOSE,M1);
第3支撑160线:EMA(C,160),COLORYELLOW;
DRAWTEXT(REF(C,1) D AND C D AND D REF(D,1),H*1.02, ' 卖');
DRAWTEXT(REF(C,1) D AND C D AND D REF(D,1),L*0.98, ' 买'),COLORWHITE;
VAR326:=IF(CLOSE REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND VAR326 0, 91, 0);
STICKLINE(VAR327 90,L*0.99,L*0.95,4,0),COLORYELLOW;
DRAWTEXT(VAR327 90,LOW*0.95,'追涨'),COLORYELLOW;
E5:=EMA(HHV(C,5),5);
Q15:=EMA(HHV(C,15),15);
HEX:=EMA(MA(CLOSE,5),2);
HQA5:=IF(EMA(C, 3) HEX,(EMA(C,3)-(HEX-EMA(C, 3))),HEX);
HE15:=IF(EMA(C,6) =HEX,(EMA(C, 6)-(HEX-EMA(C,6))),HEX);
HE35:=IF(EMA(C,9) =HEX,(EMA(C, 9)-(HEX-EMA(C,9))),HEX);
PT:= REF(HIGH,1)-REF(LOW,1);
CDP := (HIGH + LOW + CLOSE)/3;
AH:= CDP + PT;
AL:= CDP - PT;
NH:= 2*CDP-LOW;
NL:= 2*CDP-HIGH;
HLOC:=HHV((REF(CDP+NH+NL+CLOSE,1))/4,1);
LC:=HHV(HLOC,5);
RMI:=SMA(MAX(C-LC,0),10,1)/SMA(ABS(C-LC),10,1)*100;
H1:=EMA(HHV(RMI,1), 1);
H10:=HHV(HHV(RMI,1),10);
H21:=HHV(HHV(RMI,1),21);
L5:=EMA(LLV(RMI,1),5);
仅仅提供源码