国产日韩欧美视频二区,97色碰,99ri在线,久热福利

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

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

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

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

  J:=3*K-2*D;

  金叉:=CROSS(J,D);

  死叉:=CROSS(D,J);

  買1:=(VAR14 OR VAR15) AND VAR11;

  買2:=(VAR14 OR VAR15) AND VAR04;

  買3:=(VAR14 OR VAR15) AND VAR02;

  買4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);

  買5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);

  TTJ0:=VAR16;

  TTJ1:=買1 OR 買2 OR 買3 OR 買4 OR 買5 AND MM;

  XG0:=TTJ AND TTJ0;

  XG1:=TTJ AND TTJ1;

  XG11:=XG0 OR XG1;

  PL5:=ZIG(3,5);

  EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);

  EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);

  PL10:=ZIG(3,10);

  EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);

  EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);

  PL20:=ZIG(3,20);

  EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);

  EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);

  PL40:=ZIG(3,40);

  走強1:=BARSLAST(PL5<REF(PL5,1));

  走弱1:=BARSLAST(PL5>REF(PL5,1));

  走強2:=BARSLAST(PL10<REF(PL10,1));

  走弱2:=BARSLAST(PL10>REF(PL10,1));

  走強3:=BARSLAST(PL20<REF(PL20,1));

  走弱3:=BARSLAST(PL20>REF(PL20,1));

  ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走強2),0);

  ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走強2),0);

  DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);

  DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);

  ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走強3),0);

  ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走強3),0);

  DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);

  DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);

  TJ11:=EN2 AND ZTJZ5=1;

  TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;

  TJ33:=EN2 AND DTJZ10=1;

  TJ44:=EN3 AND ZTJZ10=1;

  TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;

  XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;

  XGQ:=XG11 OR XG22;

  W18:=EXIST(XGQ,1);

  DRAWTEXT(XGQ,L-0.1,'●放心買'),COLORRED;

  SQX:=(C-MA(CLOSE,13))*100;

  DIFF:=EMA(MA(SQX,7),1),COLORWHITE;

  DEA:=EMA(DIFF,7),COLORYELLOW;

  MACD:=(DIFF-DEA)*2,COLORSTICK;

  股界神專用:IF((CROSS(DIFF,DEA) AND DIFF<-0.1) ,L-0.2,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;

  低位金叉:=IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;

  IF(CROSS(DIFF,DEA) AND DIFF<-0.1,L-0.2,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT;

  {再上N均線 N 10 1 100 1}

  MA1:=MA(C,5);

  MA2:=MA(C,10);

  MA3:=MA(C,21);

  破N:=REF(MA1,1)<REF(MA2,1)AND MA2>REF(MA2,1);

  試摸N:=C>MA(C,10) OR H>=MA2;

  再上N:=C>O AND REF(C,1)< MA(C,10) AND 試摸N AND 破N AND MA(C,21)<MA(C,10);

  有行情:=再上N AND (CROSS(C,長期趨勢) OR CROSS(L,長期趨勢) OR CROSS(H,長期趨勢));

  DRAWTEXT(有行情,LOW-0.2,'●有行情'),COLORGREEN;

  VAR10B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

  VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

  VAR12B:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

  VAR13B:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

  VAR14B:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

  VAR15B:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

  VAR16B:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

  VAR17B:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

  VAR18B:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

  VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);

  買1B:=VAR10B;

  買2B:=(VAR11B+VAR13B+VAR15B+VAR17B);

  BB:=IF(買1B>0 OR 買2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;

  紅買綠賣:IF(CROSS(BB,買1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORWHITE;

  牛節(jié)點:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));

  DRAWICON(牛節(jié)點,L-0.1,13);

  CSAR:=SAR(10,2,20);

  持幣:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持幣};

  持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};

  生命線2:=EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORYELLOW;{股價在上持,在下空倉}

  止損:=EMA(C,5),COLORYELLOW,LINETHICK1;{紅持股綠持幣黃觀望}

  菩提B:=XMA(H,20);{此函數(shù)僅做參考線,為提前趨勢預測線,上漲途中向下見頂,下跌途中向上見底};

  參買:=IF(止損>=REF(止損,1),止損,DRAWNULL),LINETHICK2,COLORRED;{持股前提}

  DRAWICON(CROSS(L,CSAR) AND 參買>0 AND H<菩提B AND 持股>0

  AND H>長期趨勢,(LOW- 0.1),5);

  VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);

  短底:=EMA(VVAR1D,5);

  支撐:=HHV(短底,60);

  MAN:=(SMA(HIGH,21,2) * 1.05);

  下檔線:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);

  中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);

  X1D:=EMA(中D,10);

  RSVD:=SMA(下檔線,3,1);

  K大:=SMA(RSVD,3,1);

  D大:=((3 * RSVD) - (2 * K大));

  J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

  RSV24:=SMA(J12,3,1);

  K24:=SMA(RSV24,3,1);

  D24:=((3 * RSV24) - (2 * K24));

  壓力位:=IF(CROSS(D24,D大),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D大)))),COLORFFFFFF;

  牛浮面:=CROSS(CLOSE,MA20) AND HIGH < 壓力位 AND OPEN < MA20

  AND HIGH < 支撐 AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 AND

  D大 < 63 AND MA20 - REF(MA20,1) > 0,COLORWHITE;

  DRAWTEXT(牛浮面,L,'●牛浮面'),COLORWHITE;

  CO:=(C-O);

  綠K:=(賣出>LOW AND 賣出<HIGH) OR (賣出>MIN(C,O) AND 賣出<MAX(C,O))

  OR 賣出<LOW;

  {全綠K}

  全綠K2:=C>賣出 OR (H>賣出 AND O>C);

  STICKLINE(全綠K2,C,O,3,0),COLOR00BB00;

  STICKLINE(全綠K2,C,O,2,0),COLOR00DD00;

  STICKLINE(全綠K2,C,O,1,0),COLOR00FF00;

 

上一頁  [1] [2] [3] 

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

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