您現(xiàn)在的位置: 南方財富網(wǎng) >> 股票知識 >> 股票公式 >> 正文
南財搜索

大智慧股票公式之趨勢劃線

2013/4/12 15:08:52   來源:本站原創(chuàng)   佚名
    

大智慧股票公式之趨勢劃線

  趨勢劃線

  DRAWTEXTABS(10,5,'所屬板塊:' + BKNAME),ColorFFA880;

  {主圖}

  N:=20;

  N1:=7;

  N2:=69;

  T1:=IF((DATE<=1341231),1,0);

  M3:=EMA(CLOSE,3);

  M8:EMA(CLOSE,8),CoLor008000;

  M13:EMA(M8,13),CoLor0000FF;

  M62:EMA(M8,55),CoLorF0F000;

  VAR1:=EMA(M13,62);

  M81:EMA(M62,81),CoLor00FFFF;

  M144:EMA(VAR1,144),Linethick2,CoLor0000FF;

  M250:EMA(VAR1,250),POINTDOT,Linethick2,CoLorF00FF0;

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

  VAR3:=(EMA(VAR2,10))*(T1);

  VAR4:=(REF(VAR3,1))*(T1);sfzzp.cn

  STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;

  STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),CoLorFF0000;

  VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);

  VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);

  DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF;

  DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓賣'),CoLor008000;

  VAR7:=REF(CLOSE,1);

  VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);

  VAR9:=CROSS(N2,VAR8);

  VARA:=(FILTER(VAR9,4))*(T1);

  DRAWTEXT(VARA,(HIGH)*(1.04),'↓賣'),CoLorFFFFFF;

  VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);

  VARC:=LLV(LOW,34);

  VARD:=HHV(HIGH,34);

  VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);

  VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);

  DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●買進'),CoLorFF00FF;

  DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●買進'),CoLor00FFFF;

  VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);

  DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;

(南方財富網(wǎng)SOUTHMONEY.COM)
    南方財富網(wǎng)聲明:股市資訊來源于合作媒體及機構(gòu),屬作者個人觀點,僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風險自擔。
延伸閱讀
商務(wù)進行時
每日必讀
學(xué)院24小時排行
證券導(dǎo)讀
熱圖推薦

關(guān)于南方財富網(wǎng) -版權(quán)聲明誠聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財富網(wǎng)無關(guān)
sfzzp.cn
南方財富網(wǎng) © 版權(quán)所有 閩ICP備09035581號