通达信见红就发主图指标公式,通达信优化MACD主图指标公式
admin888
|通达信见红就发主图指标公式,通达信优化MACD主图指标公式
通达信见红就发主图指标公式
均价:=(C+REF(C,1)+REF(C,2)*3)/5;
压力J:=1.025*均价;
支撑JR:=0.97*均价;
TT0:=CONst(BArslAST(压力J));
TT1:=CONST(BARSLAST(支撑JR));
STICKLINE(PERIOD=5 AND CURRBARSCOUNT=TT1+1,支撑JR,支撑JR+0.01,40,0),COLOR00FF00;
STICKLINE(PERIOD=5 AND CURRBARSCOUNT=TT0+1,压力J,压力J-0.01,40,0),COLORmaGENTA;
{变色线}十三日均线:MA(C,13),LINETHICK3;
持股:IF(十三日均线>=REF(十三日均线,1),十三日均线,DRAWNULL),COLORRED,LINETHICK3;
通达信优化MACD主图指标公式
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
H3:=高1-(高1-低1)*0.5;
中轴:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3;
B1:=ema(C,12);
B2:=Ema(C,26);
B3:=B1-B2;
Wdif:EMA(EMA(EMA(C,3),3),3)+B3;
WDEA:EMA(WDIF,9);
macd:=2*(WDIF-WDEA);
stICKLINE(MacD>0,中轴,中轴+MACD,0,1),COLORRED;
STICKLINE(MACD<0,中轴,中轴+MACD,0,1),COLORLIBLUE;
STICKLINE(MACD0,中轴,中轴+MACD,0,0 ),COLOR00BBFF;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,中轴,中轴+MACD,0,0 ),COLOR0011BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,中轴,中轴+MACD,0,0),COLORBB11BB;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,中轴,中轴+MACD,0,0),COLORFFBB11;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:= VARC, COLOR33FFFF;
顶背: STICKLINE(VARC>90,OPEN,CLOSE,1,0) , COLORRED;
VAR26:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR27:=MA(VAR26,5);
VAR28:=MA(VAR26,10);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(跌停,OPEN,CLOSE,1,0),COLORGREEN;
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L)+0.03;
明日支撑:=L+(C-GJ)+0.01;
阻力:REF(明日阻力 , 1),NODRAW;
支撑:REF(明日支撑 , 1),NODRAW;
KLH:=IF( PERIOD=5,0.015,0);
前天均价:=REF(AMOUNT,1)/REF(vol*100,1),LINETHICK0;
STICKLINE(CURRBARSCOUNT=1,阻力+KLH,阻力,6,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1,支撑,支撑-KLH,6,0),COLORRED;
涨家:INDEXADV,COLOR0066FF,NODRAW;
跌家:INDEXDEC,COLOR99FF99,NODRAW;
TT2:=dma((((HIGH+LOW)+(CLOSE*2))/4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
rsi:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(Abs((CLOSE-LC)),3,1))*100);
日线止损:(LC*1.0035*97+0.2)/99.65,COLOR03B4EC,NODRAW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。