‹ 返回

3816

3816 | 查看原文 ↗
🔧 核心通用·带A股选股过滤(核心可用 · 把'去ST/选板块/CODELIKE'那行删掉,美港马加都能跑)
周期:中线用途:进出都有(买卖点都标)🔻 有卖出信号→可反手做空(在加密/期货等可做空市场)
📊 把公式 3816 实时算进主散博弈(纯技术函数;选股/筹码特殊函数会标注不支持) 
🧩 这个指标拆开看 = 哪些"积木"组合的
★ 看主力(筹码 / 资金)
筹码/成本 COST·WINNER — ★算每股持仓成本分布,判主力建仓/获利盘/控盘度——票在谁手里
② 验量能(量价)
成交量/额 VOL — 量在价先——放量证实突破、缩量过滤假信号
搭条件的零件
HHV/LLV/REF 等 — 取区间最高最低、引用前N根——搭条件的零件
⚠️ A股专属(港股/美股/马股/加密都没有)
代码/板块/题材 — 按代码段、行业、概念、龙头筛选(A股特有)
去ST/风险股 — 剔除A股ST风险股
组合思路:先盯主力筹码/资金(票在谁手里),再用量能验证真假。把几件事叠在一起同时成立,才算一个'信号'——叠得越多看着越细,但也越容易过度拟合。 ⚠️ 这条含 A股专属逻辑(涨停板/龙虎榜/代码板块)——只有大陆A股有这制度,港股、美股、马股、加密统统没有,这部分搬不过去。 不过它的'根'在筹码/量价层——这套是普世的,港股美股马股加密都能算;尤其散户多、流通差的市场(如马股小盘、港股仙股)主力筹码更好使。和你的主散博弈/刘彩游龙同源。

指标公式

