副图公式源码支持 手机/电脑
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);
|