设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐指标公式 飞狐的活跃度指标公式

2015-1-23 11:00:48 股票入门 http://rumen.southmoney.com

  南方财富网带来飞狐指标公式 飞狐的活跃度指标公式:

  DRAWGBK(DATE》900101,COLORRGB(95,95,95),COLORRGB(0,0,0),1);

  STICKLINE(C》0,0,0,20,0);

  主力1:=REF(LOW,1);主力2:=(SMA(ABS(LOW-主力1),13,1))/(SMA(MAX(LOW-主力1,0),13,1));

  主力3:=EMA(主力2,13);主力4:=LLV(LOW,34);主力5:=EMA(IF(LOW《=主力4,主力3,0),3);

  主力潜入:STICKLINE(主力5,0,-(主力5)/2,6,1),COLORYELLOW;

  W1:=EMA(C,4)-EMA(C,18),COLORRED;

  W2:=EMA(W1,8),COLORGREEN;

  W3:=MA(C,7)-MA(C,21);

  W3A:=EMA(W3,5),COLORMAGENTA;

  趋势:eMA(C,21)-eMA(C,89),COLORWHITE,LINETHICK2;

  长:EMA(趋势,34),COLORGRAY,LINETHICK2;;

  中:EMA(趋势,7),COLOR00bb00,LINETHICK2;

  势:2*(趋势-长),COLORSTICK;

  动力线:EMA(势,5),COLOR9900FF,LINETHICK2;

  PARTLINE(动力线《REF(动力线,1),动力线),COLORBLUE,LINETHICK2;

  PARTLINE(趋势》中,趋势),COLORRED,LINETHICK2;

  MACDFS:= IF(势《=0,势,0),COLOR00FF00,LINETHICK2;

  STICKLINE(MACDFS》REF(MACDFS,1),MACDFS,0,3,0),COLORWHITE;

  MACDZS:=IF(势》=0,势,0),COLORFF00FF,LINETHICK2;

  STICKLINE(MACDZS》REF(MACDZS,1),MACDZS,0,3,0),COLORRED;

  VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*10;

  VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*10;

  VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*10;

  VAR5:=(VAR2+2*VAR3+3*VAR4)/6;

  VAR6:=MA(VAR5,4)/3,COLORWHITE;

  VAR7:=MA(VAR6,3),COLORYELLOW;

  AB:=IF(STKTYPE=0,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1)*100,SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))+VAR5,7,1));

  AC:=SMA(AB,3,1);

  波:3*AB-2*AC,COLORRED,LINETHICK1;

  段:EMA(SLOPE(AB,6)*20+AB,42),COLORGREEN;

  波段线:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA

  ((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA

  ((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK1,COLORRED;

  M1:=EMA(MA(波段线,5),3);

  STICKLINE(波段线》108 AND 波段线》=M1,0,势*1.05,0.5,0),COLORF0F000;

  STICKLINE(波段线《0 AND 波段线《M1,势,0,1,0),COLORRED;

  XL1:=MA(LOW,2)*0.96;

  XL2:=MA(LOW,26)*0.85;

  XL3:REF(XL1,1)《XL2 AND REF(XL1,1)《XL1 AND REF(XL1,1)《REF(XL1,2);

  STICKLINE(XL3,0,abs(势)/3,4,0),COLOR006EFF;

  DRAWTEXT(XL3,abs(势)/1.5,‘买’),COLOR0000FF,ALIGN0;

  TYP:=(HIGH+LOW+CLOSE)/3;

  CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

  A:=REF(C,1);

  RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;

  A1:=(C/MA(C,5)-1)*100《-10;

  A2:=(C/MA(C,13)-1)*100《-10;

  A3:=(C/MA(C,34)-1)*100《-15;

  A4:=RSI《18;

  A5:=CCI《-120;

  A6:=COUNT(ABS(C/REF(C,1)-1)*100》=6,30)》=1;

  振幅:=(h-ref(l,5))/ref(l,5)*100;

  X:=(波-段);

  换手:=(v/CAPITAL*100);

  活跃度:(振幅/5+换手/3+X/1)/3,LINETHICK1;

  底部:(A1 AND A2 AND A3 AND A4 and a5 AND A6)*2,COLOR00FFFF,LINETHICK2;

  RSVK:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  K:=SMA(RSVK,3,1);

  D:=SMA(K,3,1);

  J:=3*K-2*D;

  ma3:=ma(c,3);

  买入1:=cross(c,ma3) and ma3》=ref(ma3,1)*0.99 ;{日收盘价上穿MA3 }

  买入2:=c》ma3 and (c-ma3)/ma3《0.035 and ma3》ref(ma3,1)*0.998 ;{收盘价在MA3上方不远 }

  买入3:=c》ma3 and ref(ma3,1)《ref(ma3,2) and ref(ma3,2)《ref(ma3,3);{MA3刚刚向上 }

  买入4:= c》ma3 and J《80 and cross(J,D) ;{KDJ的J值在低位,或者J线已经向上行,或者J与D即将或刚刚发生金叉}

  不买入1:= J》80 or count( cross(D,J),2)》0;{KDJ的J值处于高位,或者J线高位并向下行,或者J与D即将或已经发生死叉}

  不买入2:=(c-ma3)/ma3》=0.035;{ 收盘价高于MA3太远}

  不买入3:=o》c*1.02 ;{长阴线不买}

  不买入4:=“CCI”》100;{日CCI向上过100}

  不买入5:=ref(c,1)》ref(ma3,1) and ref(c,2)》ref(ma3,2);{股价两天占在MA3之上}

  不买入6:=count(ma3》ref(ma3,1)*1.0015,4)》=3;{MA3向上多日}

  判断买入:= not(不买入1 or 不买入2 or 不买入3 or 不买入4 or 不买入5 or 不买入6) and (买入1 or 买入2 or 买入3 or 买入4);

  买入条件:=filter(判断买入,1);

  买入: (count( ref(买入条件,1),3)=0 or cross(J,D)) and count( ref(买入条件,1),1)=0 and 买入条件,COLORYELLOW;

  买入天数:=BARSLAST(买入);

  买入价:ref(c,买入天数),linethick0;

  手续费:=0.003;

  盈亏:10*((c-买入价)/买入价-手续费),linethick0,colore66878;

  启动:(FILTER((CROSS((EMA(CLOSE,2)-EMA(CLOSE,10)),EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2))

  AND EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2)《0 AND CROSS(C,MA(C,20))),90))*1;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。