股票软件通达信精品指标公式-主力建仓源码通达信公式
公式源码:
DRAWGBK(O>C,RGB(48,41,124),RGB(0,0,0),0,'1',0);
CO:=(O+H+L+C)/4;
A:=(CO-MA(CO,5))/(0.015*AVEDEV(CO,5));
XDD:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(XDD,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
ZD:=LLV(J,2)=LLV(J,7);
粗选:=CROSS(J,REF(J+0.01,1)) AND ZD AND J<30;
GL:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
YCC:=CROSS(GL,-4);
ECC:=CROSS(GL,-10);
ZX1:=YCC OR ECC;
DRAWBAND(A,RGB(200,2,2),0,RGB(29,81,46));
DRAWBAND(0,0,-0,0);
STICKLINE(A>0,0,7,5,0),COLOR00FFFF;
DRAWICON(CROSS(A,0),0,11);
DRAWICON(CROSS(0,A),0,12);
短买:ZX1 AND FILTER(ZX1,5) AND 粗选,LINETHICK0;
STICKLINE(短买,0,70,2.5,0),COLOR00AAFF;
STICKLINE(短买,0,70,2,0),COLOR00CCFF;
STICKLINE(短买,0,70,1,0),COLOR00EEFF;
STICKLINE(短买,0,70,0.1,0),COLOR00FFFF;
DRAWICON(短买,78,17);
DRAWRECTREL(0,470,240,970,RGB(235,138,124));
DRAWRECTREL(0,470,240,850,RGB(176,47,28));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.5,0,' 【告诫】'),COLOR00FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.58,0,'◆ 毛泽东曾经说过:“决定战争胜负的是人,'),COLORCCCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.64,0,' 而不是一两件新式武器。” ---此其一'),COLORCCCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.72,0,'◆学习写公式,知道它的意义、用途后其终极'),COLORCCCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.80,0,' 目标是为了不用公式。 ---此其二'),COLORCCCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.88,0,' 翔博软件 编制'),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.88,0,' ☆☆ ☆☆ 2017.10.25'),COLOR00FFFF;
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280