通达信指标公式有哪些?通达信海啸辐射指标公式的内容是什么?
2016-4-13 10:37:44 股票入门 http://rumen.southmoney.com
通达信指标公式有哪些?通达信海啸辐射指标公式的内容是什么?附:通达信RSI+CCI+KD指标公式 南方财富网小编为您提供
【通达信海啸辐射指标公式】
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);MA4:=MA(C,40);MA5:=MA(C,60);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">M1:=5;M2:=10;M3:=20;M4:=60;P:=VOL;M5:=MA(P,M1);
M10:=MA(P,M2);M20:=MA(P,M3);M60:=MA(P,M4);
放牛郎系统公式:=IF(MA(P,M1)>MA(P,M4)*0.95,22,0)COLORFF33CC,LINETHICK3;
VOLUME:=VOL;
大地震:=VOL/REF(MA(VOL,5),1)COLORGREEN;
LONG:=26;SHORT:=12;M:=9;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
宫城县:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)
AND CROSS(DIFF,DEA),LINETHICK3;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
福岛:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF
AND CROSS(DEA,DIFF);
B1:=BARSLAST(REF(CROSS(MA2,MA3),1));
第一核电站:=IF(MA3<REF(MA3,B1+1) AND MA2<REF(MA2,B1+1)
AND CROSS(MA2,MA3),20,1)COLORGREEN,LINETHICK3;
核爆炸:IF((CROSS(MA2,MA3*0.993) OR CROSS(MA2,MA3))
AND (MA1<MA5 OR REF(MA1,1)<MA5 OR REF(MA1,1)<MA5)
AND MA2<MA5 AND MA3<MA5,888,0)COLORGREEN,LINETHICK5;
海啸来了:IF(核爆炸 AND REF(EXIST(核爆炸=888,40),8)
AND C>MA3 AND MA2<MA5 AND MA3<MA5 AND (第一核电站=20 OR REF(第一核电站=20,1))
AND MA1>REF(MA1,1) AND REF(MA1,1)>REF(MA1,2) AND MA2>REF(MA2,1)
AND LAST(C<MA5*1.005,30,5) AND LAST(MA2<MA5,20,1) AND LAST(MA3<MA5,20,1)
,311,0)COLORRED,LINETHICK8;
B2:=BARSLAST(REF(CROSS(MA2,MA3),1));
第二核电站:=IF(MA3>REF(MA3,B1+1) AND MA2>REF(MA2,B1+1)
AND CROSS(MA2,MA3*0.998),1500,1)COLORYELLOW,LINETHICK3;
核泄漏:=IF((CROSS(MA2,MA3*0.998) OR CROSS(MA2,MA3) OR CROSS(MA2,MA3*1.003))
AND C>MA2 AND MA1>MA5 AND MA2>MA5 AND MA3>MA5
AND MA2>REF(MA2,1) AND MA3>REF(MA3,1)
AND MA5>REF(MA5,1),888,0)COLORWHITE,LINETHICK5;
CL:=(大地震>5 OR REF(大地震>5,1)) AND C>REF(C,HHVBARS(C,60));
核辐射:IF(核泄漏 AND REF(EXIST(核泄漏=888,40),6)
AND (LAST(福岛=0,10,1) OR C>REF(C,HHVBARS(C,120)) OR CL)
AND (第二核电站=1500 OR REF(第二核电站=1500,1))
AND LAST(MA2>MA5*0.998,30,1) AND LAST(MA3>MA5*0.998,30,1)
AND C>MA2 AND MA1>MA5 AND MA2>MA5 AND MA3>MA5
AND MA2>REF(MA2,1) AND MA3>REF(MA3,1) AND MA5>REF(MA5,1)
AND HHV(MA3,20)/LLV(MA3,20)<1.13
,444,0)COLORYELLOW,LINETHICK7;
附:【通达信RSI+CCI+KD指标公式】
TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWTEXT(ISLASTBAR AND CC1,CC1,'CC1'),COLORFF00FF;
DRAWBAND(CC1,RGB(2,255,2),-100,RGB(255,255,0));
DRAWBAND(100,RGB(0,0,0),-100,RGB(0,0,0));
CC2:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:(RSI1-50)*5,LINETHICK2,COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND RSI>REF(RSI,1),RSI,' ↑RSI'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR AND RSI<REF(RSI,1),RSI,' ↓RSI'),COLORFFFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
K1:(K-50)*5,COLORFF9F00;
DRAWTEXT(ISLASTBAR AND K1>REF(K1,1),K1,' ▲K'),COLORFFFF00;
DRAWTEXT(ISLASTBAR AND K1<REF(K1,1),K1,' ▼K'),COLORFFFF00;
0;
100,POINTDOT;
-100,POINTDOT;
-200,COLORFFFF00;
200,COLORFFFF00;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
买入:RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100,NODRAW;
DRAWICON(买入,-200,1);
卖出:REF(RR,1)=1 AND NOT(RR) AND CB1>100,NODRAW;
DRAWICON(卖出,200,2);
更多通达信指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。