通达信BIAS画线突破压力线买入(副图指标)
你的思路可以决定你出路------对强势股(或庄股)的思考{附图}
收盘无事,用公式选股做了复盘,心有所感,发上来与朋友们分享。绝无荐股之意。只是在思考这些类型的股,有没可能成为下一波的龙头呢?
{BIAS画线突破压力线买入}
BIAS1 :(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
OBV:=BIAS1;
P:=5;
A1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高点}
A2:=REF(OBV,P)=LLV(OBV,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低点}
上:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;
下:REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;
向上:CROSS(OBV,上*1.01),NODRAW;
相对能量:(OBV-下)/(上-下)*100,COLORYELLOW,NODRAW;
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
S11:=R11>REF(R11,1);
DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
U11:=T11>REF(T11,1);
DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;
STICKLINE(C>0,下,下,1,0),COLOR00FF00;
STICKLINE(C>0,上,上,1,0),COLORFF00FF;
DRAWTEXT(CROSS(OBV,上*1.01),上,'上'),COLORYELLOW;
DRAWTEXT(CROSS(下*0.99,OBV),下,'下'),COLORYELLOW;
DRAWICON(D1,OBV,1);
DRAWICON(D2,OBV,2);
{向上突破高点连线,向下突破低点连线往往是转折点。}
画线突破选股
BIAS1 :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
OBV:=BIAS1;
P:=5;
A1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);
上:=REF(OBV,BARSLAST(D1));
CROSS(OBV,上*1.01);