通达信三阳开泰
来源:股典钟量化炒股机器人 | 作者:股典钟量化炒股机器人 | 发布时间: 2024-01-05 | 209 次浏览 | 分享到:
1、通达信2、三阳开泰

DRAWLINE(QF1T=0,H*1.2,XG,H,0)COLORYELLOW;

DRAWLINE(QF2T=0,H,QF1T=0,H*1.2,0)COLORYELLOW;

DRAWICON(XG=1,L,1);

STICKLINE(QF1T=0,H*1.2,H,0,0)COLORYELLOW;

DRAWTEXT(QF1T=0,H*1.25,'三阳开泰'),COLORYELLOW;

{幅图}
A:=C/O;

B:=FINANCE(7)/100000000;

T:=BARSLAST(C>O AND C/REF(C,1)>1.06 AND A>1.03);

T1:=T+1;

T2:=REF(T1,T+1)+T1;

T3:=REF(T2,T+1)+T1;

H2:=REF(H,T2-1);

H3:=REF(H,T3-1);

L2:=REF(L,T2-1);

L3:=REF(L,T3-1);

TJ1:=H2>L3 AND L2<H3;

TJ2:=MAX(MAX(H,H2),H3)/MIN(MIN(H,H2),H3);

XG:=FILTERX(T=0 AND REF(T1,1)>30 AND T3-T2>=5,T3) AND T3<100 AND TJ2<1.18 AND B<150;

STICKLINE(XG,0,2,1.5,0),COLORYELLOW;

STICKLINE(XG,2,4,1.5,0),COLORGREEN;

STICKLINE(XG,4,6,1.5,0),COLORRED;

{选股}

A:=C/O;

B:=FINANCE(7)/100000000;

T:=BARSLAST(C>O AND C/REF(C,1)>1.06 AND A>1.03);

T1:=T+1;

T2:=REF(T1,T+1)+T1;

T3:=REF(T2,T+1)+T1;

H2:=REF(H,T2-1);

H3:=REF(H,T3-1);

L2:=REF(L,T2-1);

L3:=REF(L,T3-1);

TJ1:=H2>L3 AND L2<H3;

TJ2:=MAX(MAX(H,H2),H3)/MIN(MIN(H,H2),H3);

XG:FILTERX(T=0 AND REF(T1,1)>30 AND T3-T2>=5,T3) AND T3<100 AND TJ2<1.18 AND B<150;