通达信天地量指标公式,通达信风险评测优化指标公式
admin888
|通达信天地量指标公式,通达信风险评测优化指标公式
通达信天地量指标公式
VAR2:=1*AMOUNT;
三十日地量:VAR2=LLV(VAR2,30) AND VAR2!=0;
六十日地量:VAR2=LLV(VAR2,60) AND VAR2!=0;
一百日地量:VAR2=LLV(VAR2,100) AND VAR2!=0;
一年地量:VAR2=LLV(VAR2,250) AND VAR2!=0;
三十日天量:VAR2=HHV(VAR2,30) AND VAR2!=0;
六十日天量:VAR2=HHV(VAR2,60) AND VAR2!=0;
一百日天量:VAR2=HHV(VAR2,100) AND VAR2!=0;
一年天量:VAR2=HHV(VAR2,250) AND VAR2!=0;
通达信风险评测优化指标公式
RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
VAR21:=SMA(RSVA2,9,1)+100;
VAR11:=Sma(RSVA1,3,1);
VAR51:=SMA(VAR11,3,1)+100;
顶底线:=VAR51-VAR21+50;
VAR2:=LLV(LOW,33);
VAR3:=HHV(HIGH,21);
VAR4:=ema((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;
趋势:=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1);
Y:=(L+H)/2;
ao:=SMA(Y,5,1);
ac:=SMA(Y,34,1);
difZ:=(AO-AC)*10;
DH:=(SMA(DIFZ-SMA(DIFZ,3,1),2,1))*6,COLORstICK;
RC:=50,COLORYELLOW,LINETHICK1;
STICKLINE(C,100,90,4,0),COLORFFCC33;
STICKLINE(C,90,80,4,0),COLORFF9933;
STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR000055;
STICKLINE((趋势>REF(趋势,1) AND 顶底线
STICKLINE((趋势REF(顶底线,1)),20,80,4,0),COLOR663300;
STICKLINE(C,20,10,4,0),COLORFF6633;
STICKLINE(C,10,0,4,0),COLORFF3333;
DRAWBAND(DIFZ+RC,RGB(185,50,50),EMA(DIFZ+RC,9),RGB(0,50,190));
DRAWBAND(-DIFZ+RC,RGB(0,50,190),EMA(-DIFZ+RC,9),RGB(185,50,50));
IF(C,DIFZ+RC,DRAWNULL),COLORRED,LINETHICK1;
IF(DIFZ<=REF(DIFZ,1),DIFZ+RC,DRAWNULL),COLORGRAY;
IF(DH>0,RC,DRAWNULL),COLOR2266FF,LINETHICK1;
IF(DH<=0,RC,DRAWNULL),COLORDDDD66,LINETHICK1;
STICKLINE(DH>0 AND DH>REF(DH,1),RC,RC+DH,1,0),COLORRED;
STICKLINE(DH>0 AND DH<=REF(DH,1),RC,RC+DH,1,0),COLORLIGREEN;
STICKLINE(DH<0 AND DH>REF(DH,1),RC,RC+DH,1,0),COLORLIRED;
STICKLINE(DH<0 AND DH<=REF(DH,1),RC,RC+DH,1,0),COLORLIBLUE;
当前安全度:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),LINETHICK1,COLORYELLOW;
DRAWTEXT(ISLASTBAR,5,' 高安全'),COLORWHITE;
DRAWTEXT(ISLASTBAR,15,' 安全区'),COLORWHITE;
DRAWTEXT(ISLASTBAR,85,'风险区'),COLORWHITE;
DRAWTEXT(ISLASTBAR,95,' 高风险'),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。