以下是通达信多空概率指标公式(无源码的请下载附件导入)
{引用XYXY}
ZC:REF(C,1);
{多空概率}
ZCC:="引用XYXY.ZC#WEEK";
做空95%:ZCC*1.17,COLORMAGENTA,LINETHICK2;
做空68%:ZCC*1.085,COLORWHITE,LINETHICK2;
做多68%:ZCC*0.925,COLORYELLOW,LINETHICK2;
做多95%:ZCC*0.85,COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,做空95%,' 做空95%'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,做空68%,' 做空68%'),COLORWHITE,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,做多68%,' 做多68%'),COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR=1,做多95%,' 做多95%'),COLORGREEN,LINETHICK2;
83155401.png
|