股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网同花顺公式 → 正文

真实换手率、虚拟换手率

发布时间:2023/12/17 14:17:59  浏览次数:
真实换手率、虚拟换手率

//VAR3:=IF(STRLEFT(CODE,2)==60,ZYLTGB,IF(STRLEFT(CODE,2)==68,ZYLTGB,IF(STRLEFT(CODE,2)==00 AND MARKETTYPE==32,ZYLTGB,
//IF(STRLEFT(CODE,2)==30,ZYLTGB,IF(STRLEFT(CODE,2)==43 AND MARKETTYPE==144,SHGZG,
//IF(STRLEFT(CODE,2)==83 AND MARKETTYPE==144,SHGZG,IF(STRLEFT(CODE,2)==87 AND MARKETTYPE==144,SHGZG,VOL)))))));
VAR3:=IF(ZYLTGB>0,ZYLTGB,IF(SHGZG>0,SHGZG,VOL));
换手Z:=IF(VAR3==VOL,VOL,VOL/VAR3*100);
真实换手率:换手Z,COLOR3232FF,NODRAW;
TOTAL:=IF(PERIODNAME=='5分钟',5,IF(PERIODNAME=='15分钟',15,IF(PERIODNAME=='30分钟',30,
IF(PERIODNAME=='60分钟',60,IF(PERIODNAME=='日线',240,1)))));
MTIME:=MOD(IF(FROMOPEN==241 OR FROMOPEN==NULL OR FROMOPEN==1,240,FROMOPEN),TOTAL);
CTIME:=IF(MTIME<1,TOTAL,MTIME);
GS:=SUMBARS(DATE!=REF(DATE,1),1);
VAR0:=PERIODNAME=='5分钟'OR PERIODNAME=='15分钟' OR PERIODNAME=='30分钟' OR PERIODNAME=='60分钟' OR PERIODNAME=='日线';
VAR1:=HHV(VOL*IF(FROMOPEN>1 AND FROMOPEN<16,1.3,2),250);
VVOL:=IF(ISLASTBAR,IF(VAR0==1,VOL*TOTAL/CTIME,VOL),VOL);
VAR2:=MIN(VAR1,VVOL);
VAR4:=MIN(VAR2,VAR3);
虚拟换手率:IF(VAR3==VOL,VVOL,
IF(ISLASTBAR,IF(VAR0==1,VAR4/VAR3*100,VVOL/VAR3*100),NULL)),COLORC0C0C0;
STICKLINE(ISLASTBAR AND PERIODNAME=='日线',换手Z,虚拟换手率,8,1),COLORC0C0C0;
STICKLINE(CLOSE>=OPEN,0,换手Z,8,1),COLOR3232FF;
STICKLINE(CLOSE< OPEN,0,换手Z,8,0),COLOR008000;
STICKLINE(CLOSE>=OPEN AND 换手Z>=15 AND 换手Z<=101 AND PERIODNAME=='日线',0,换手Z,8,1),COLOR2080FF;
STICKLINE(CLOSE< OPEN AND 换手Z>=15 AND 换手Z<=101 AND PERIODNAME=='日线',0,换手Z,8,0),COLOR2080FF;
//涨停标识
market = IF(STRLEFT(CODE, 2) == 60, "主板", "其他");
market = IF(STRLEFT(CODE, 2) == 00 AND MARKETTYPE==32 AND market == "其他", "主板", market);
market = IF(STRLEFT(CODE, 2) == 30 AND market == "其他", "创业板", market);
market = IF(STRLEFT(CODE, 2) == 68 AND market == "其他", "科创版", market);
market = IF(STRLEFT(CODE, 2) == 83 AND market == "其他", "北京A股", market);
market = IF(STRLEFT(CODE, 2) == 87 AND market == "其他", "北京A股", market);
market = IF(STRLEFT(CODE, 2) == 43 AND market == "其他", "北京A股", market);
is_ST = IF(STRLEFT(ZQMC, 2) == "ST" OR STRLEFT(ZQMC, 3) == "*ST" OR STRLEFT(ZQMC, 5) == "XD*ST", TRUE, FALSE);
rate = IF(market=="主板" AND is_ST==FALSE, 0.1, 9999);
rate = IF(market=="主板" AND is_ST==TRUE, 0.05, rate);
rate = IF(market=="创业板" AND DATE>=20200823, 0.2, rate);
rate = IF(market=="创业板" AND DATE<20200823, 0.1, rate);
rate = IF(market=="科创版", 0.2, rate);
rate = IF(market=="北京A股", 0.3, rate);
max_price1 = FLOOR((C-REF(C,1))*100+0.5);
max_price2 = FLOOR(REF(C,1)*rate*100);
is_zhangting = IF(PERIODNAME=='日线' AND max_price1 >= max_price2, TRUE, FALSE);
STICKLINE(is_zhangting, 换手Z*0.65, 换手Z, 8, 0),color00FFFF;


真实换手率、虚拟换手率

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.