首页 > > 详细

代写好用的通达信主图公式

M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=120:
M6;=250;

MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);

VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,30);
MAVOL2:=MA(VOLUME,250);
X:=CROSS(MAVOL2,MAVOL1);
STICKLINE(X,C,O,5,0),COLORBLUE;
X1:=CROSS(MAVOL1,MAVOL2);
STICKLINE(X1,C,O,5,0),COLORYELLOW;
DRAWTEXT(X,L*0.95,'建仓区域'),COLORMAGENTA;
DRAWICON(X,L*0.98,9);
筹码获利:WINNER(C)*100,NODRAW;
STICKLINE(CROSS(MA(C,60),MA(C,120)) AND MACD.DIF>MACD.DEA,C,O,1,0),COLORYELLOW;
二分位:(C+O)/2,NODRAW,COLORRED;

ZT:=C/REF(C,1)>1.0993 AND C=H;

STICKLINE(ZT,O,C,2,0),COLORYELLOW;

DT:=C/REF(C,1)<0.913 AND C=L;

STICKLINE(DT,O,C,2,0),COLORGREEN;
上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,COLORLIGRAY,NODRAW;
GGG:=STRCAT(STRCAT('上市日期:',CON2STR(CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000/1,0)),'上市');
SSTS:=STRCAT(STRCAT('上市天数:',CON2STR(FINANCE(42)/1,0)),'天');
DRAWTEXT_FIX(1,0.001,0,0,GGG),COLORLIGRAY;
DRAWTEXT_FIX(1,0.25,0,0,SSTS),COLORYELLOW;

A1:=REF(V,1);A2:=DVOL;
A3:=A2/A1;
LNX:=A3-REF(A3,1),COLOR00CCCC,LINETHICK1;
E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1),COLOR00CCCC,LINETHICK2;
XG:=CROSS(LNX,500) AND CROSS(QMX,10);
DRAWTEXT(XG=1,L*0.985,'---金指'),COLORYELLOW;
箱底:=TROUGH(CLOSE,10,1)*1.02,COLOR008888,LINETHICK2;
价低箱底:=COUNT(L<箱底,3);
底箱:=TROUGH(CLOSE,10,1)*1.05,COLOR008888,LINETHICK1;
DRAWTEXT(价低箱底>=1 AND 箱底<MA3 AND CROSS(C,底箱),L*0.999,'●杀入'),COLOR00CCCC;
DRAWTEXT(MA3>MA4 AND 价低箱底>=1 AND 箱底<MA3 AND CROSS(C,底箱),L*0.99,'●强杀入'),COLOR00CCCC;
破十:=BARSLAST(C<MA2 AND REF(C,1)>=MA2);
破十价高:=REF(H,破十),NODRAW;
IF(CURRBARSCOUNT<=CONST(破十)+1,CONST(破十价高),DRAWNULL),COLORRED,DOTLINE;
破十价低:=REF(L,破十),NODRAW;
IF(CURRBARSCOUNT<=CONST(破十)+1,CONST(破十价低),DRAWNULL),COLORGREEN,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT,破十价高,破十价高),COLORRED;
DRAWTEXT(CLOSE>MA1 AND REF(CLOSE,1)<REF(MA1,1) AND MA1>MA3 AND MA2>MA3,L*0.999,'上五') ,COLORRED;
DRAWTEXT(CLOSE<MA1 AND REF(CLOSE,1)>REF(MA1,1) AND MA1<MA3 AND MA2<MA3,L*0.999,'下五') ,COLORGREEN;

DRAWNUMBER(CURRBARSCOUNT=3,破十价低,破十价低),COLORGREEN;

QJ:=BETWEEN(DATE,1131204,1200502);
QJGZ:=HHV(QJ*H,0);
QJGD:=QJGZ=H AND QJ;
JDGD:=FILTERX(QJGD,SUM(QJ,0));
高点价格:REF(H,BARSLAST(JDGD));
日价格:高点价格/3;
周价格:高点价格/5;
月价格:高点价格/10;
DRAWNUMBER(CURRBARSCOUNT=6,高点价格,高点价格);
DRAWTEXT(CURRBARSCOUNT=26,高点价格*0.96,'前高价格');
DRAWNUMBER(CURRBARSCOUNT=6,日价格,日价格);
DRAWTEXT(CURRBARSCOUNT=26,日价格*0.96,'日投价格'),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=6,周价格,周价格);
DRAWTEXT(CURRBARSCOUNT=26,周价格*0.96,'周投价格'),COLORMAGENTA;
DRAWNUMBER(CURRBARSCOUNT=6,月价格,月价格);
DRAWTEXT(CURRBARSCOUNT=26,月价格*0.96,'月投价格'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=56,月价格*1.2,'骑牛技术'),COLORRED;
STICKLINE(CROSS(MA(C,5),MA(C,10)),C,O,1,0),COLORYELLOW;
STICKLINE(CROSS(MA(C,10),MA(C,5)),C,O,1,0),COLORBLUE;
STICKLINE(V>REF(V,1)*2,C,O,1,0),COLORWHITE;
{DRAWTEXT(V>REF(V,1,月价格*1.2,''),COLORRED;}

ISCONND:=V>REF(V,1)*2;
DRAWTEXT(ISCONND,H*1.02,'倍'),COLORYELLOW;
STICKLINE(V>REF(V,1)*2,C,O,1,0),COLORWHITE;

联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。