当前位置:首页 > 免费资源 > 正文

「翔博精选指标」回踩买入,趋势类公式(通达信公式 主图 源码 测

2022-03-01原创 编 辑:翔博软件

回踩买入简单公式,做趋势必备

高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;


突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;


STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF;


DRAWTEXT(突破,LOW,'买阳'),COLOR00FFFF;


BDDD:=C=LLV(C,13);


DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;


低点:REF(C,DDSJ),COLOR00FF00,POINTDOT;


STICKLINE(DDSJ<=6,低点,低点,3,0),COLOR00FF00;


LC:=REF(CLOSE,1);


RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);


TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);


HD:=(HIGH - REF(HIGH,1));


LD:=(REF(LOW,1) - LOW);


DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);


DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);


PDI:=((DMP * 100) / TR1);


MDI:=((DMM * 100) / TR1);


ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);


AV:=(RSI5 + ADX);


DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);


WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));


NEWVOL:=(RSI5 - WR10);


回踩买入:=(AV + NEWVOL);


DRAWTEXT(CROSS(回踩买入,0),L*0.95,'←回踩买入'),COLORYELLOW;


DRAWICON(CROSS(回踩买入,-5),L*0.98,1);


HJX:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));


DRAWTEXT(CROSS(C,HJX) AND CROSS(C,MA5) AND CROSS(C,MA20),L,'五')COLORRED;

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标