通达信分析家量指标公式,通达信超级布林主图指标公式
admin888
|通达信分析家量指标公式,通达信超级布林主图指标公式
通达信分析家量指标公式
N:=27;
N2:=9;
N3:=3;
N4:=16;
VAR1:=1;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
获利盘: WINNER(CLOSE)*100*VAR1;
VAR3:=SMA(VAR2,3,1)*VAR1;
VAR4:=Sma(VAR3,N2,1)*VAR1;
VAR5:=3*VAR3-2*VAR4*VAR1;
VAR6:=vol*VAR1;
量比:VOL/MA(VOL,5)*VAR1;
涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*VAR1;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*VAR1;
换手: VOL/CAPITAL*100*VAR1;
VAR7:=SUM(换手,30)*VAR1;
VAR8:=LLV(INDEXL,5)*VAR1;
VAR9:=HHV(INDEXH,5)*VAR1;
VARA:=ema((INDEXC-VAR8)/(VAR9-VAR8)*100,4);
VARB:=MA(EMA(0.667*REF(VARA,1)+0.333*VARA,2),9);
VARC:=MA(VARB,30);
VARD:=EMA(获利盘,4)*VAR1;
本盘亿股: CAPITAL/1000000;
振幅: (HIGH-LOW)/REF(CLOSE,1)*100;
V5: MA(VOL,5)*2*VAR1,COLORCYAN;
VARE:=MA(V5,3);
V34: MA(VOL,34)*2*VAR1,COLORMAGENTA;
VARF:=(涨跌>VARD AND 角度<-30 AND 涨跌>3)*VAR1;
crOSS(VARB,VARC) AND VARC<29*VAR1;
stICKLINE(VOL AND VAR5>VAR4,0,VOL,2,0),COLORRED;
STICKLINE(VOL AND VAR5
STICKLINE(VOL AND VAR4
通达信超级布林主图指标公式
N:=12;
M:=26;
BG:=BARSCOUNT(OPEN)+1;
T:=BG<=2;
MIDR:=SQRT(N*M);
dif:=((ema(C,N)-Ema(C,M))/EMA(C,MIDR));
{不取绝对值式,推荐}JD:=MIDR*EMA(1+DIF,MIDR);
{DIF:=Abs((EMA(C,N)-EMA(C,M))/EMA(C,MIDR))*8;}
;{取绝对值式}{JD:=MIDR*EMA(1/2+DIF,MIDR);
}Q:=IF(BG<=JD,BG,JD);
MA_S:=EMA(C,Q);
CQ:=LN(ABS(C)+1);
{取绝对值及加1都为防“负”}SD:=SQRT(EMA((C-MA_S)*(C-MA_S)*CQ/MA(CQ,Q),Q));
顶线:IF(T,H*1.03,MA_S+2*SD);
强线:IF(T,(3*H+L)/4,MA_S+SD);
中线:MA_S,LINETHICK1;
弱线:IF(T,(3*L+H)/4,MA_S-SD);
底线:IF(T,L*0.98,MA_S-2*SD);;
动态周期:Q,NODRAW
{CQ1=C*C;
二阶原点矩做“权”用}{CQ2:=ABS(C);
一阶原点矩做“权”用}{CQ3:=LONG(ABS(C)+10);
对数矩做“权”用(近似原点矩),比较适合股市,LN函数最好}{SD1:=SQRT(MA((C-MA_S)*(C-MA_S)*CQ/MA(CQ,Q),Q));
}{SD3:=SQRT(SUM((C-MA_S)*(C-MA_S)*CQ/SUM(CQ,Q),Q));
}{SD4:=SQRT(EMA((C-MA(C,Q))*(C-MA(C,Q))*CQ/MA(CQ,Q),Q));
股市用标准式}{SD5:=SQRT(SMA((C-MA(C,Q))*(C-MA(C,Q))*CQ/MA(CQ,Q),Q,2));
}{SD6:=SQRT(expma((C-MA(C,Q))*(C-MA(C,Q))*CQ/MA(CQ,Q),Q));
}{注2:EXPMA()、MEMA()等指数平滑函数对“变周期”有限制}{注3:非标运用时,均方差的变量不一定用 C,也可用 (H+L)/2;
C+H+L)/3,等等}
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。