您的位置:查股网 > 查股公式 > 通达信低买高卖成功率CCI优化版指标公式[查股公式]
股票行情消息查询:
大盘云图

通达信低买高卖成功率CCI优化版指标公式[查股公式]

2022/4/11 14:30:33

通达信低买高卖成功率CCI优化版指标公式:

N:=14;
N1:=3;
TYP:=(HIGH + LOW + CLOSE)/3;
 CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),LINESTICK,COLORRED,LINETHICK2;
 跌:IF(CCI<REF(CCI,1),CCI,DRAWNULL),COLORGREEN,LINETHICK2;
 DRAWICON(CROSS(200,CCI),250,27);
 DRAWICON( CROSS(CCI,-200),-250,26);
 转强:STICKLINE(CCI>0,0,CCI,2,0),COLOR770077;
 STICKLINE(CCI>0,0,CCI,1.5,0),COLOR990099;
 STICKLINE(CCI>0,0,CCI,0.8,0),COLORBB00BB;
 STICKLINE(CCI>0,0,CCI,0.3,0),COLORFF00FF;
 转弱:STICKLINE(CCI<0,0,CCI,2,0),COLOR888800;
 STICKLINE(CCI<0,0,CCI,1.5,0),COLORAAAA00;
 STICKLINE(CCI<0,0,CCI,0.8,0),COLORDDDD00;
 STICKLINE(CCI<0,0,CCI,0.3,0),COLORFFFF00;
 弱转强:=STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;
 STICKLINE(弱转强,-150,0,7,0),COLORYELLOW;
 STICKLINE(弱转强,-150,0,4,0),COLOR000099;
 STICKLINE(弱转强,-150,0,2,0),COLOR0000BB;
 STICKLINE(弱转强,-150,0,1,0),COLOR0000DD;
 STICKLINE(弱转强,-210,0,0.9,0),COLOR0000FF;
 DRAWTEXT(弱转强,-210,'买'),COLORYELLOW;
 强转弱:=STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLORGREEN;
 STICKLINE(强转弱,150,0,7,0)COLORWHITE;
 STICKLINE(强转弱,150,0,4,0),COLOR009900;
 STICKLINE(强转弱,150,0,2,0),COLOR00BB00;
 STICKLINE(强转弱,150,0,1,0),COLOR00DD00;
 STICKLINE(强转弱,210,0,0.9,0),COLOR00FF00;
 DRAWTEXT(强转弱,210,'卖'),COLORGREEN;
 天顶线:=200,COLORRED;
 地底线:-200,COLORCYAN;
 牛熊线:100,POINTDOT,LINETHICK3,COLORWHITE;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
 BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
 BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
 MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
 MN:=MA(MM,3);
 VAR24:=LLV(LOW,36);
 VAR25:=HHV(HIGH,30);
 VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
 {底背离:= IF((VAR26<10),-100,-150), COLORYELLOW,LINETHICK1;}
 底背离:IF(MN<-4 ,-100,-150),COLORYELLOW,LINETHICK1;
 顶背离: IF((VAR26>90),150,200), COLORGREEN,LINETHICK1;
 量能:MA(100*(CLOSE- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),N1),COLORYELLOW,LINETHICK1;

通达信低买高卖成功率CCI优化版指标公式

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29