�嶯�ֱ�����ǻ�L2����.�÷�:���������,֦��ָ��.�嶯�ֱ�ָ������[�ֱʳɽ�].
�嶯�ֱ�����ǻ�L2����.�÷�:���������,֦��ָ��.�嶯�ֱ�ָ������[�ֱʳɽ�].
Դ˶:
����1:=askprice(1);
���1:=bidprice(1);
����1:=bidvol(1);
����1:=askvol(1);
����2:=askprice(2);
���2:=bidprice(2);
����2:=bidvol(2);
����2:=askvol(2);
����3:=askprice(3);
���3:=bidprice(3);
����3:=bidvol(3);
����3:=askvol(3);
BS:=intpart(2000/c+0.5);
NS:=IF(STRFIND(STKNAME,'N',1),0,1);
��ͣ:=if(NS>0 and c=dynainfo(54) and ί����1=0,1,0);
��ͣ:=if(NS>0 and c=dynainfo(55) and ί����1=0,1,0);
��ͣ��:=if(��ͣ>0 or ��ͣ>0,0,1);
��ͣ��:=if(��ͣ>0,vol,0);
��ͣ��:=if(��ͣ>0,vol,0);
������:=if(BARSTATUS=1 and DYNAINFO(4)>=DYNAINFO(3),vol,0);
������:=if(BARSTATUS=1 and DYNAINFO(4)<DYNAINFO(3),vol,0);
����0a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and BUYVOL<=(ref(����1,1)-����1),BUYVOL,0);
����0a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and BUYVOL>(ref(����1,1)-����1),ref(����1,1)-����1,0);
����0a:=IF(����0a>0,BUYVOL-����0a,0);
����0b:=if(CLOSE>=ref(���1,1) and CLOSE<REF(����1,1) and ���1>ref(���1,1) and BUYVOL<=ref(����1,1),BUYVOL,0);
����0b:=if(CLOSE>=ref(���1,1) and CLOSE<REF(����1,1) and ���1>ref(���1,1) and BUYVOL>ref(����1,1),ref(����1,1),0);
����0b:=IF(����0b>0,BUYVOL-����0b,0);
����1a:=IF(CLOSE=REF(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and BUYVOL<=(ref(����1,1)-����1),BUYVOL,0);
����1a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and BUYVOL>(ref(����1,1)-����1),ref(����1,1)-����1,0);
����1a:=IF(����1a>0,BUYVOL-����1a,0);
����1b:=IF(CLOSE>=REF(����1,1) and CLOSE<REF(����2,1) and ����1>ref(����1,1) and BUYVOL<=ref(����1,1),BUYVOL,0);
����1b:=if(CLOSE>=REF(����1,1) and CLOSE<REF(����2,1) and ����1>ref(����1,1) and BUYVOL>ref(����1,1),ref(����1,1),0);
����1b:=IF(����1b>0,BUYVOL-����1b,0);
����2a:=IF(CLOSE=REF(����2,1) and ����1=ref(����2,1) and REF(����2,1)>����1 and BUYVOL<=(REF(����1,1)+REF(����2,1)-����1),BUYVOL,0);
����2a:=IF(CLOSE=REF(����2,1) and ����1=ref(����2,1) and REF(����2,1)>����1 and BUYVOL>(REF(����1,1)+REF(����2,1)-����1),REF(����1,1)+REF(����2,1)-����1,0);
����2a:=IF(����2a>0,BUYVOL-����2a,0);
����2b:=IF(CLOSE>=REF(����2,1) AND CLOSE<REF(����3,1) and ����1>ref(����2,1) and BUYVOL<=(REF(����1,1)+REF(����2,1)),BUYVOL,0);
����2b:=IF(CLOSE>=REF(����2,1) AND CLOSE<REF(����3,1) and ����1>ref(����2,1) and BUYVOL>(REF(����1,1)+REF(����2,1)),REF(����1,1)+REF(����2,1),0);
����2b:=IF(����2b>0,BUYVOL-����2b,0);
����3a:=IF(CLOSE=REF(����3,1) and ����1=ref(����3,1) and REF(����3,1)>����1 and BUYVOL<=(REF(����1,1)+REF(����2,1)+REF(����3,1)-����1),BUYVOL,0);
����3a:=IF(CLOSE=REF(����3,1) and ����1=ref(����3,1) and REF(����3,1)>����1 and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)-����1),REF(����1,1)+REF(����2,1)+REF(����3,1)-����1,0);
����3a:=IF(����3a>0,BUYVOL-����3a,0);
����3b:=IF(CLOSE=REF(����3,1) and ����1>ref(����3,1) and BUYVOL<=(REF(����1,1)+REF(����2,1)+REF(����3,1)),BUYVOL,0);
����3b:=IF(CLOSE=REF(����3,1) and ����1>ref(����3,1) and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),REF(����1,1)+REF(����2,1)+REF(����3,1),0);
����3b:=IF(����3b>0,BUYVOL-����3b,0);
����4a:=IF(REF(����3,1)>0 AND CLOSE>REF(����3,1) and BUYVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),BUYVOL,0);
����:=����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b+����4a;
����:=if(��ͣ��>0,if(����>0,����,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b),0);
����:=if(��ͣ��>0,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b,0);
����0a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and SELLVOL<=ref(����1,1)-����1,SELLVOL,0);
����0a:=if(CLOSE=ref(����1,1) and ����1=ref(����1,1) and ref(����1,1)>����1 and SELLVOL>ref(����1,1)-����1,ref(����1,1)-����1,0);
����0a:=IF(����0a>0,SELLVOL-����0a,0);
����0b:=if(CLOSE<=ref(����1,1) and CLOSE>ref(���1,1) and ����1<ref(����1,1) and SELLVOl<=ref(����1,1),SELLVOl,0);
����0b:=if(CLOSE<=ref(����1,1) and CLOSE>ref(���1,1) and ����1<ref(����1,1) and SELLVOl>ref(����1,1),ref(����1,1),0);
����0b:=IF(����0b>0,SELLVOL-����0b,0);
����1a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and SELLVOl<=ref(����1,1)-����1,SELLVOl,0);
����1a:=if(CLOSE=ref(���1,1) and ���1=ref(���1,1) and ref(����1,1)>����1 and SELLVOl>ref(����1,1)-����1,ref(����1,1)-����1,0);
����1a:=IF(����1a>0,SELLVOL-����1a,0);
����1b:=if(CLOSE<=ref(���1,1) and CLOSE>REF(���2,1) and ���1<ref(���1,1) and SELLVOl<=ref(����1,1),SELLVOl,0);
����1b:=if(CLOSE<=ref(���1,1) and CLOSE>REF(���2,1) and ���1<ref(���1,1) and SELLVOl>ref(����1,1),ref(����1,1),0);
����1b:=IF(����1b>0,SELLVOL-����1b,0);
����2a:=if(CLOSE=ref(���2,1) and ���1=ref(���2,1) and ref(����2,1)>����1 and SELLVOl<=(ref(����1,1)+REF(����2,1)-����1),SELLVOl,0);
����2a:=if(CLOSE=ref(���2,1) and ���1=ref(���2,1) and ref(����2,1)>����1 and SELLVOl>(ref(����1,1)+REF(����2,1)-����1),ref(����1,1)+REF(����2,1)-����1,0);
����2a:=IF(����2a>0,SELLVOL-����2a,0);
����2b:=if(CLOSE<=ref(���2,1) and CLOSE>REF(���3,1) and ���1<ref(���2,1) and SELLVOl<=(ref(����1,1)+REF(����2,1)),SELLVOl,0);
����2b:=if(CLOSE<=ref(���2,1) and CLOSE>REF(���3,1) and ���1<ref(���2,1) and SELLVOl>(ref(����1,1)+REF(����2,1)),ref(����1,1)+REF(����2,1),0);
����2b:=IF(����2b>0,SELLVOL-����2b,0);
����3a:=if(CLOSE=ref(���3,1) and ���1=ref(���3,1) and ref(����3,1)>����1 and SELLVOl<=(ref(����1,1)+REF(����2,1)+REF(����3,1)-����1),SELLVOl,0);
����3a:=if(CLOSE=ref(���3,1) and ���1=ref(���3,1) and ref(����3,1)>����1 and SELLVOl>(ref(����1,1)+REF(����2,1)+REF(����3,1)-����1),ref(����1,1)+REF(����2,1)+REF(����3,1)-����1,0);
����3a:=IF(����3a>0,SELLVOL-����3a,0);
����3b:=if(CLOSE=ref(���3,1) and ���1<ref(���3,1) and SELLVOl<=(ref(����1,1)+REF(����2,1)+REF(����3,1)),SELLVOl,0);
����3b:=if(CLOSE=ref(���3,1) and ���1<ref(���3,1) and SELLVOl>(ref(����1,1)+REF(����2,1)+REF(����3,1)),ref(����1,1)+REF(����2,1)+REF(����3,1),0);
����3b:=IF(����3b>0,SELLVOL-����3b,0);
����4a:=IF(REF(���3,1)>0 and CLOSE<REF(���3,1) and SELLVOL>(REF(����1,1)+REF(����2,1)+REF(����3,1)),SELLVOL,0);
����:=����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b+����4a;
����:=if(��ͣ��>0,if(����>0,����,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b),0);
����:=if(��ͣ��>0,����0a+����0b+����1a+����1b+����2a+����2b+����3a+����3b,0);
������:=if(������>=BS,������,0);
����ͣ��:=if(��ͣ��>=BS,��ͣ��,0);
����:=if(����>=BS,����,0);
������:=if(����>=BS,����,0);
������:=if(������>=BS,������,0);
���ͣ��:=if(��ͣ��>=BS,��ͣ��,0);
������:=if(����>=BS,����,0);
������:=if(����>=BS,����,0);
������:=������+����ͣ��+����+������;
��������:=������+���ͣ��+������+������;
������:sum(������,0);
������:sum(��������,0);
������:������-������;
����:(������/capital)*100;
�õú�!�ǵø������.ף��������!
  ���޴����� 0��һ��ʽ�� �����˶�Ҫ��ѡ�ɣ�Դ�� ��ͼ�� ��һ��ʽ�������ܼ�����ͼָ�� Դ�룩��ʲô���⣿�����ǽ��������ö��������|�����Ƽ�|�������� ͨ����423ͨ���š����������ͼ/ѡ�� ���ɱض��ϴ�5 ��׼��׽ǿ�ƹ� ��������ʦ��Ʒ Դ�� ��ͼ�������︱ͼ���������ָ���õ�COST��������ϲ���¡�ʹ�÷���˵�����������ж�ֱ��...�����������