2024趋势转换 短线进出《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUP1:=EMA(AMOUNT/VOL/7,2);
GUP2:=EMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,3);
GUP3:=SUM(AMOUNT,10)/GUP1/7;
GUP4:=DMA(GUP2,VOL/GUP3);
趋势转换
O轴:0,COLORLIBLUE,LINETHICK1;
MACD线:EMA(趋势转换,10),COLORYELLOW,LINETHICK1;
STICKLINE(趋势转换>0,趋势转换,0,4,0),COLORMAGENTA;
STICKLINE(趋势转换<0,趋势转换,0,4,0),COLORLIRED;
DRAWICON(CROSS(MACD线,0),O轴,1);
DRAWICON(CROSS(0,MACD线),MACD线,2);
选股公式源码
{选股公式:红箭头图标}
GUP1:=EMA(AMOUNT/VOL/7,2),COLORWHITE;
GUP2:=EMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,3),COLORWHITE;
GUP3:=SUM(AMOUNT,10)/GUP1/7,COLORWHITE;
GUP4:=DMA(GUP2,VOL/GUP3),COLORWHITE;
趋势转换:=(CLOSE-GUP4)/GUP4*100,COLORRED,LINETHICK1;
O轴:=0,COLORLIBLUE,LINETHICK1;
MACD线:=EMA(趋势转换,10),COLORYELLOW,LINETHICK1;
红箭头图标:CROSS(MACD线,0);
{卖出公式:绿箭头图标}
GUP1:=EMA(AMOUNT/VOL/7,2),COLORWHITE;
GUP2:=EMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,3),COLORWHITE;
GUP3:=SUM(AMOUNT,10)/GUP1/7,COLORWHITE;
GUP4:=DMA(GUP2,VOL/GUP3),COLORWHITE;
趋势转换:=(CLOSE-GUP4)/GUP4*100,COLORRED,LINETHICK1;
O轴:=0,COLORLIBLUE,LINETHICK1;
MACD线:=EMA(趋势转换,10),COLORYELLOW,LINETHICK1;
绿箭头图标:CROSS(0,MACD线);