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

软件名称:[B]涨跌停变色2个公式分享源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2020-08-27 00:14:10
软件简介:

 公式1

{涨跌停显示}
BK:=IF(INBLOCK('创业板'),0.2,IF(INBLOCK('科创板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
BF:=IF(DATE<=1200823,1,0);
STICKLINE((C=ZTPRICE(REF(C,1),BK) AND C=H),C,O,1.5,0),COLORYELLOW;
STICKLINE((C=DTPRICE(REF(C,1),BK) AND C=L),C,O,-1,0),COLORGREEN;
STICKLINE((C>=ZTPRICE(REF(C,1),0.1) AND C=H) AND BF=1,C,O,1.5,0),COLORYELLOW;
STICKLINE((C<=DTPRICE(REF(C,1),0.1) AND C=L) AND BF=1,C,O,-1,0),COLORGREEN;
STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND BF=1),H,MAX(C,O),0.1,0),COLORMAGENTA;
STICKLINE((L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND BF=1),L,MIN(C,O),0.1,0),COLORGREEN;
 
 
公式2
涨板:=IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
C>=ZTPRICE(REF(C,1),0.05) AND C=H AND H>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
C>=ZTPRICE(REF(C,1),0.20) AND C=H AND H>0,
C>=ZTPRICE(REF(C,1),0.10) AND C=H AND H>0));
跌板:=IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
C<=DTPRICE(REF(C,1),0.05) AND C=L AND L>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
C<=DTPRICE(REF(C,1),0.20) AND C=L AND L>0,
C<=DTPRICE(REF(C,1),0.10) AND C=L AND L>0));
DRAWKLINE(H,O,L,C);
STICKLINE(涨板,O,C,3.0,0),COLOR0099FF;
STICKLINE(涨板,O,C,2.0,0),COLOR33BBFF;
STICKLINE(涨板,O,C,0.5,0),COLOR55DDFF;
STICKLINE(涨板,O,C,0.0,0),COLOR99FFFF;
STICKLINE(跌板,O,C,3.0,0),COLOR00AA00;
STICKLINE(跌板,O,C,2.0,0),COLOR00CC00;
STICKLINE(跌板,O,C,0.5,0),COLOR00EE00;
STICKLINE(跌板,O,C,0.0,0),COLOR00FF00;
 

[url=http://www.70822.com/soft/sort013/sort05/down-150228.html]涨跌停变色2个公式分享源码[/url]

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