beyond202104 发表于 2023-8-28 15:28:10

超级CCI改编 多种买卖提示【指标公式】(含选股)

第一部分 副图公式 手机/电脑


TYP:=(HIGH+LOW+CLOSE)/3;
CCI八四:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
DRAWBAND(CCI八四,RGB(250,0,0),-100,RGB(0,0,250));
CCI十四:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DRAWBAND(CCI十四,RGB(200,150,0),-100,RGB(0,150,0));
0,COLOR0000FF,LINETHICK2;
均30:=MA(C,30);
均72:=MA(C,72);
均分:=(均30+均72)/2,COLOR00FFFF,LINETHICK2;
BIAS1:=(CLOSE-MA(CLOSE, 均分))/MA(CLOSE, 均分)*1000,COLORFF00FF,LINETHICK2;
DRAWBAND(BIAS1,RGB(200,0,200),0,RGB(0,200,200));
CCI十四A:CCI十四,COLOR00FFFF,LINETHICK2;
CCI买卖:CCI八四,COLORFFFF00,LINETHICK2;
乖离:BIAS1,COLORFFFFFF,LINETHICK2;
DRAWICON(CROSS(CCI十四A,-100),-108,5);
DRAWICON(CROSS(CCI十四,100),92,13);
DRAWICON(CROSS(CCI八四,-100),-92,23);
DRAWICON(CROSS(CCI八四,100),108,38);
DRAWICON(CROSS(BIAS1,0),0,1);
DRAWICON(CROSS(100,CCI十四A),108,14);
DRAWICON(CROSS(100,CCI八四),92,39);
DRAWICON(CROSS(0,BIAS1),0,2);


第二部分 选股公式


{选股公式一:红箭头图标}
均30:=MA(C,30);
均72:=MA(C,72);
均分:=(均30+均72)/2,COLOR00FFFF,LINETHICK2;
BIAS1:=(CLOSE-MA(CLOSE, 均分))/MA(CLOSE, 均分)*1000,COLORFF00FF,LINETHICK2;
红箭头图标:CROSS(BIAS1,0);

{选股公式二:笑脸图标}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI十四:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI十四A:=CCI十四,COLOR00FFFF,LINETHICK2;
笑脸图标:CROSS(CCI十四A,-100);
{选股公式三:红球图标}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI十四:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI十四A:=CCI十四,COLOR00FFFF,LINETHICK2;
红球图标:CROSS(CCI十四,100);

{选股公式四:红加号图标}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI八四:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
红加号图标:CROSS(CCI八四,-100);

{选股公式五:红三角图标}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI八四:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
红三角图标:CROSS(CCI八四,100);


隐姓埋名50 发表于 2024-3-15 10:06:01

帮你顶下哈!!
页: [1]
查看完整版本: 超级CCI改编 多种买卖提示【指标公式】(含选股)