%>
DRAWGBK(CLOSE>0, COLORRGB(1,0,0), COLORRGB(1,0,0),2);
DRAWTEXTEX(CLOSE,1,4,0,'红绿灯为量坑拐点,钱坑快速回落在-40附近为精准拐点,红绿箭头(价坑)为MACD买卖点'),colorFFFF;
DRAWTEXTEX(CLOSE,1,4,60,'钱坑快速回落至-20以下又快速拉回且有红箭头出现为最佳买点'),colorFFFFFF;
DRAWTEXTEX(CLOSE,1,4,120,'钱坑低位钝化为大级别下跌,等待红箭头出现,谨慎买入'),colorFFFF;
AA:=(C+L+H)/3;
BB:=REF(CLOSE,AA);
CC:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100-50;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
DRAWICON(LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3),MACD,5),ALIGN0;
DRAWICON(HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3),MACD,4);
{以下为显示}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0),COLORDD7700,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,2,0),COLOR007700,linethick3;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,2,0),linethick3,COLOR0077EE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,2,0),linethick3,COLOR000099;
钱坑:CC,COLORRED,LINETHICK2;
TT:=COUNT(cc,5)<-20;
ll:=HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);
qq:=TT AND CC>-20 AND ll;
VERTLINE(qq),LINEDOT,COLORF830F8;
{股票教程网-股票公式网站 www.gwgz.net}
STICKLINE(C,40,40,0.5,0.5);
STICKLINE(C,-40,-40,0.5,0.5);
流通〖亿〗:CAPITAL/1000000,LINETHICK0;
最新收益:FINANCE(33),linethick0;
涨家数:INDEXADV,COLOR0000EE,linethick0;
跌家数:INDEXDEC,COLOR00EE00,linethick0;
大盘成交:INDEXV,COLOR00EEEE,linethick0;
XG:V>=2*REF(V,1),LINETHICK0;{量坑拐点}
XG0:=V>=3*REF(V,1),LINETHICK0;
DRAWICON(XG,-40,10),align0;
DRAWICON(XG0,-40,11),align0;
{股票教程网-http://bkqg.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}