通达信逃离苦海副图指标

2016-04-04 23:02:00来源:本站整理浏览:161

通达信逃离苦海副图指标

源码

N:=14;VAR1:=1/WINNER(CLOSE); 

VAR2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;  VAR3:=100-ABS(VAR2);  VAR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);  VAR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);  VAR6:=100-VAR5;  VAR7:=100-VAR4;  VAR8:=MA(WINNER(CLOSE*0.95)*100,3);  VAR9:=IF(VAR1>5,IF(VAR1<100,VAR1,VAR3-10),0);  VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;  VARB:=SMA(VARA,3,1);  VARC:=SMA(VARB,3,1);  探索者: EMA(3*VARB-2*VARC,3);  主力: (-1)*(EMA(VAR7,1)-50)+50;  VARD:=(-1)*(EMA(VAR7,1)-50)+50;  VARE:=(-1)*(EMA(VAR7,12)-50)+50;  天涯: 100; 
  苦海: EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6),LINESTICK,COLORFF0000;  EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);  ZS: MA(探索者,3);  Z1: MA(主力,9);  ZM: MA(MA(探索者,3),3); {买入卖出} VAR1A:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;  VAR2A:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;  买入:VAR1A AND VAR2A,STICK,LINETHICK2,COLORRED;  DRAWICON(买入,1.1,1); {蛮准} LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;  蛮准:CROSS(RSI,11)*80,COLORRED; {海底火山} RSV:=(((CLOSE - LLV(LOW,29)) / (HHV(HIGH,29) - LLV(LOW,29))) * 100); K:=MA(RSV,5); D:=MA(K,2); J:=((3 * K) - (2 * D)); 海底火山:IF((J < 5),75,0),COLORGREEN; {分批出} LL:=REF(CLOSE,1);  MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;  分批出: IF(CROSS(80,MM),50,100),COLORYELLOW; {CCI} TYP:=(HIGH+LOW+CLOSE)/3;
  选股:IF(CROSS((TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),-120),50,0),COLORMAGENTA; 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式