在线检测未来函数

通达信放量上涨主图指标公式

来源:Internet,编辑:股旁网,2012-03-14

MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA30:MA(CLOSE,30),COLORRED;
MA60:MA(CLOSE,60),COLORGREEN;
MA65:=MA(CLOSE,65),COLORBLUE;
MA250:MA(CLOSE,250),COLORMAGENTA,LINETHICK3;
均线流:=(((((MA5>MA65) AND (MA10>MA65)) AND (MA30>MA65)) AND (MA5<MA30))*0.3);
PL1:=(((CLOSE-MA60)/MA60)<0.1);
PL2:=(((CLOSE-MA250)/MA250) < 0.3);
偏离率:=(((PL1=1) AND (PL2=1)))*0.2;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd超跌:=(COUNT((DIFF<DEA),10)=10);
MACD:=(MACD超跌*"MACD.MACD"(26,12,9))*(-1);
{www.gupang.com 股旁网_通达信股票指标公式}
目标:=IF(均线流=0.3 AND MACD<0.28 AND 偏离率=0.2 ,1,0);
MbsJ:=BARSLAST((目标>0.8));
放量上涨:=(((vol/REF(VOL,1))>=1.1) AND ((CLOSE/REF(CLOSE,1))>=1.01));
SZSJ:=BARSLAST(放量上涨);
MACD金叉:=crOSS(DIFF,DEA);
JCSJ:=BARSLAST(MACD金叉);
关注:=MACD金叉 AND (REF(MACD,1)<0.28);
DRAWTEXT(关注,L-0.03,'◆'),COLORMAGENTA;
启动:=((((MBSJ<=20) AND (SZSJ<=1)) AND (JCSJ<=1))*1);
DRAWTEXT(启动,L-0.03,'●'),COLORRED;
突破:=偏离率=0 AND REF(偏离率,1)=0.2 AND REF((COUNT((偏离率=0.2),10)=10),1) ;
DRAWTEXT(突破,L-0.03,'★'),COLORYELLOW;

通达信放量上涨主图指标公式

相关文章