您现在的位置: 南方财富网 >> 股票知识 >> 股票公式 >> 正文
南财搜索

股票公式:好趋势线

2013/9/12 15:53:41   来源:本站原创   佚名
    

股票公式:好趋势线

  CODE:[Copy to clipboard]input:p1(60),n(12),m(60);

  MA(EMA(CLOSE,n),1), , linethick2,colored,;

  MA(EMA(CLOSE,n),3), , linethick1,colored,;

  MA(EMA(CLOSE,n),5), , COLORyellow;

  MA(EMA(CLOSE,n),7), , COLORRED;

  MA(EMA(CLOSE,n),9), , COLORRED;

  MA(EMA(CLOSE,n),11), ,COLORRED;

  MA(EMA(CLOSE,n),13), ,COLORRED;

  MA(EMA(CLOSE,m),1), , COLORGREEN;

  MA(EMA(CLOSE,m),3), , COLORGREEN;

  MA(EMA(CLOSE,m),5), , COLOR89BD00;

  MA(EMA(CLOSE,m),7), , COLORGREEN;

  MA(EMA(CLOSE,m),9), , COLORGREEN;

  MA(EMA(CLOSE,m),11), , COLORGREEN;

  MA(EMA(CLOSE,m),13), , COLORGREEN;

  mA1:MA(CLOSE,P1),linethick1,colorwhite,;

  DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,3),

  LOW,'●'),linethick3 , COLORMAGENTA;

  DRAWTEXT(FILTER(EMA(CLOSE,12)-EMA(CLOSE,60)>0 AND HIGH/EMA(CLOSE,12)>1.15,3),

  HIGH,'●'),linethick3 , linethick2,color99ff00,;

  KOH:=LOW>REF(HIGH,1);

  KOL:=HIGH<REF(LOW,1);

  HIF:=LOW>REF(HIGH,BARSLAST(KOH)+1);

  NHIF:=LOW<=REF(HIGH,BARSLAST(KOH)+1);

  LIF:=HIGH<REF(LOW,BARSLAST(KOL)+1);

  NLIF:=HIGH>=REF(LOW,BARSLAST(KOL)+1);

  DRAWICON(HIF AND BARSLAST(koh)<BARSLAST(nhif) and BARSLAST(HIF)<BARSLAST(NHIF),REF(HIGH,BARSLAST(KOH)+1),6),ALIGN0;

  DRAWICON(LIF AND BARSLAST(kol)<BARSLAST(nlif) and BARSLAST(LIF)<BARSLAST(NLIF),REF(LOW,BARSLAST(KOL)+1),05),ALIGN0;

 

(南方财富网SOUTHMONEY.COM)
    南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
延伸阅读
商务进行时
每日必读
学院24小时排行
证券导读
热图推荐

关于南方财富网 -版权声明诚聘英才广告服务网站地图友情链接
特此声明:广告商的言论与行为均与南方财富网无关
www.southmoney.com
南方财富网 © 版权所有 闽ICP备09035581号