投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 公式问题
股市公式查询:

把钱袋子指标改成选股公式

2019/12/15 18:56:34

公式编写说明:

烦请老师帮忙把钱袋子指标改成选股公式,条件出现钱袋子。谢谢ZT:=C/REF(C,1)>1.097;ZTBPJ:=REF(C,BARSLAST(ZT)+1)*0.98;{涨停不破价}ZTBP:=BARSLAST(ZT)<30 AND (LLV(C,BARSLAST(ZT))>=ZTBPJ ORLLV(C,BARSLAST(ZT))=ZTBPJ);{涨停不破}STICKLINE(ZTBP,REF(C,BARSLAST(ZT)+1)-REF(C,BARSLAST(ZT)+1)*0.001,REF(C,BARSLAST(ZT)+1),1,0),COLORYELLOW; DRAWTEXT(ZT,L*0.98,'涨停'),COLORLIMAGENTA;不破价:=REF(L,BARSLAST(ZT));LS0:=BARSLAST(ZT);LS11:=IF(2,LS0=2,ZT);LS21:=IF(2,LLV(L,2)>REF(L,2),1);ZT不破2:=LS11 AND LS21;DRAWTEXT(ZT不破2,不破价-不破价*0.02,'3'),COLORGREEN;LS14:=IF(4,LS0=4,ZT);LS24:=IF(4,LLV(L,4)>REF(L,4),1);ZT不破4:=LS14 AND LS24;DRAWTEXT(ZT不破4,不破价-不破价*0.02,'5'),COLORGREEN;LS17:=IF(7,LS0=7,ZT);LS27:=IF(7,LLV(L,7)>REF(L,7),1);ZT不破7:=LS17 AND LS27;DRAWTEXT(ZT不破7,不破价-不破价*0.02,'8'),COLORGREEN;LS22:=IF(12,LS0=12,ZT);LS32:=IF(12,LLV(L,12)>REF(L,12),1);ZT不破12:=LS22 AND LS32;DRAWTEXT(ZT不破12,不破价-不破价*0.02,'13'),COLORGREEN;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);CZ:=REF(H,BH)-REF(L,BH);迫线:=C>O AND V>REF(V,1) AND L>REF(C,1) AND REF(ZT,1);小阳:=C>O AND V>REF(V,1) AND REF(ZT,1);起爆:=REF(HHV(V,8),1)/V>=1.97 AND REF(HHV(小阳,8),1) AND C>O;STICKLINE(ZT,REF(O,BH),REF(C,BH),2,0),COLORYELLOW;DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0;STICKLINE(迫线,O,C,2,0),COLORMAGENTA;DRAWTEXT(迫线,L*0.98,'迫'),COLORF00FF0;DRAWICON(小阳,LOW*0.995,25);DRAWTEXT(起爆,L*0.92,'爆'),COLORRED;O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;O2:EMA(O1,3),COLORFF00FF,LINETHICK1;O3:EMA(O2,3),COLOR00FF00,LINETHICK1;MMM:=MA(CLOSE,20);PEAK1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR21:=REF(PEAK1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR31:=REF(VAR21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR31,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND PEAK1;VAR1A:=REF(PEAK1 OR VAR21 OR VAR31 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00;DRAWICON(FILTER(VAR19=1,5),LOW*0.995,9);DRAWICON(FILTER(VAR1A=1,5),HIGH*1.008,0);DRAWICON(FILTER(VAR1A=1,5),HIGH*1.03,15);

公式源码回答:

 PEAK1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND PEAK1;
FILTER(VAR19=1,5);

投股票 网 ww w.tou18.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
ST花王 603007+2.52% 评股 实时DDX 大智慧 最新消息 题材分析 股权
虹软科技 688088+2.51% 评股 实时DDX 大智慧 最新消息 题材分析 股权
中国动力 600482+2.51% 评股 实时DDX 大智慧 最新消息 题材分析 股权
中牧股份 600195+2.51% 评股 实时DDX 大智慧 最新消息 题材分析 股权
沃尔核材 002130+2.51% 评股 实时DDX 大智慧 最新消息 题材分析 股权
顶点软件 603383+2.50% 评股 实时DDX 大智慧 最新消息 题材分析 股权
味知香 605089+2.49% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST平能 000780+2.49% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST银亿 000981+2.49% 评股 实时DDX 大智慧 最新消息 题材分析 股权
北方华创 002371+2.48% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120