您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

最新通达信指标公式 通达信标全方位预测副图公式(2)

2017-11-22 15:16    股票知识   zhishi.southmoney.com
    

T3:=CONST(IF(C<MA(C,75),1,0));

T4:=CONST(IF(CROSS(CLOSE,界),1,0));

T5:=CONST(IF(CROSS(MA(CLOSE,13),CLOSE),1,0));

T6:=CONST(IF(C>=MA(C,5) AND C<MA(C,13),1,0));

T7:=CONST(IF(C>=MA(C,75),1,0));

VAR1Y:=VOL/CAPITAL*100;

VAR2Y:=LLVBARS(LOW,10);

VAR3Y:=(CLOSE-REF(OPEN,VAR2Y))/REF(OPEN,VAR2Y)*100;

VAR4Y:=REF(CLOSE,2)*0.865;

VAR5Y:=REF(CLOSE,13)*0.772;

VAR6Y:=MAX(VAR4Y,VAR5Y);

T9:=(CLOSE-VAR6Y)/CLOSE>0.2 AND VAR3Y<50 AND SUM(VAR1Y,5)/5>5;

T10:=CONST(IF(VAR2N AND VAR3N,1,0));

T11:=CONST(IF(缩脚,1,0));

T12:=CONST(IF( ZDIF<0 ,1,0));

T14:=CONST(IF(ZEMACD>=REF(ZEMACD,1) AND ZEMACD>0 AND ZDIF>=0 ,1,0));

DRAWTEXT_FIX(ISLASTBAR ,0.01,0.2,0,'看均线'),COLORFFFFFF;

DRAWTEXT_FIX(ISLASTBAR ,0.01,0.35,0,'看MACD'),COLORFFFFFF;

DRAWTEXT_FIX(ISLASTBAR ,0.01,0.5,0,'看大盘'),COLORFFFFFF;

DRAWTEXT_FIX(ISLASTBAR ,0.01,0.65,0,'看买卖'),COLORFFFFFF;

DRAWTEXT_FIX(ISLASTBAR AND T1=1,0.26,0.2,0,'短线上升持股'),COLOR8080FF;

DRAWTEXT_FIX(ISLASTBAR AND T2=1,0.26,0.2,0,'短线下降持币'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR AND T3=1,0.38,0.2,0,'长线下降持币'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR AND T7=1,0.38,0.2,0,'长线上升持股'),COLOR8080FF;

DRAWTEXT_FIX(ISLASTBAR AND T6=1,0.1,0.65,0,'低买点持股信号'),COLOR8080FF;

DRAWTEXT_FIX(ISLASTBAR AND T4=1,0.65,0.65,0,'加买点信号'),COLOR8080FF;

DRAWTEXT_FIX(ISLASTBAR AND T5=1,0.65,0.65,0,'短线卖出信号'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR AND T14=1,0.1,0.5,0,'处于上升趋势'),COLOR8080FF;

DRAWTEXT_FIX(ISLASTBAR AND T12=1,0.1,0.5,0,'处于下降趋势'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR AND T9=1,0.2,0.65,0,'阳线卖点'),COLOR00FFFF;

LC1:=REF(INDEXC,1);

ZRSI:=SMA(MAX(INDEXC-LC1,0),6,1)/SMA(ABS(INDEXC-LC1),6,1)*100,COLORD9D900;

X:=INDEXC;

Y:=INDEXO;

Z:=INDEXL;

I:=INDEXH;

急速超跌:=(X-MA(X,34))/MA(X,34)*100<-5;

当日收阳:=(I-Z)/Z>0.01 AND (X-Y)/Y>0.01 AND X/REF(X,1)>1.01;

超跌收阳:=CONST(IF(急速超跌 AND 当日收阳,1,0));

DRAWTEXT_FIX(ISLASTBAR AND 超跌收阳=1 ,0.65,0.5,0,'大盘短底'),COLOR8080FF;

A1W:=SMA(MAX(X-LC1,0),6,1);

B1W:=SMA(ABS(X-LC1),6,1);

界1:=IF(X>LC1,(REF(A1W,1)*5-REF(B1W,1)*5*0.5)/(0.5-1)+LC1,LC1+REF(B1W,1)*5-REF(A1W,1)*5/0.5),COLORWHITE;

TYP := (Z +I + X)/3;

YY:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;

BB:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

超卖:=CONST(IF(CROSS(BB,-200),1,0));

