软件名称:[B]【自由副图】副图 源码 贴图 不错的通道公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2012-10-05 00:41:02
软件简介:
【自由副图】改了一句,金昌九老师的指标
ZSC:="05引.cl#day";
ZSO:="05引.ol#day";
ZSH:="05引.hl#day";
ZSL:="05引.ll#day";
{股票的k线}
STICKLINE(ZSC>ZSO,ZSO,ZSH,0.5 ,0 ),COLOR0000FF;
STICKLINE(ZSO>=ZSC,ZSO,ZSH,0.5 ,0 ),COLOR00FF00;
STICKLINE((ZSC <= ZSO),ZSC,ZSO,8,0),color004400;
STICKLINE((ZSC <= ZSO),ZSC,ZSO,7,0),color006600;
STICKLINE((ZSC <= ZSO),ZSC,ZSO,5,0),color008800;
STICKLINE((ZSC <= ZSO),ZSC,ZSO,3,0),COLOR00BB00;
STICKLINE((ZSC <= ZSO),ZSC,ZSO,1,0),COLOR00FF00;
STICKLINE(ZSC>ZSO,ZSC,ZSO,8,0) ,COLOR000044;
STICKLINE(ZSC>ZSO,ZSC,ZSO,7,0) ,COLOR000066;
STICKLINE(ZSC>ZSO,ZSC,ZSO,5,0) ,COLOR000088;
STICKLINE(ZSC>ZSO,ZSC,ZSO,3,0) ,COLOR0000BB;
STICKLINE(ZSC>ZSO,ZSC,ZSO,1,0) ,COLOR0000FF;
收盘:ZSC,LINETHICK0,COLORFFFFCC;
开盘:ZSO,LINETHICK0,Color9DFFFF;
最高:ZSH,LINETHICK0,ColorABFF46;
最低:ZSL,LINETHICK0,COLORFFAA66;
{红股.绿币的趋势线}
{MA5}
重心:WMA((2*ZSC+ZSH+ZSL)/4,2),COLOR00FFFF,LINETHICK0;
MA5:WMA(重心,5),COLOR00FF00,DOTLINE;
PARTLINE(MA5 ,(MA5>REF(MA5,1)),rgb(255,180,0) ),linethick3,LAYER0;
{.吸入抛出}
Var6:=(2*ZSC+ZSH+ZSL)/4;
Var8:=LLV(ZSL,34);
VarA:=HHV(ZSH,34);
BM:=EMA((Var6-Var8)/(VarA-Var8)*100,3);
BM1:=EMA(BM,3);
AA:=BM-BM1>=-0.01;
BB:=BM-BM1<-0.01;
drawbmp(CROSS(AA,BB),(ZSL*0.99),'BU.bmp'),align1,valign0,LAYER0;
drawbmp(CROSS(BB,AA),(ZSH*1.02),'SE.bmp'),align1,valign0,LAYER0;
{乖离止盈止损}
DRAWTEXTABS(30,30,'【乖离红卖绿买】'),LINETHICK3,Color00FF00;
M20:=MA(ZSC,18);
乖离20:=ABS((2*ZSC+ZSH+ZSL)/4-M20)/M20;
乖离线:=DMA(ZSC,乖离20);
PARTLINE(乖离线 ,(乖离线>REF(乖离线,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),DOTLINE,LAYER0;
止盈:乖离线*1.06,COLOR00ffff,LINETHICK1; {20天均线乖离+6%}
止损:乖离线*0.94,COLOR00ff00,LINETHICK1; {20天均线乖离-6%}
止盈*1.05,COLOR0077ff;
止损*0.95,COLORff9900;
FILLRGN(止盈,乖离线,止盈>乖离线,RGB(0,0,160)),LAYER7;
FILLRGN(乖离线,止损,乖离线>止损,RGB(50,50,50)),LAYER7;
FILLRGN(止盈,止盈*1.05,止盈<止盈*1.05,RGB(80,0,80)),LAYER7;
FILLRGN(止损,止损*0.95,止损>止损*0.95,RGB(0,60,0)),LAYER7;
[url=http://www.70822.com/soft/sort013/sort03/down-53456.html]【自由副图】副图 源码 贴图 不错的通道公式[/url]