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

通達信股票公式之有行情副圖指標

2013/5/23 15:37:01   來源:本站原創(chuàng)   佚名
    

通達信股票公式之有行情副圖指標

  VAR1:=(C+H+O+L)/4;

  賣出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;

  買入:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;

  幅度:=100*(賣出-買入)/買入,NODRAW;

  菩提:=買入+(賣出-買入)*2/3;{此函數(shù)僅做參考線,為提前趨勢預(yù)測線,上漲途中向下見頂,下跌途中向上見底};

  般:=XMA(CLOSE,7);

  若:=MEMA(CLOSE,3);

  全綠K:=LONGCROSS(若,般,3) AND H>菩提;

  RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;

  KL:=SMA(RSVL,3,1);

  DL:=SMA(KL,3,1);

  KKL:=SMA(RSVL,3,1);

  DD:=SMA(KL,3,1);

  NL:=KKL+DD;

  買入L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;

  賣出L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;

  賣出K:=CROSS(160,NL);

  TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);

  T1M:=V;

  SL1M:=(TM/REF(TM,1)-1)*1000;

  趨勢5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;

  趨勢6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;

  QA9:=趨勢6-趨勢5;

  QA10:=EMA(QA9,89);

  買入M:=(QA9-QA10)*2,COLORSTICK;

  M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE,LINETHICK2;

  MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);

  VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));

  買線1:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;

  賣線1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK3;

  高1:=REF(HHV(H,150),3);

  低1:=REF(LLV(L,150),3);

  STICKLINE(買線1>=賣線1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR001050;

  STICKLINE(買線1<賣線1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR404050;

  STICKLINE(買入M>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORRED;

  STICKLINE(買入M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORGREEN;

  STICKLINE(買入L,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORYELLOW;

  STICKLINE(賣出K AND 買入M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORCYAN;

  多空趨勢彩帶:DRAWBAND(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0,128,0));

  中線:=(賣出+買入)/2,POINTDOT,COLORWHITE,LINETHICK4;

  MA5:=MA(C,5),COLOR000099;

  MA10:=MA(C,10),COLOR006600;

  MA20:=MA(C,20),COLOR005555;

  ZB1:=EMA(C,34);{ 原為55或65 }

  長期趨勢:EMA(ZB1,13),COLORRED,LINETHICK3;{原為34或55}

  STICKLINE(C>=REF(C,1),O,C,3,1),COLOR000000;

  STICKLINE(C<REF(C,1),O,C,3,1),COLOR000000;

  AA3:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) AND EMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)

  AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) AND EMA(CLOSE,11)>EMA(CLOSE,12)

  AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);

  AA2:= EMA(CLOSE,14)>EMA(CLOSE,15)

  AND EMA(CLOSE,15)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) AND EMA(CLOSE,30)>EMA(CLOSE,60) AND EMA(CLOSE,60)>EMA(CLOSE,90)

  AND EMA(CLOSE,90)>EMA(CLOSE,120) AND EMA(CLOSE,120)>EMA(CLOSE,250);

  A1:= AA2 AND AA3;

  A2:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) AND EMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)

  AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) AND EMA(CLOSE,11)>EMA(CLOSE,12)

  AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);

  B1:=IF(A1,1,2);

  VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));

  VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

  VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

  VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

  VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

  VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

  VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

  {紅K}

  STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),L,H,0,0),COLOR0000DD;

  STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),3,0),COLOR000099;

  STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),2,0),COLOR0000BB;

  STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),C,REF(C,1),1,0),COLOR0000DD;

  VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));

  VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));

[1] [2] [3] 下一頁

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

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