DRAWTEXT_FIX(ISLASTBAR AND 超卖=1 ,0.65,0.5,0,'大盘超卖'),COLOR8080FF;

KS:=(C-MA(C,17))/MA(C,17)*(-100);

RKS:=REF(KS,1);

MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.01;

大盘4:=CONST(IF(X>界1,1,0));

大盘3:=CONST(IF(X<界1,1,0));

大盘12:=CONST(IF(ZEMACD>REF(ZEMACD,1) AND ZEMACD>0 AND ZDIF<0 ,1,0));

大盘13:=CONST(IF(ZEMACD<0 AND ZDIF>0 ,1,0));

M整理:=CONST(IF( MACD<0 AND DIFF>0,1,0));

M走缓:=CONST(IF(MACD<REF(MACD,1) AND MACD>0 AND DIFF>0 ,1,0));

DRAWTEXT_FIX(ISLASTBAR AND M整理=1 ,0.26,0.35,0,'股价升途整理'),COLOR00FFFF;

DRAWTEXT_FIX(ISLASTBAR AND M走缓=1 ,0.26,0.35,0,'股价上升走缓'),COLOR00FFFF;

大盘16:=CONST(IF(ZEMACD<REF(ZEMACD,1) AND ZEMACD<0 AND ZDIF>0 ,1,0));

大盘11:=CONST(IF(KS>=17 ,1,0));

大盘2:=CONST(IF(MLS=1,1,0));

DRAWTEXT_FIX(ISLASTBAR AND 大盘4=1 ,0.26,0.5,0,'短线持股'),COLOR8080FF;

DRAWTEXT_FIX(大盘3=1 AND ISLASTBAR,0.26,0.5,0,'短线持币'),COLORFFFF00;

DRAWTEXT_FIX(大盘13=1 AND ISLASTBAR,0.3,0.5,0,'上升趋势'),COLOR00FFFF;

DRAWTEXT_FIX(大盘11=1 AND ISLASTBAR,0.2,0.65,0,'今日价超跌'),COLORFFFF00;

DRAWTEXT_FIX(大盘2=1 AND ISLASTBAR,0.2,0.65,0,'今日价反弹'),COLOR8080FF;

M弹:=CONST(IF(MACD>REF(MACD,1) AND MACD>0 AND DIFF<0,1,0));

DRAWTEXT_FIX(大盘12 AND ISLASTBAR,0.5,0.5,0,'处于反弹区'),COLOR8080FF;

DRAWTEXT_FIX(M弹=1 AND ISLASTBAR,0.26,0.35,0,'反弹阶段小心'),COLORYELLOW;

MM3:=CONST(IF(RSI1<ZRSI,1,0));

MM4:=CONST(IF((RSI1>=ZRSI),1,0));

DRAWTEXT_FIX(ISLASTBAR AND MM3=1,0.1,0.2,0,'弱于大盘走势'),COLORFFFF00;

DRAWTEXT_FIX(ISLASTBAR AND MM4=1,0.1,0.2,0,'强于大盘走势'),COLOR8080FF;

WJ:=(H+L+C)/3;

V1:=IF(H=L,1,H-MAX(O,C));

V2:=IF(H=L,1,MAX(C,O)-WJ);

V3:=IF(H=L,1,MIN(O,C)-L);

V4:=IF(H=L,1,WJ-MIN(C,O));

V5:=VOL/IF(H=L,4,H-L);

V6:=(V1*V5);

V7:=(V2*V5);

V8:=(V3*V5);

V9:=(V4*V5);

买盘1:=DYNAINFO(23)*比;

卖盘1:=DYNAINFO(22)*比;

买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));

卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));

买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2);

卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2);MFI:=(HIGH-LOW)*1000000/(VOL*比);

绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);

M1:=CONST(IF(空头排列 AND 均线下发散,1,0));

M2:=CONST(IF(多头排列 AND 均线上发散,1,0));

M3:=CONST(IF(空头排列 AND NOT(均线下发散),1,0));

M9:=CONST(IF(空头排列 ,1,0));

M10:=CONST(IF(多头排列 ,1,0));

MM1:=CONST(IF(均线密集,1,0));

MM2:=CONST(IF(上升趋势 AND NOT(一阴穿2线) AND REF(上升趋势,1),1,0));

M4:=CONST(IF(下跌趋势 AND NOT(一阳穿2线),1,0));(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号