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

2014-01-29 19:55:00来源:本站整理浏览:365

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);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式