UP商品概率线副图(通达信公式 副图 源码 测试图)

[复制链接]
查看98 | 回复0 | 2022-6-27 14:16:52 | 显示全部楼层 |阅读模式

 UP商品概率线副图

 
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;
仅限日线使用:IFF(PERIOD!=4,1,DRAWNULL),NODRAW,COLORWHITE;
 

20226241353825267.png

20226241353825267.png
 

20226241354533375.png

20226241354533375.png

20226241352597541.rar

2.15 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20226241352597541.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则