通达信兄弟连鹏腾2009版本源码主图选股
在三阳开泰的基础上优化了出票信号,原来信号少,最后一个大阳出信号,为了不与三阳开泰重名,取名兄弟连。第一句可换成T:=BARSLAST(REF(C,1)/C>1.05);或者T:=BARSLAST(h/l>1.05);换成第一个就是三阴开泰,第二个就是可阴可阳综合选股,幅度到就行。简单思路三根大于9%的阳线相连,某日突破就是买点,公式第一句幅度可上下调整1.05——1.099,但需结合市场综合研判
{主图}
T:=BARSLAST(C/REF(C,1)>1.09);
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)>5 AND T3-T2>=5,T3) AND TJ2<1.15;
QF1:=BACKSET(XG=1,T2);
QF1T:=BARSLAST(CROSS(QF1=1,0.5));
QF2:=BACKSET(XG=1,T3);
QF2T:=BARSLAST(CROSS(QF2=1,0.5));
DRAWLINE(QF1T=0,H*1.2,XG,H,0),COLORRED;
DRAWLINE(QF2T=0,H,QF1T=0,H*1.2,0),COLORRED;
SPY:=BARSLAST(XG);
DRAWICON(CROSS(C,REF(H*1.05,SPY)),L,9);
STICKLINE(QF1T=0,H*1.2,H,0,0),COLORRED;
DRAWTEXT(QF1T=0,H*1.25,"兄弟连"),COLORRED;
DRAWTEXT(XG,C,"----------------------------------------------------------------->"),COLORYELLOW;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,1.5,0),COLORYELLOW;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,1.5,0),COLORWHITE;
{选股}
T:=BARSLAST(C/REF(C,1)>1.09);
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)>5 AND T3-T2>=5,T3) AND TJ2<1.15;
BB:=BARSLAST(XG);
狙击:CROSS(C,REF(H*1.05,BB)) AND BB<30 AND C>REF(H,BB) AND C/REF(H,BB)<1.1 AND C>REF(C,1) AND C>O;
- 上一篇公式:世上最牛最好最强老鼠仓主图与老鼠仓选股预警指标
- 下一篇公式:通达信强庄筑底副图指标