通达信极品操盘主图指标公式,通达信半年百分线主图指标公式
admin888
|通达信极品操盘主图指标公式,通达信半年百分线主图指标公式
通达信极品操盘主图指标公式
{参数:
N:1/120/5;
M1:1/250/7;
M2:1/250/13;
M3:1/250/21;
M4:1/250/30;
M5:1/250/60}
↑7:ma(CLOSE,M1);
↑13:MA(CLOSE,M2);
↑21:MA(CLOSE,M3);
↑30:MA(CLOSE,M4);
↑60:MA(CLOSE,M5),COLORLIRED;
{↑120:MA(CLOSE,M6),COLORBLUE;}
操作线:emaC,N),COLORWHITE,NODRAW;
mtm:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(A
bs(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) ANDcrOSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
A:=REF(操作线,1);
红买:A,COLORRED,NODRAW;
绿卖:HIGH,COLOR00FF00,NODRAW;
粉持股:CLOSE,COLORFF00FF,NODRAW;
灰持币:OPEN,COLORFFFFCC,NODRAW;
{买入}stICKLINE(操作线>=A,HIGH,LOW,0,0),COLORFF00FF;
STICKLINE(操作线>=A,OPEN,CLOSE,1,0),COLORFF00FF;
STICKLINE(CROSS(操作线,A),HIGH,LOW,0,0),COLORRED;
STICKLINE(CROSS(操作线,A),OPEN,CLOSE,1,0),COLORRED;
DRAWICON(CROSS(操作线,A),LOW-0.1,1),COLORRED;
STICKLINE(CROSS(A,操作线),HIGH,LOW,0,0),COLOR00FF00;
STICKLINE(CROSS(A,操作线),OPEN,CLOSE,1,0),COLOR00FF00;
DRAWICON(CROSS(A,操作线),HIGH+0.01,2),COLOR00FF00;
通达信半年百分线主图指标公式
{上半年百分线,适用于日线周期}
半年:=1+(BA
rslAst(OSS(MONTH=1 OR MONTH=7,0.5) OR DATETODAY(DATE)=1));
天数:=IF(PERIOD=5,半年,DRAWNULL);
上高:=REF(HHV(H,天数),天数),COLORYELLOW;
上低:=REF(LLV(L,天数),天数),COLORWHITE;
高1:=上高;
低1:=上低;
振幅:(高1-低1)/低1*100,NODRAW,COLORWHITE;
H1:=高1;
H2:=高1-(高1-低1)*1/4;
H3:=高1-(高1-低1)*1/2;
H4:=高1-(高1-低1)*3/4;
H5:=低1;
天:REFDATE(H1,DATE),POINTDOT,LINETHICK4,COLORYELLOW;
地:REFDATE(H5,DATE),POINTDOT,LINETHICK4,COLOR00FF00;
强:REFDATE(H2,DATE),POINTDOT,LINETHICK4,COLORFFFF00;
中:REFDATE(H3,DATE),POINTDOT,LINETHICK4,COLORWHITE;
弱:REFDATE(H4,DATE),POINTDOT,LINETHICK4,COLOR0099FF;
N:=12;
DP:=(H+L+2*C)/4;
DN:=Abs(CLOSE-REF(CLOSE,N));
VY:=SUM(ABS(CLOSE-REF(CLOSE,1)),N);
ER:=DN/VY;
FSC:=2/(2+1);
SSC:=2/(N+1);
SC:=ER*(FSC-SSC)+SSC;
SCSQ:=SC*SC;
Kma:dma(DP,SCSQ),COLOR00FF00,LINETHICK2;
多空:ema(DP,50),COLORFFFF00,LINETHICK2;
BUY:=KMA>EMA(KMA,3);
DRAWKLINE(H,O,L,C);
【量H】:=IF((AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,21)/HHV(C,21))*100);
STICKLINE(【量H】=100,L,H,0.4,0),COLORFF00FF;
STICKLINE(【量H】=100 AND C>=O,C,O,4,1),COLORFF00FF;
STICKLINE(【量H】=100 AND C
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,2,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,2,0),COLORBLUE;
IF(多空>REF(多空,1),多空,DRAWNULL),COLOR00FF00,LINETHICK2;
IF(BUY=1,KMA,DRAWNULL),COLORRED,LINETHICK2;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。