分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]黄金分割主图原码贴图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2014-09-28 05:26:33
软件简介:

自动移动光标可以显示时间周期

Var1:=SYSPARAM(3)-SYSPARAM(2)+1;
Var2:=SYSPARAM(3)-BARPOS;
Var3:=HHV(HIGH,Var1);
Var4:=LLV(LOW,VaR1);
Var5:=REFX(Var3,Var2);              //主图最高价
Var5:IF(SYSPARAM(3)<>SYSPARAM(1),SYSPARAM(6),Var5),COLOR0000FF;
Var6:REFX(Var4,Var2),COLOR0000FF;  //主图最低价
黄191:(Var5-Var6)*0.191+Var6,COLOR0000FF,POINTDOT;
黄382:(Var5-Var6)*0.382+Var6,COLOR0000FF,POINTDOT;
黄500:(Var5-Var6)*0.500+Var6,COLOR0000FF;
黄618:(Var5-Var6)*0.618+Var6,COLOR0000FF,POINTDOT;
黄809:(Var5-Var6)*0.809+Var6,COLOR0000FF,POINTDOT;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.0381+Var6,'最低价('+NUMTOSTR(Var6,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.191+Var6,'黄金0.191('+NUMTOSTR(黄191,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.382+Var6,'黄金0.382('+NUMTOSTR(黄382,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.500+Var6,'黄金分割中轴('+NUMTOSTR(黄500,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.618+Var6,'黄金0.618('+NUMTOSTR(黄618,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.809+Var6,'黄金0.809('+NUMTOSTR(黄809,2)+')'),COLOR00FF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,(Var5-Var6)*0.981+Var6,'最高价('+NUMTOSTR(Var5,2)+')'),COLOR00FF00;

//黄金分割线──时间
data1:=1+SYSPARAM(1)-1;
data21:=21+SYSPARAM(1)-1;
data34:=34+SYSPARAM(1)-1;
data55:=55+SYSPARAM(1)-1;
data89:=89+SYSPARAM(1)-1;
data144:=144+SYSPARAM(1)-1;
VERTLINE(ROUND(data1)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data21)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data34)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data55)=BARPOS),COLOR0000FF;
VERTLINE(ROUND(data89)=BARPOS),COLOR0000FF,POINTDOT;
VERTLINE(ROUND(data144)=BARPOS),COLOR0000FF,POINTDOT;
DRAWTEXT(ROUND(data1)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'1'),COLOR0000FF;
DRAWTEXT(ROUND(data21)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'21'),COLOR0000FF;
DRAWTEXT(ROUND(data34)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'34'),COLOR0000FF;
DRAWTEXT(ROUND(data55)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'55'),COLOR0000FF;
DRAWTEXT(ROUND(data89)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'89'),COLOR0000FF;
DRAWTEXT(ROUND(data144)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,'144'),COLOR0000FF;
DRAWTEXT(SYSPARAM(3)-3=BARPOS AND SYSPARAM(3)<>SYSPARAM(1),黄500*0.99,NUMTOSTR(SYSPARAM(3)-SYSPARAM(1)+1,0)),COLOR0000FF;

[url=http://www.70822.com/soft/sort013/sort02/down-76502.html]黄金分割主图原码贴图[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