以下是通达信波段买卖点源码副图贴图

{波段买卖点}

DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);     DEA1:=EMA(DIF1,9);

DIA:DIF1*15; IF(DIA>=0,DIA,DRAWNULL)COLORLIMAGENTA,LINETHICK4;      DIB:DEA1*15;

DRAWBAND(DIA,RGB(500,280,180),DIB,RGB(500,180,280));

{柱状线}

AAA1:=(DIF1-DEA1)*2*60;                  AAA12:=((DIF1-DEA1)*2*60)/2;

AAA上:IF(AAA12>REF(AAA12,1),AAA12,DRAWNULL),STICK,COLORLIRED,LINETHICK1;

AAA下:IF(AAA12<REF(AAA12,1),AAA12,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;

买入线:15,COLORWHITE,DOTLINE;  买出线:-15,COLORWHITE,DOTLINE;  -8,COLORWHITE,DOTLINE;  8,COLORWHITE,DOTLINE;

判研:AAA1-REF(AAA1,1),COLORLIGRAY,LINETHICK2;

DRAWICON(CROSS(判研,14.5),买入线,1);

DRAWICON(CROSS(-14.5,判研),-15,2);

{判研8:=IF(判研<=ABS(判研,8),-10,-8)COLORLIMAGENTA LINETHICK2;}

绝对值:=((判研<=8) AND (判研>=-8));

统计8:= COUNT(绝对值,89)>=60;

IF(判研<=-8,判研,DRAWNULL),COLORGREEN,LINETHICK2;

IF(判研>=8,判研,DRAWNULL),COLORRED,LINETHICK2;

重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;

操盘线:=EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK3;

DRAWICON(CROSS(判研,7.5),17,27);

DRAWICON((CROSS(判研,7.5) AND (H>=操盘线 AND L<=操盘线 AND 重心>=操盘线 ))

OR 判研>=18,22,26);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。