软件名称:[B]千均老师帮美人做的排序[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-10-05 16:21:01
软件简介:
千均老师帮美人做的排序
r:=DYNAINFO(3);q:=datacount;
hh:=DYNAINFO(5);
LL:=DYNAINFO(6);
f:=max(hh-r,r-LL);
q1:=r-f*1.01;//主图下边线
q2:=r-2*f*1.0125;//副图1下边线(0位线)
{q3:=r-3*f*1.014;}//副图2下边线(0位线)
{有了Q1、Q2、Q3,叠加副图指标也就容易了}
{在副图1叠加RSI}
LOWV:=LLV(C,15);
HIGHV:=HHV(C,15);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(rsv,3);
D:=MA(K,3);
中趋势线:=3*SMA((C-LLV(C,27))/(HHV(C,27)-LLV(C,27))*100,5,1)-2*SMA(SMA((C-LLV(C,27))/(HHV(C,27)-LLV(C,27))*100,5,1),3,1);
长趋势线:=3*SMA((C-LLV(C,55))/(HHV(C,55)-LLV(C,55))*100,5,1)-2*SMA(SMA((C-LLV(C,55))/(HHV(C,55)-LLV(C,55))*100,5,1),3,1);
stickline(长趋势线>=90,q1,q2,10,0),COLORMAGENTA;
stickline(长趋势线<=10,q2,q1,10,0),COLORCYAN;
stickline(中趋势线>=90,q1,q2,10,0),colorred;
stickline(中趋势线<=10,q1,q2,10,0),colorblue;
a1:=BARSLAST(REF(CROSS(k,d),1));
b1:=REF(DYNAINFO( 7),a1+1)>DYNAINFO( 7) AND REF(K,a1+1)<K AND CROSS(k,d) AND k<30;
c1:=BARSLAST(REF(CROSS(d,k),1));
d1:=REF(DYNAINFO( 7),c1+1)<DYNAINFO( 7) AND REF(K,c1+1)>K AND CROSS(d,k) AND k>70;
红:=if(中趋势线>=90,q1,0);
蓝:=if(中趋势线<=10,q1,0);
GB:=SYSPARAM(1);
ZH:=BARSCOUNT(C)+1;
bb:=q-GB+1;
前红柱:SUM(红,0),LINETHICK0,COLORRED;
HGS:=COUNT(中趋势线>=90,0),LINETHICK0;
ZHZ:=STRTONUM(NUMTOSTR(前红柱,2)),LINETHICK0;
ZHGS:=STRTONUM(NUMTOSTR(HGS,0)),LINETHICK0;
后红柱:ZHZ-前红柱,LINETHICK0,COLORAA99EE;
STICKLINE(ZH>GB,q2,q2+(后红柱/(ZHGS-HGS+1)),10,0),COLOR0000FF;//(光标后红柱/(ZHGS-HGS+1))
前红柱排序:100*(前红柱/FINANCE( 7));
[url=http://www.70822.com/soft/sort013/sort02/down-13179.html]千均老师帮美人做的排序[/url]