以下是岛形反转跳空高开主图幅图选股(无源码的请下载附件导入)
{主图}
T:=BARSLAST(H<REF(L,1));
TJ:=HHV(H,T+1);
TJ1:=TJ<REF(L,T+1);
XG:=REF(TJ1,1) AND L>REF(HHV(H,T+1),1);
QF:=BACKSET(XG=1,T+2);
QFT:=BARSLAST(CROSS(QF=1,0.5));
QF1:=BACKSET(XG=1,2);
QF1T:=BARSLAST(CROSS(QF1=1,0.5));
XL:=REFX(L,BARSNEXT(XG=1));
LL:=MIN(L,XL);
XH:=REFX(TJ,BARSNEXT(QF1T=0));
NOTEXT1:DRAWLINE(QFT=0,LL,XG,REF(LL,QFT),0),COLORYELLOW;
DRAWICON(CROSS(XG=1,0.5),L*0.95,1);
DRAWTEXT(CROSS(XG=1,0.5),H*1.05,'跳空高开'),COLORYELLOW;
{幅图}
T:=BARSLAST(H<REF(L,1));
TJ:=HHV(H,T+1);
TJ1:=TJ<REF(L,T+1);
XG:=CROSS(REF(TJ1,1) AND L>REF(HHV(H,T+1),1),0.5);
STICKLINE(CROSS(XG=1,0.5),0,8,1.5,0),COLORRED;
{选股}
T:=BARSLAST(H<REF(L,1));
TJ:=HHV(H,T+1);
TJ1:=TJ<REF(L,T+1);
XG:=REF(TJ1,1) AND L>REF(HHV(H,T+1),1);
CROSS(XG=1,0.5);
65366763.png
|