您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:趋势与压力主图 源码

趋势与压力主图 源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-06-14 08:03:00
公式简介:

A0:=(L+H+C*2)/4;
A1:=EMA(A0,14)COLORYELLOW,LINETHICK2;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
A2X:=(EMA(A0,20)-REF(EMA(A0,20),1))/REF(EMA(A0,20),1)*100;
G1:=BARSLAST(CROSS(A1X,0));
买入止损:REF(A0,G1),COLORWHITE,LINETHICK1;
脉冲:(A0-A1)/A1*100,NODRAW;
斜脉冲:(A0-REF(A0,1))/(A1-REF(A1,1)),NODRAW;
买入盈利:(A0-买入止损)/买入止损*100,NODRAW;
Y1:=REF(A0,G1)*1.1,COLORGREEN;
Y2:=REF(A0,G1)*1.2,COLORGREEN;
Y3:=REF(A0,G1)*1.3,COLORGREEN;
Y4:=REF(A0,G1)*1.4,COLORGREEN;
Y5:=REF(A0,G1)*1.5,COLORGREEN;
Y6:=REF(A0,G1)*1.6,COLORGREEN;
Y7:=REF(A0,G1)*1.7,COLORGREEN;
B1:IF(A1X>=0,买入止损,DRAWNULL),COLORRED,LINETHICK2;
B2:IF(A1X>=0,A1,DRAWNULL),COLORRED,LINETHICK2;
①:IF(H>=Y1,Y1,DRAWNULL),COLORGREEN,LINETHICK3;
②:IF(H>=Y2,Y2,DRAWNULL),COLORGREEN;
③:IF(H>=Y3,Y3,DRAWNULL),COLORGREEN,CIRCLEDOT;
④:IF(H>=Y4,Y4,DRAWNULL),COLORGREEN;
⑤:IF(H>=Y5,Y5,DRAWNULL),COLORGREEN;
⑥:IF(H>=Y6,Y6,DRAWNULL),COLORGREEN;
⑦:IF(H>=Y7,Y7,DRAWNULL),COLORGREEN;
 


 


[url=http://www.goodgupiao.com/gupiaogongshi/20966.html][B]趋势与压力主图 源码[/B][/url]