首页 > > 详细

代写股票选股公式、通达信选股公式帮做、代写通达信选股公式、布林135主图指标公式源码-通达信公式

布林135主图指标公式源码
BOLL:EMA(C,25)COLORMAGENTA,LINETHICK2;
UPPER:=BOLL+2*STD(CLOSE,25)COLORYELLOW,CROSSDOT;
LOWER:=BOLL-2*STD(CLOSE,25)COLORLICYAN,CROSSDOT;
{DRAWBAND(BOLL,RGB(139,0,139),REF(BOLL,1),RGB(65,105,225));}
DRAWBAND(UPPER,RGB(139,0,139),BOLL,DRAWNULL);
DRAWBAND(BOLL,RGB(65,105,225),LOWER,DRAWNULL);
EMA13:EMA(CLOSE,13)COLORWHITE,LINETHICK1;
EMA34:EMA(CLOSE,34)COLORGREEN,LINETHICK1;
DRAWTEXT_FIX(C>O,0.01,0.9,0, WWW. ),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,),COLORRED;
EMA55:EMA(CLOSE,55)COLORCYAN,LINETHICK1;
{阳K线}
STICKLINE(CLOSE>=OPEN,C,O,4.7,0),COLOR000033;
STICKLINE(CLOSE>=OPEN,C,O,3.9,0),COLOR000055;
STICKLINE(CLOSE>=OPEN,C,O,3,0),COLOR000077;
STICKLINE(CLOSE>=OPEN,C,O,2.1,0),COLOR000099;
STICKLINE(CLOSE>=OPEN,C,O,1,0),COLOR0000DD;
{阳线上下影}
STICKLINE(CLOSE>=OPEN,L,H,0,0), COLORRED;
{阴K线}
STICKLINE(CLOSEREF(EMA(EMA(EMA(C,2),2),2),1),XD,XU);
XR:=(C-XDU)/XDU*100,COLORRED,NODRAW;
XTB:=XD!=REF(XD,2) XD=REF(XD,1);
XTS:=XU!=REF(XU,2) XU=REF(XU,1);
DRAWICON(XTB,MIN(XD,L)*0.991,1);
DRAWTEXT(XTB,MIN(XD,L)*0.988,[下跌终点,上升起点!满仓]),COLOR0000DD;
DRAWICON(XTS,MAX(XU,H)*1.001,2);
DRAWTEXT(XTS,MIN(XU,H)*1.004,[上升终点,下跌起点!清仓])COLOR00DD00;
上升段:DRAWLINE(XTB,MIN(LLV(L,1),XD),XTS,MAX(HHV(H,1),XU),0)
COLOR000099,LINETHICK2;{XTBL}
下跌段:DRAWLINE(XTS,MAX(HHV(H,1),XU),XTB,MIN(LLV(L,1),XD),0)
COLOR009900,LINETHICK2;{XTSL} {本文来至程序化交易网 }
Y:=(EMA(C,13)-EMA(C,55))/EMA(C,13)*100;
生命线:=EMA(CLOSE,34)COLORMAGENTA,POINTDOT,LINETHICK4;
EMA120:=EMA(CLOSE,120);
{135均线战法}
{一、底部起涨}
{1.金屋藏娇}
JW1:=CREF(L,1);
JW3:=OEMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
DRAWTEXT(AR6,L-0.09,红杏出墙),COLORYELLOW;
STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;
STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;
{3.投石问路}
TS1:=CROSS(EMA(C,13),EMA(C,34));{11线上穿34线}
TS2:=EMA(C,13)EMA(C,13) OR O=EMA(C,13);
JG3:=C/OPEN>1.03 ; {阳线3%}
JG:=JG1 AND JG2 AND JG3;
DRAWTEXT(JG,LOW-0.2,铤而走险),COLORYELLOW;
{2.一阳三线}
YY1:=C>EMA(C,13) AND OPENEMA(C,34) AND OPENEMA(C,55) AND OPEN0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55=REF(EMA55,1);
CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
STICKLINE(CR6,H,L,0.5,1),COLORF00FF0; {本文来至程序化交易网 }
STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;
DRAWTEXT(CR6,L*0.996,红衣侠女)COLORRED,{COLORF00FF0};
{黑客点击}
HK1:=CROSS(EMA(C,13),EMA(C,55));{11线上穿55线}
HK2:=C1.04;{阳线4%}
RY2:=REF(OPEN,1)/REF(CLOSE,1)>1.04;{阴线4%}
RY3:=ABS(OPEN-REF(C,1))EMA(C,55) AND EMA(C,34)>EMA(C,55);
MK:=TS1 AND MK1;
DRAWTEXT(MK,H*1.002,梅开二度),COLORADEAEA;
{蚂蚁上树}
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS
((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1)EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1)
AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);
DRAWTEXT(HR2 AND FILTER(HR2,10),H*1.002,三线推进),COLORFFC8FF;
{STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;
STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;}
{卖出形态}
{1.一枝独秀}
YZ1:=C/O>1.02 AND H/C>1.02 AND O/LREF(O,1) AND O>EMA(C,13);{昨收阳 今大于均线} {本文来至}
YZ:=YZ1 AND YZ2 AND Y>10;
DRAWTEXT(YZ,HIGH+0.2,一枝独秀),COLORF00FF0;
{2.独上高楼}
DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}
DS2:=V*100/FINANCE(7)>0.08 AND Y>8;{换手高涨幅大}
DS:=DS1 AND DS2;
DRAWTEXT(DS,HIGH+0.2,独上高楼),COLORGREEN;
{3.一剑封喉}
YJ1:=H/O>1.04;
YJ2:=ABS(C-O)1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
DRAWTEXT(YJ,HIGH+0.3,一剑封喉),COLORRED;
{断头铡刀}
T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
TT1:=CMA(C,13);
TT3:=CMA(C,34);
TT5:=CMA(C,55);
X28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW*0.99,断头铡刀),COLORWHITE;
X30:DRAWTEXT(CROSS(EMA55,EMA13),EMA55*0.997,一剑穿心), COLOR00FF00;
{ X39:DRAWTEXT(CROSS(EMA34,EMA13),EMA34*1.003,分道扬镳), COLOR00FF00;
X31:DRAWTEXT(CROSS(EMA55,EMA34),EMA55*1.0,各执一词), COLOR00FF00;};

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