「翔博精选指标」买卖趋势(通达信公式 副图 源码 测试图)免费资源
2021-10-23 来源:原创 编辑:翔博软件
买卖趋势 D1F1:=EMA(CLOSE,N1)-EMA(CLOSE,N2); DEA1:=EMA(D1F1,N3); DIF2:=EMA(CLOSE,N4)-EMA(CLOSE,N3); DEA2:=EMA(DIF2,N4); 买卖趋势:2*(D1F1-DEA1),COLOR0088F5,LINETHICK3
买卖趋势
D1F1:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
DEA1:=EMA(D1F1,N3);DIF2:=EMA(CLOSE,N4)-EMA(CLOSE,N3);
DEA2:=EMA(DIF2,N4);
买卖趋势:2*(D1F1-DEA1),COLOR0088F5,LINETHICK3;
买卖趋势MA:=MA(买卖趋势,N1);
中轴:0,COLOR00EBEB,LINETHICK2;
STICKLINE(买卖趋势>0,买卖趋势,0,2,1),COLORBLUE;
STICKLINE(买卖趋势<0,买卖趋势,0,2,1),COLORBLUE;
STICKLINE(买卖趋势 < 0 AND 买卖趋势<买卖趋势MA,0,买卖趋势MA,2.5,0),COLORGREEN;
STICKLINE(买卖趋势 > 买卖趋势MA AND 买卖趋势>0,买卖趋势,买卖趋势MA,2.5,0),COLORRED;
STICKLINE(DEA2>=0,DEA2,0,1,1),COLOR33AA33;
STICKLINE(DEA2<0,DEA2,0,2,0),COLORF580F5;
STICKLINE(DEA2<0,DIF2,0,1,1),COLOR33AA33;
STICKLINE(DEA2>=0,DIF2,0,2,0),COLORF560F5;
介入:买卖趋势,STICK,COLORF560F5;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
ANGEL:=EMA(C,2);
DEVIL:=EMA(SLOPE(C,21)*20+C,42);
AA:=CROSS(ANGEL,DEVIL);
BB:=CROSS(DEVIL,ANGEL);
DRAWTEXT(AA,-2,'买'),COLORF00FF0,LINETHICK3;
DRAWTEXT(BB,2,'卖'),COLORCYAN,LINETHICK3;