设为首页加入收藏

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

大智慧公式源码 量能平台源码

2015-3-11 10:20:09 股票入门 http://rumen.southmoney.com

  南方财富网带来大智慧公式源码 量能平台源码:

  X:=21;

  TTY:=H;

  AAT:=REF(TTY,X)=HHV(TTY,2*X+1);

  BBT:=FILTER(AAT,X);

  CCT:=BACKSET(BBT,X+1);

  HD10T:=FILTER(CCT,X);

  AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);

  BB1T:=FILTER(AA1T,X);

  CC1T:=BACKSET(BB1T,X+1);

  LD10T:=FILTER(CC1T,X);

  前期高位:REF(H,BARSLAST(HD10T)),COLORBLUE,LINETHICK0;

  前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0;

  T10T:=BARSLAST(HD10T) AND BARSLAST(LD10T) AND NOT(LD10T);

  STICKLINE(T10T,前期高位,前期高位,20,0),COLORBLUE;

  STICKLINE(T10T,前期低位,前期低位,20,0),COLORRED;

  M55:MA(C,55);

  VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);

  VAR7:=(( (HIGH-IF((CLOSE》OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);

  VAR8:=(( (IF((CLOSE》OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);

  VAR9:=IF(((VOL/CAPITAL)》0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));

  JJ:=(3*C+H+L+O)/6;

  VARA:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;

  TJ1:=VOL=HHV(VOL,10) AND VOL》2*REF(VOL,1) AND CLOSE》VARA AND C》REF(C,1);

  LJL:=FILTER(TJ1,5);

  STICKLINE(C,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),6,0),COLORred;

  STICKLINE(C,REF(C,BARSLAST(LJL)),REF(C,BARSLAST(LJL)),6,0),COLORyellow;

  N:=13;M:=9;M1:=3;

  VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

  VAR2:=SMA(VAR1,M1,1);

  卖线:= SMA(VAR2,M1,1);

  必卖线:= SMA(卖线,M1,1);

  VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;

  VAR4:=SMA(VAR3,M1,1);

  VAR5:=SMA(VAR4,M1,1);

  买入线:= SMA(VAR5,M1,1);

  高压线:= 85;

  触底线:= 9;

  DRAWTEXT(买入线》76.5 AND CROSS(卖线,必卖线),l,‘进’),ALIGN1;

  DRAWTEXT(买入线》56 AND 买入线《=76 AND CROSS(卖线,必卖线),l,‘留意’),ALIGN1;

  DRAWTEXT(买入线《45 AND 卖线》78 AND 必卖线》78 AND CROSS(必卖线,卖线),h,‘跑’),COLORGREEN ,ALIGN1;

  DRAWTEXT(CROSS(买入线,78.5),l,‘关注’),COLORRED ,ALIGN1;

  DRAWTEXT(CROSS(买入线,85),l,‘重点关注’),COLORWHITE ,ALIGN1;

  上拐:=必卖线《50 AND 卖线《必卖线 AND 卖线》ref(卖线,1);

  下拐:=必卖线》50 AND 卖线》必卖线 AND 卖线《ref(卖线,1);

  DRAWICON(上拐,l,7),COLORWHITE,ALIGN1 ;

  DRAWICON(下拐,h,8),COLORWHITE,ALIGN1;

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