2023CCI优化改编 买卖提示更明确《通达信 副图 选股 源码 ...

[复制链接]
查看42132 | 回复1 | 2023-3-2 10:48 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
64000d52a376e.png
副图公式源码 :支持手机/电脑

顶部线:200,COLORGREEN;

强势线:100,COLORRED,LINETHICK2;

趋势线:CCI,COLORGRAY,LINESTICK,LINETHICK1;

中轴线:0,COLORYELLOW,LINETHICK1;

底部线:-100,COLORWHITE;

弱势线:-200,COLORGREEN;

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;

DRAWTEXT(CROSS(200,CCI),250,'下穿200'),COLORGREEN;

DRAWTEXT( CROSS(CCI,-200),-150,'上穿-200'),COLORYELLOW;

DRAWTEXT( CROSS(CCI,-100),-100,'上穿-100'),COLORFF00FF;

STICKLINE(CCI>0,0,CCI,1,0),COLORRED;

STICKLINE(CCI<0,0,CCI,1,0),COLORLIGREEN;

STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,1,0),COLORYELLOW;

STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,1,0),COLORGREEN;

CCI70:(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;

差数:=CCI70-REF(CCI70,1);

IF(差数>0,CCI70,DRAWNULL),COLORYELLOW,LINETHICK2;

IF(差数<0,CCI70,DRAWNULL),COLORBLUE,LINETHICK2;

DRAWICON(CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1)),CCI-0.03,38);

DRAWICON(CROSS(100,CCI) OR (REF(CCI,1)<100 AND REF(CCI,1)>95 AND CCI<REF(CCI,1)),CCI+0.03,39);

选股公式源码


{选股公式一:红三角}

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;

CCI70:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;

差数:=CCI70-REF(CCI70,1);

红三角:CROSS(CCI,-100) OR (REF(CCI,1)>-100 AND REF(CCI,1)<-95 AND CCI>REF(CCI,1));



{选股公式二:上穿-200}

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;

CCI70:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;

差数:=CCI70-REF(CCI70,1);

{上穿-200}上穿:CROSS(CCI,-200);

{选股公式三:上穿-200}

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;

CCI70:=(TYP-MA(TYP,70))/(0.015*AVEDEV(TYP,70)),COLORYELLOW,LINETHICK2;

差数:=CCI70-REF(CCI70,1);

{上穿-100}上穿:CROSS(CCI,-100);
漂泊浪子 | 2023-4-2 19:19 | 显示全部楼层
学习了
回复

使用道具 举报

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

本版积分规则