您现在的位置:  股票知识 > 股票公式 > 大智慧股票公式 > 正文
南财搜索

顾比倒数线 源码

2013-10-15 09:56    股票知识   zhishi.southmoney.com
    

  P:=21;

  WH1:=IF(L=LLV(L,P),L,DRAWNULL);

  WH2:=CONST(BARSLAST(WH1!=DRAWNULL));

  WH3:=CONST(IF(WH2=0,H,REF(H,WH2)));

  WH4:=CONST(REF(BARSLAST(H》WH3),WH2+1)+WH2+1);

  WH5:=CONST(IF(WH4=0,H,REF(H,WH4)));

  WH6:=CONST(REF(BARSLAST(H》WH5),WH4+1)+WH4+1);

  进场:IF(CURRBARSCOUNT《=WH2+21,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORRED;

  IF(CURRBARSCOUNT《=WH2+1,IF(L=LLV(L,P),L,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORRED;

  DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),进场,进场线),COLORRED;

  超跌进场:IF(CURRBARSCOUNT《=WH2+21,CONST(IF(WH4=0,H,REF(H,WH4))),DRAWNULL),COLORCB21BE;

  DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),超跌进场,超跌进场线),COLORCB21BE;

  H1:=IF(H=HHV(H,P),H,DRAWNULL);

  H2:=CONST(BARSLAST(H1!=DRAWNULL));

  H3:=CONST(IF(H2=0,L,REF(L,H2)));

  H4:=CONST(REF(BARSLAST(L《H3),H2+1)+H2+1);

  H5:=CONST(IF(H4=0,L,REF(L,H4)));

  H6:=CONST(REF(BARSLAST(L《H5),H4+1)+H4+1);

  止损:IF(CURRBARSCOUNT《=H2+21,CONST(IF(H6=0,L,REF(L,H6))),DRAWNULL),COLORYELLOW;

  IF(CURRBARSCOUNT《=H2+1,IF(H=HHV(H,P),H,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORBLUE;

  DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),止损,止损线),COLORYELLOW;

  止盈:IF(CURRBARSCOUNT《=H2+21,CONST(IF(H4=0,L,REF(L,H4))),DRAWNULL),COLORCB21BE;

  DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),止盈,止盈线),COLORCB21BE;

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号