首页 > > 详细

通达信筹码获利源码

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