做个(K)线拐头向上的选股公式
做个(K)线拐头向上的选股公式
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
编写条件:
编写方法:
网友求助:
源码
x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1;
hh:=hhv(h,x); ll:=llv(l,x); hl:=hh-ll;
a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll;
a19:=.191*hl+ll; a5:=.5*hl+ll;
DRAWTEXTREL(0,0,'最高 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄' ),coloraaaaaa;
DRAWTEXTREL(0,900+76,'最低.................................................................................................................................'),color00ff00;
DRAWTEXTREL(0,0.50*(900+76),'0.5..................................................................................................................................'), colorff937f;
DRAWTEXTREL(0,0.191*(900+76),'0.809................................................................................................................................'), colorff937f;
DRAWTEXTREL(0,0.382*(900+76),'0.618................................................................................................................................'), colorff937f;
DRAWTEXTREL(0,0.618*(900+76),'0.382................................................................................................................................'), colorff937f;
DRAWTEXTREL(0,0.809*(900+76),'0.191................................................................................................................................'), colorff937f;
DRAWTEXTREL(999,0.809*(900+76),'19.1%:'+NUMTOSTR(a19)),VALIGN2,ALIGN2, colorff937f;
DRAWTEXTREL(999,0.618*(900+76),'38.2%:'+NUMTOSTR(a38)),VALIGN2,ALIGN2, colorff937f;
DRAWTEXTREL(999,0.5*(900+76),'50%:'+NUMTOSTR(a5)),VALIGN2,ALIGN2, colorff937f;
DRAWTEXTREL(999,0.382*(900+76),'61.8%:'+NUMTOSTR(a61)),VALIGN2,ALIGN2, colorff937f;
DRAWTEXTREL(999,0.191*(900+76),'80.9%:'+NUMTOSTR(a80)),VALIGN2,ALIGN2, colorff937f;
hh:=hhv(h,x); ll:=llv(l,x); hl:=hh-ll;
a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll;
a19:=.191*hl+ll; a5:=.5*hl+ll;
a0:=.001*hl+ll; a100:=1.00*hl+ll;
DRAWTEXTREL(920,0,'最高' ),COLORRED;
DRAWTEXTREL(920,900+76,'最低'),color00ff00;
DRAWTEXTREL(920,0.50*(900+76),'0.5'),color0099ff;
DRAWTEXTREL(920,0.191*(900+76),'0.809'),COLORYELLOW;
DRAWTEXTREL(920,0.382*(900+76),'0.618'),COLORYELLOW;
DRAWTEXTREL(920,0.618*(900+76),'0.382'),COLORYELLOW;
DRAWTEXTREL(920,0.809*(900+76),'0.191'),COLORYELLOW;
DRAWTEXTREL(0,0,'最高-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------' ),COLORRED;
DRAWTEXTREL(0,900+76,'最低------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'),color00ff00;
DRAWTEXTREL(0,0.50*(900+76),'0.5.........................................................................................................................................................................'),color0099ff;
DRAWTEXTREL(0,0.191*(900+76),'0.809......................................................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.382*(900+76),'0.618......................................................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.618*(900+76),'0.382.......................................................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(0,0.809*(900+76),'0.191........................................................................................................................................................................'),COLORYELLOW;
DRAWTEXTREL(999,0.809*(900+120),NUMTOSTR(a19)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.618*(900+140),NUMTOSTR(a38)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.5*(900+170),NUMTOSTR(a5)),VALIGN2,ALIGN2,color0099ff;
DRAWTEXTREL(999,0.382*(900+170),NUMTOSTR(a61)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0.191*(900+280),NUMTOSTR(a80)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,900+110,NUMTOSTR(a0)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(999,0,NUMTOSTR(a100)),VALIGN0,ALIGN2,colorwhite;
DRAWTEXTREL(80,0.809*(900+120),NUMTOSTR(a19)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(80,0.618*(900+140),NUMTOSTR(a38)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(80,0.5*(900+170),NUMTOSTR(a5)),VALIGN2,ALIGN2,color0099ff;
DRAWTEXTREL(80,0.382*(900+170),NUMTOSTR(a61)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(80,0.191*(900+280),NUMTOSTR(a80)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(80,900+110,NUMTOSTR(a0)),VALIGN2,ALIGN2,colorwhite;
DRAWTEXTREL(80,0,NUMTOSTR(a100)),VALIGN0,ALIGN2,colorwhite;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】策略投资破解,图片免费下载,理想股票技术论坛,财经股票论坛,炒股论坛社区,股票软件,股票公式,源码交流,指标公式,炒股书籍,分析家公式网,股旁网,股票配资。
把大智慧领头羊指标改为选股预警
把大智慧领头羊指标改为选股预警