软件名称:[B]【判势】[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-03-12 10:13:17
软件简介:
{【判势】----作者:AHFYXL}
{-----------------------☆功能开关------------------------}
{短线猎击}
GB_1:=TROUGHBARS(3,5,1); GB_2:=DATACOUNT-GB_1[DATACOUNT];
GB_3:=BACKSET(BARPOS=GB_2,3); GB_4:=IF(BARPOS=GB_2,REF(hhv(H*GB_3,3),1),0);
GB_5:=ref(GB_4,BARSLAST(BARPOS=GB_2)); GB_6:=(H=GB_5[DATACOUNT])*GB_3;
GB_7:=REF(H,BARSLAST(GB_6)); GB_8:=FILTER(CROSS(C,GB_7),5) and ma(c,3)>ref(ma(c,3),1);
{趋势一}
转:=ZIG(4,5),LINETHICK; H_1:=PEAK(4,5,1)<PEAK(4,5,2)&&PEAK(4,5,3)<PEAK(4,5,2);
H_2:=BACKSET(H_1,PEAKBARS(4,5,2)); H_3:=BACKSET(H_1,PEAKBARS(4,5,1));
H_4:=LINEVALUE(H_2<REFX(H_2,1),H,H_3<REFX(H_3,1),H,0,0);
H_5:=REFX(H_4,1)-H_4; H_6:=转=H_4 and H_2<REFX(H_2,1);
{趋势二}
L_1:=TROUGH(4,5,1)<TROUGH(4,5,2)&&TROUGH(4,5,3)<TROUGH(4,5,2);
L_2:=BACKSET(L_1,TROUGHBARS(4,5,2)); L_3:=BACKSET(L_1,TROUGHBARS(4,5,1));
L_4:=LINEVALUE(L_2<REFX(L_2,1),L,L_3>REFX(L_3,1),L,0,0);
L_5:=REFX(L_4,1)-L_4; L_6:=转=L_4&&L_2<REFX(L_2,1);
{明日撑压}
M_r1:=REF((H+L+C)/3,1); M_r2:=2*M_r1-REF(L,1); M_r3:=2*M_r1-REF(H,1);
M_r4:=M_r1-M_r3+M_r2; M_r5:=M_r1-M_r2+M_r3;
{K}
涨停:=(C-REF(C,1))/REF(C,1)*100>9.85;
{-----------------【图解模板】---------------------}
DRAWGBK((DATE > 0),COLORRGB(0,33,0),COLORRGB(0,33,0),1);
STICKLINE(H_6,H+(H-L)*0.5,L-(H-L)*0.5,0,0),LINEDOT,Color1DFF1F;//趋势一起点
STICKLINE(L_6,H+(H-L)*0.5,L-(H-L)*0.5,0,0),LINEDOT,COLORMAGENTA;//趋势二起点
{K}
KLINE(O,H,L,C,0);
STICKLINE(涨停,L,H,0,0),COLORRED; {涨停} STICKLINE(涨停,O,C,7,0),COLORRED;
{转向线}
PARTLINE(H_5<0 or L_5>0,转),LINEDOT,COLORWHITE;
{趋势}
趋势一:H_4,LINETHICK,PRECISION2,COLORYELLOW;
DRAWSL(H_6,H,H_5,0,3),COLORYELLOW;
DRAWICON(CROSS(C,H_4),L,8),PXDN10;
趋势二:L_4,LINETHICK,PRECISION2,COLORGREEN;
DRAWSL(L_6,L,L_5,0,3),COLORGREEN;
DRAWSL(L_6,L,0,0,3),COLORRED;
{短线猎击}
DRAWICON(GB_8,L,4),PXDN28,ALIGN;{突破买入信号}
DRAWNUMBER(GB_6,GB_7,GB_7,2),PXUP18,ALIGN2,ColorFFD8FF;{横线买入价}
PARTLINE(C,GB_7),LINETHICK2,ColorFF86FF;{突破横线}
{明日撑压}
DRAWTEXT(ISLASTBAR,M_r4+0.01,' ---'),COLORYELLOW;//阻力线1
DRAWTEXT(ISLASTBAR,M_r2+0.01,' ---'),Color00A3F5;//阻力线2
DRAWTEXT(ISLASTBAR,M_r1+0.01,' ---'),COLORRED; //牛熊分界线
DRAWTEXT(ISLASTBAR,M_r3+0.01,' ---'),COLORWHITE; //压力线
DRAWTEXT(ISLASTBAR,M_r5+0.01,' ---'),COLORGREEN; //支撑线1
//
[url=http://www.70822.com/soft/sort013/sort02/down-7289.html]【判势】[/url]