通达信六指金叉指标公式,通达信百分线主图指标公式
admin888
|通达信六指金叉指标公式,通达信百分线主图指标公式
通达信六指金叉指标公式
M1:=3;
M2:=5;
M3:=8;
M4:=13;
difF:=ema(CLOSE,M3)-Ema(CLOSE,M4);
DEA:=EMA(DIFF,M2);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF
DRAWTEXT(ISLAstBAR=1,1,'.macd'),COLORFFFFFF;
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,M3))/(HHV(HIGH,M3)-LLV(LOW,M3))*100;
K:=SMA(RSV1,M1,1);
D:=SMA(K,M1,1);
DRAWICON(K>D,2,1);
DRAWICON(K
DRAWTEXT(ISLASTBAR=1,2,'.kdj'),COLORFFFFFF;
A2:=K>D;
LC:=REF(CLOSE,1);
rsi1:=(SMA(MAX(CLOSE-LC,0),M2,1))/(SMA(Abs(CLOSE-LC),M2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),M4,1))/(SMA(ABS(CLOSE-LC),M4,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,M4)-CLOSE)/(HHV(HIGH,M4)-LLV(LOW,M4))*100;
Lwr1:=SMA(RSV,M1,1);
LWR2:=SMA(LWR1,M1,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1
DRAWTEXT(ISLASTBAR=1,4,'.LW&R'),COLORFFFFFF;
A4:=LWR1>LWR2;
bbi:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
mtm:=CLOSE-REF(CLOSE,1);
mms:=100*EMA(EMA(MTM,M2),M1)/EMA(EMA(ABS(MTM),M2),M1);
MMM:=100*EMA(EMA(MTM,M4),M3)/EMA(EMA(ABS(MTM),M4),M3);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS
DRAWTEXT(ISLASTBAR=1,6,'.ZLMM'),COLORFFFFFF;
A6:=MMS>MMM;
(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORFFFF00;
涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,COLORFFFF00;
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF
DRAWICON(K>D,2,1)
DRAWICON(K
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS
7,COLORWHITE;
通达信百分线主图指标公式
M1:ma(C,5);
M2:MA(C,8);
M3:MA(C,13);
MA30:=MA(C,30);
N:=60;
M:=1;
高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
H33:=高-(高-低)*0.33;
H中:=高-(高-低)*0.5;
H66:=高-(高-低)*0.66;
顶点:REFDATE(高,DATE),COLORAAAA00;
%33:REFDATE(H33,DATE),COLORAAAAAA;
%50:REFDATE(H中,DATE),COLORAAAA00;
%66:REFDATE(H66,DATE),COLORAAAAAA;
低点:REFDATE(低,DATE),COLORAAAA00;
DRAWTEXT(ISLAstBAR,顶点,'顶'),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,%33,'%33'),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;
DRAWTEXT(ISLASTBAR,%66,'%66'),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,低点,'低'),COLORAAAAAA;
长脚:=(MIN(C,O)-L)/L*100>3.5 AND (MIN(C,O)-L)/(MAX(C,O)-MIN(C,O))>1.3ANDL<=LLV(L,50);
STICKLINE(长脚,H,L,0.0,1),COLORFFFFFF;
STICKLINE(长脚,O,C,3,1),COLORFFFFFF;
十字:=(MIN(CLOSE,OPEN)-LOW)/MIN(CLOSE,OPEN)>0.015 AND(H-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)>0.015 AND MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)<1.012;
STICKLINE(十字,H,L,0,1),COLOR00FFFF;
STICKLINE(十字,C,O,3,0),COLOR00FFFF;
哎呀:=C/MA(C,5)<0.96 AND O/REF(L,1)<0.99ANDC>REF(L,1)AND MA(C,3)/REF(MA(C,3),1)<0.98;
STICKLINE(哎呀,H,L,0,1),COLORFFFFFF,LINETHICK1;
STICKLINE(哎呀,C,O,1,0),COLORFFFFFF,LINETHICK1;
DRAWTEXT(哎呀,LOW,'哎呀'),COLORFFFFFF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。