博易 布林趋势图 贴图 源码 用法
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-06-02 09:53:00
公式简介:
用布林线做趋势,红买绿卖,中轨止盈,大道至简
MID :MA(CLOSE,20),POINTDOT;
UPPER:MID + 2*STD(CLOSE,20),POINTDOT;
LOWER:MID - 2*STD(CLOSE,20),POINTDOT;
H2:=UPPER,COLOR007700,PRECIS2;
L2:=LOWER,COLOR770077,PRECIS2;
ST:REF(H<=H2,1) AND H>REF(H2,1)+0.01,LINETHICK0;
XT:REF(L>=L2,1) AND L<REF(L2,1)-0.01,LINETHICK0;
WST:BARSLAST(ST),LINETHICK0;
WXT:BARSLAST(XT),LINETHICK0;
PARTLINE(WST>WXT,H2),COLOR00FF00,LINETHICK1;
PARTLINE(WST<WXT,L2),COLOR0000FF,LINETHICK1;
DRAWKLINE(H,O,L,C);
UPQK:=LOW-REF(HIGH,1);
STICKLINE(CLOSE>REF(CLOSE,1) AND UPQK>0,REF(HIGH,1),LOW,15,1),COLORYELLOW;
DOWNQK:=REF(LOW,1)-HIGH;
STICKLINE(CLOSE<REF(CLOSE,1) AND DOWNQK>0,REF(LOW,1),HIGH,15,1),COLORGREEN;
TR2 := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR2 := MA(TR2,10);
STICKLINE((TR2>ATR2*1.8) AND (C <O),O,C,5,0),COLORFFFF00;
STICKLINE((TR2>ATR2*1.8) AND (C >O),O,C,5,0),COLORYELLOW;
[url=http://www.goodgupiao.com/gupiaogongshi/28933.html][B]博易 布林趋势图 贴图 源码 用法[/B][/url]