《股票-通达信风险评测优化指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信风险评测优化指标公式.docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信风险评测优化指标公式_正点财经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)*-
2、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),COLOR0000
3、55;STICKLINE(顶底线REF(顶底线,1),20,80,4,0),COLOR663300;STICKLINE(趋势REF(趋势,1)AND顶底线REF(顶底线,1),20,80,4,0),COLOR000055;STICKLINE(趋势REF(趋势,1)AND顶底线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
4、);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(DH0,RC,DRAWNULL),COLOR2266FF,LINETHICK1;IF(DH=0,RC,DRAWNULL),COLORDDDD66,LINETHICK1;STICKLINE(DH0ANDDHREF(DH,1),RC,RC+DH,1,0),COLORRED;STICKL
5、INE(DH0ANDDH=REF(DH,1),RC,RC+DH,1,0),COLORLIGREEN;STICKLINE(DH0ANDDHREF(DH,1),RC,RC+DH,1,0),COLORLIRED;STICKLINE(DH0ANDDH=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;通达信风险评测优化指标公式实例图解:通达信风险评测优化指标公式