公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信犀九利中线指标(源码)

2012-11-25 11:46| 发布者: admin| 查看: 54| 评论: 0

A0:=(L+H+C*2)/4;
A1:=MA(A0,9),COLORYELLOW;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100;
G1:=BARSLAST(CROSS(A1X,0));
买入止损:REF(A0,G1),COLORWHITE,LINETHICK1;
AA:IF(A1X>=0,买入止损,DRAWNULL),COLORRED,LINETHICK1;
AB:IF(A1X>=0,A1,DRAWNULL),COLORLIRED,LINETHICK1;
AC:IF(A1X<0,A1,DRAWNULL),COLORGREEN,LINETHICK1;
IF(H>=REF(A0,G1)*1.1,REF(A0,G1)*1.1,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,G1)*1.2,REF(A0,G1)*1.2,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,G1)*1.3,REF(A0,G1)*1.3,DRAWNULL),COLORGREEN,CIRCLEDOT;
IF(H>=REF(A0,G1)*1.4,REF(A0,G1)*1.4,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,G1)*1.5,REF(A0,G1)*1.5,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,G1)*1.6,REF(A0,G1)*1.6,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,G1)*1.7,REF(A0,G1)*1.7,DRAWNULL),COLORGREEN,POINTDOT;
CC:C,COLORYELLOW;
DRAWICON(CROSS(AB,CC),CC*1.1,1);
DRAWICON(CROSS(AB,AA),AB,1);


鲜花

握手

雷人

路过

鸡蛋
返回顶部