首页 > > 详细

通达信【黑马趋势】买点主图副图选股指标 提示有庄进场信号 源码附图

{黑马顺势成交源码如下}
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
GSK:=VOL>REF(V,1)*1.9;
GSK1:=VOL< REF(LLV(VOL,13),1);
GSK2:=VOL< REF(LLV(VOL,55),1);
GSKZZB7:EMA(C,7),COLORYELLOW,LINETHICK2;
GSKZZB14:EMA(C,14),COLOR7FF00F,LINETHICK1 DOTLINE;
GSKZ:=GSKZZB7>GSKZZB14;
STICKLINE(GSK1,0,V,1,0),COLORGREEN;
STICKLINE(GSK2,0,V,1,0),COLORMAGENTA;
GSKZ1:=COUNT(V>REF(V,1)*1.9,4)=1;
GSKZ2:=COUNT(V< REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
GSKZ3:=GSKZ1 AND GSKZ2;
STICKLINE(CROSS(GSKZZB7,GSKZZB14)AND GSKZ,0,V,1,0),COLORYELLOW;
STICKLINE(GSKZ3,0,V,1,0),COLORRED;
DRAWICON(CROSS(GSKZZB7,GSKZZB14)AND GSKZ,V,9);
MV5:MA(V,100);
MV10:MA(V,100);
MV40:MA(V,100);


{黑马趋势主图源码如下}

GSKZ7:=EMA(C,7),COLORYELLOW,LINETHICK2;
GSKZ14:=EMA(C,14),COLOR7FF00F,LINETHICK1 DOTLINE;
GSKZ25:=EMA(C,25),COLORFF7F00,LINETHICK1 DOTLINE;
GSKZMA45:=EMA(C,45),COLORF00FFF,LINETHICK1 DOTLINE;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
GSKZ:=GSKZ7>GSKZ14;
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
DRAWTEXT(C/REF(C,1)>1.095,L*0.96,' ★强'),COLORLIRED;
STICKLINE(HIGH< REF(LOW,0),HIGH,REF(LOW,0),10,0);
STICKLINE(LOW>REF(HIGH,0) ,LOW,REF(HIGH,0),10,0);
STICKLINE(C=O,H,L,0,0);
STICKLINE((C=O)AND(C>REF(C,0)),C,O,8,0);
STICKLINE((C=O)AND(C< REF(C,0)),C,O,8,0);
STICKLINE(CROSS(GSKZ7,GSKZ14) AND GSKZ,CLOSE,OPEN,2,0),COLORMAGENTA;
DRAWICON(CROSS(GSKZ7,GSKZ14) AND GSKZ,L*1.002,9);
DRAWTEXT(CROSS(GSKZ7,GSKZ14) AND GSKZ,L*0.98,' ★黑马'),COLORMAGENTA;
STICKLINE(CROSS(GSKZ25,GSKZ7),CLOSE,OPEN,2,0),COLORBLUE;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上涨趋势:(1+7/100)*DD,DOTLINE,COLORGREEN;
下跌趋势:(1-7/100)*DD,DOTLINE,COLORGREEN;
中轨:(上涨趋势+下跌趋势)/2,DOTLINE,COLORGREEN;
FK:(1+14/100)*DD,DOTLINE,COLORGRAY;
CD:(1-14/100)*DD,DOTLINE,COLORGRAY;
DRAWNUMBER(ISLASTBAR,上涨趋势,上涨趋势),COLOR00FFFF;
DRAWNUMBER(ISLASTBAR,下跌趋势,下跌趋势),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,中轨,中轨),COLOR00FF00;
DRAWNUMBER(ISLASTBAR,FK,FK),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,CD,CD),COLORWHITE;
上涨趋势绿:IF(上涨趋势>=REF(上涨趋势,1),上涨趋势,DRAWNULL),DOTLINE,COLORGREEN,LINETHICK1;
上涨趋势红:IF(上涨趋势>=REF(上涨趋势,1),上涨趋势,DRAWNULL),DOTLINE COLORRED,LINETHICK1;
中轨绿:IF(中轨>=REF(中轨,1), 中轨,DRAWNULL),DOTLINE,COLORGREEN,LINETHICK1;
中轨红:IF(中轨>=REF(中轨,1), 中轨,DRAWNULL),DOTLINE COLORRED, LINETHICK1;
下跌趋势绿:IF(下跌趋势>=REF(下跌趋势,1), 下跌趋势,DRAWNULL),DOTLINE,COLORGREEN,LINETHICK1;
下跌趋势红:IF(下跌趋势>=REF(下跌趋势,1), 下跌趋势,DRAWNULL),DOTLINE COLORRED,LINETHICK1;
IF(GSKZ7>REF(GSKZ7,1),GSKZ7,DRAWNULL),COLORRED,LINETHICK2;
IF(GSKZ7< REF(GSKZ7,1),GSKZ7,DRAWNULL),COLORGREEN,LINETHICK2;
联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。