VARPERIOD:=1;
MID:=(3*C+L+H+O)/6;
RISKC10:=EMA(WMA(MID,VARPERIOD),2);
BasiCPROB:=33;
ADDPROB:=42;
LIMIT10:=2*MAX(Abs(HHV(H,5)-RISKC10),ABS(RISKC10-LLV(L,5)));
PROB:=(1-ABS(C-RISKC10)/LIMIT10)*ADDPROB+BASICPROB;
BUYPROBTJ:=RISKC10>REF(RISKC10,1) AND L>RISKC10;
SELLPROBTJ:=RISKC10<=REF(RISKC10,1) AND H<RISKC10;
开多获利概率:IFF(BUYPROBTJ,PROB,IFF(RISKC10>REF(RISKC10,1),40*PROB/100,DRAWNULL)),NODRAW,COLORRED;
开空获利概率:IFF(SELLPROBTJ,PROB,IFF(RISKC10<=REF(RISKC10,1),40*PROB/100,DRAWNULL)),NODRAW,COLORFFFF00;
高概率提示:IFF((开多获利概率>65) OR (开空获利概率>65),PROB,DRAWNULL),NODRAW,COLORYELLOW;
STICKLINE(开多获利概率>0,0,开多获利概率,2,0),COLORRED;
STICKLINE(开空获利概率>0,0,(-1)*开空获利概率,2,0),COLORFFFF00;
STICKLINE(VARPERIOD,65,65,2,0),COLORYELLOW;
STICKLINE(VARPERIOD,(-1)*65,(-1)*65,2,0),COLORYELLOW;
STICKLINE(VARPERIOD,80,80,0,0),COLOR000000;
STICKLINE(VARPERIOD,(-1)*90,(-1)*90,0,0),COLOR000000;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。