马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
{精准拐点}
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*1.4,8),ALIGN1;
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*1.2,7),ALIGN1;
卖LLV(MACD,4)>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3));
X3HHV(MACD,4)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3));
{以下为显示}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0),COLORDD7700,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),linethick3,COLORDD9900;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0,0),linethick3,COLORDDCC00;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,2,0),COLOR007700,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0),COLOR009900,linethick3;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0,0),COLOR00DD00,linethick3;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,2,0),linethick3,COLOR0077EE;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,1,0),linethick3,COLOR0099EE;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0,0),linethick3,COLOR00DDEE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,2,0),linethick3,COLOR000099;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),linethick3,COLOR0000EE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0,0),linethick3,COLORAA33EE;
线:CC,COLOR0099CC;
蓝天:=STICKLINE(C,40,40,0.5,0.5);
绿地:=STICKLINE(C,-40,-40,0.5,0.5);
流通〖亿〗:CAPITAL/1000000,LINETHICK0;
涨家数:INDEXADV,COLOR0000EE,linethick0;
跌家数:INDEXDEC,COLOR00EE00,linethick0;
大盘成交:INDEXV,COLOR00EEEE,linethick0;
XG:=V>=2*REF(V,1);{量坑拐点}
XG0:=V>=3*REF(V,1);
DRAWICON(XG,-40,11),align1;
DRAWICON(XG0,-40,12),align1;
X1:V>=2*REF(V,1);
X2:V>=3*REF(V,1); |