2023突破阻力主图 近底部买入点《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
条件:=EVERY(L>REF(L,1),3) AND EVERY(REF(L,3) CHP1:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(条件))+4);
低线:REF(L,CHP1);
CHPA:=(COUNT(低线>L,CHP1)=1 AND 低线>L) AND CHP1>5 AND H/L>1.04;
CHP2:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHPA))+1);
CHP3:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP1))+4);
CHP4:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP3))+4);
高线:REF(H,CHP2),COLORCYAN,DOTLINE;
DRAWTEXT(CHP1+1,L*0.99,'前底部'),COLORYELLOW;
DRAWTEXT(CHP2+1,H,'假突破'),DRAWABOVE,COLORYELLOW;
DRAWTEXT(CHP3+1,L*0.99,'次底部'),COLORYELLOW;
DRAWTEXT(CHP4+1,L*0.99,'近底部'),COLORYELLOW;
DRAWICON(CHP2+1,L,39);
DRAWICON(COUNT(C>高线,CHP2)=1 AND C>高线 AND CHP2<30,L,38);
DRAWTEXT(COUNT(C>高线,CHP2)=1 AND C>高线 AND CHP2<30,H,'买点'),DRAWABOVE,COLORYELLOW;
选股公式源码
{选股公式:买点}
条件:=EVERY(L>REF(L,1),3) AND EVERY(REF(L,3) CHP1:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(条件))+4);
低线:=REF(L,CHP1);
CHPA:=(COUNT(低线>L,CHP1)=1 AND 低线>L) AND CHP1>5 AND H/L>1.04;
CHP2:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHPA))+1);
CHP3:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP1))+4);
CHP4:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP3))+4);
高线:=REF(H,CHP2),COLORCYAN;
{DRAWICON(COUNT(C>高线,CHP2)=1 AND C>高线 AND CHP2<30,L,38);
DRAWTEXT(COUNT(C>高线,CHP2)=1 AND C>高线 AND CHP2<30,H,'买点'),DRAWABOVE,COLORYELLOW;}
买点:COUNT(C>高线,CHP2)=1 AND C>高线 AND CHP2<30;
{卖出公式:绿箭头图标}
条件:=EVERY(L>REF(L,1),3) AND EVERY(REF(L,3) CHP1:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(条件))+4);
低线:=REF(L,CHP1);
CHPA:=(COUNT(低线>L,CHP1)=1 AND 低线>L) AND CHP1>5 AND H/L>1.04;
CHP2:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHPA))+1);
CHP3:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP1))+4);
CHP4:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(CHP3))+4);
{DRAWICON(CHP2+1,L,39);}
绿箭头图标:CHP2+1; thanks for the sharing! 好人一生平安! 只为积分!感谢! 谢谢了呀,辛苦了呀,支持呀! 好人还是很多的! 不知该说些什么。。。。。。就是谢谢 厉害了! 爱分享,爱生活 相当不错,感谢无私分享精神!
页:
[1]
2