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

「翔博精选指标」XCH笑雅主图(通达信公式 主图 源码 测试图)

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

{XCH笑雅主图}
 MA13:=MA(CLOSE,20);
 MA77:=MA(CLOSE,40);
 MA99:=MA(CLOSE, 99);
 段: LLV(MA(CLOSE,13),67),COLORRED,LINETHICK2;
DRAWBAND(MA13,RGB(150,0,0),MA77,RGB(0,150,0));
M60:=MA(C,5);
M120:=MA(C,20);
DRAWBAND(M60,RGB(90,0,0),M120,RGB(0,90,0));
 日时转换1:=IF(PERIOD=5,120,120); 
 VAR1015:=(EMA(CLOSE,10)+EMA(CLOSE,15))/2; 
 强弱线:EMA(VAR1015,日时转换1),;
C120:EMA(C,120);
DRAWBAND(C120,RGB(159,0,0),强弱线,RGB(0,159,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
PM:MA(C,5),COLORGRAY,LINETHICK1;{可用13}
IF(PM<REF(PM,1),PM,DRAWNULL),COLORGRAY,LINETHICK0;
IF(PM>=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
生命线:MA(CLOSE,40),LINETHICK2,COLORWHITE;
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLOR442288,LINETHICK2;
MA5:=MA(CLOSE,5),NODRAW;
MA10:=MA(CLOSE,10),COLORCC66FF;
MA20:MA(CLOSE,20),COLORFFCC66,LINETHICK2;
IF(MA20>=REF(MA20,1),MA20,DRAWNULL),COLOR008888,LINETHICK2;
 短趋势线:=MA(CLOSE,13),COLORRED,LINETHICK3;
 中线:=MA(CLOSE,33),LINETHICK1;
 中趋势线:=MA(CLOSE,55),LINETHICK1,COLORGRAY;
 DRAWTEXT(CROSS(CLOSE,MA(C,13)) AND 短趋势线<REF(短趋势线 ,1) AND
 短趋势线<中趋势线 ,H*1.02,'减'),COLORWHITE;


 VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
 DRAWTEXT(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),H*1.02,'减仓'),COLORGREEN;
 DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),MA10,'卖出'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,HIGH,HYBLOCK);
DRAWTEXT_FIX(C>0,0.01,0.03,0,'操作理念:★不买入下跌股票,★不参与调整行情。'),COLOR00FFFF;
MA05:=MA(C,5)LINETHICK2,COLOR00CCFF;
MA30:=MA(C,30);
MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AA:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
起涨点:=COUNT(CROSS(MAC3,M3),AA<REF(AA,3) AND AAB>REF(AAB,3));
DRAWICON(起涨点,LOW*0.985,6);
 量比:=DYNAINFO(17),NODRAW;
 涨幅:=(CLOSE/DYNAINFO(3))>=1.005 AND (CLOSE/DYNAINFO(3))<=1.04;
 涨幅1:=(CLOSE/DYNAINFO(3))>=1.005 AND (CLOSE/DYNAINFO(3))>=1.05;
 收盘涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
 A1:=NAMELIKE('ST');
 A2:=NAMELIKE('*');
 A3:=NAMELIKE('S');
 去除ST:=(A1+A2+A3)=0;
 VAR3:=REF(CLOSE,1);
 VAR4:=(SMA(MAX(CLOSE-VAR3,0),6,1))/(SMA(ABS(CLOSE-VAR3),6,1))*100;
 高抛:=CROSS(VAR4,80) AND 涨幅1 AND 量比<2;
 DRAWTEXT(高抛 AND C<O,H*1.02,'高卖'),COLOR00FF00;

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