‹ 返回

25553

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

指标公式

һ��“K������ģʽ”ת����“�̶���ѯģʽ”����“���ģʽ”�ķ���
 �Ա�Ѹ���ģ�ͷ���ͬһ������ڽ���ͼ�����򻯽���
 ������
 ���߽���ģ�ͣ�K������ģ�ͣ���
runmode:0;
 ma5:=ma(c,5);
 ma20:=ma(c,20);
 entertime:=time>100000 and time<144500;
 if holding>0 and ma5<ma20 then sell(1,1,market);
 if holding<0 and ma5>ma20 then sellshort(1,1,market);
 if holding=0 and ma5>ma20 and entertime then buy(1,1,market);
 if holding=0 and ma5<ma20 and entertime then buyshort(1,1,market);
 if time>=150000 then begin
 sell(1,1,market);
 sellshort(1,1,market);
 end
�򵥵ĸķ�����Ȼ�ǰѸ�������“��ȥ��”���磺ma5 ��Ϊ ref(ma(c,5),1);�����ַ����������͵ġ����ӵ�ģ��ʱ�����׳���
 �ɲ������ַ�������holding��ȫ�ֱ���cc�滻��Ȼ������ɫ���ִ��룬��ɫ���ִ���Ҫ�����ź�����ǰ�棺
runmode:0;
 variable:cc=0;
 ma5:=ma(c,5);
 ma20:=ma(c,20);
 entertime:=time>100000 and time<144500;
 if holding>0 and cc<=0 then sell(1,1,limitr,o);
 if holding<0 and cc>=0 then sellshort(1,1,limitr,o);
 if holding=0 and cc>0 then buy(1,1,limitr,o);
 if holding=0 and cc<0 then buyshort(1,1,limitr,o);
 if cc>0 and ma5<ma20 then cc:=0;
 if cc<0 and ma5>ma20 then cc:=0;
 if cc=0 and ma5>ma20 and entertime then cc:=1;
 if cc=0 and ma5<ma20 and entertime then cc:=-1;
 if time>=150000 then begin
 cc:=0;
 end
��ô������� K������ģʽ������ģʽ���棬��ô���أ�Ҳ�򵥣�������“���̼��µ����”���������ɫ���ֵ�“�����µ����”������
 ���£�
runmode:0;
 variable:zs=0,cc=0;
 ma5:=ma(c,5);
 ma20:=ma(c,20);
 entertime:=time>100000 and time<144500;
 if holding>0 and cc<=0 then sell(1,1,limitr,o);
 if holding<0 and cc>=0 then sellshort(1,1,limitr,o);
 if holding=0 and cc>0 then buy(1,1,limitr,o);
 if holding=0 and cc<0 then buyshort(1,1,limitr,o);
 if cc>0 and l<zs then begin
 sell(1,1,limitr,min(o,zs-0.6));
 cc:=0;
 end
 if cc<0 and h>zs then begin
 sellshort(1,1,limitr,max(o,zs+0.6));
 cc:=0;
 end
 if cc>0 and ma5<ma20 then cc:=0;
 if cc<0 and ma5>ma20 then cc:=0;
 if cc=0 and ma5>ma20 and entertime then begin
 cc:=1;
 zs:=c-10;
 end
 if cc=0 and ma5<ma20 and entertime then begin
 cc:=-1;
 zs:=c+10;
 end
 if time>=150000 then begin
 cc:=0;
 end
 ps:�ö������������ʲô���� ��Ҳ����˵�������õĽ�����  ���޴����� 0��һ��ʽ�� ͨ���Ŷ���������ͼָ�� ��һ��ʽ��ͨ���ž�׼��ʱT+0ָ���ʱ��ͼ ��ͼ��ʲô���⣿�����ǽ��������ö��������|�����Ƽ�|�������� ͨ����423ͨ���š����������ͼ/ѡ�� ���ɱض��ϴ�5 ��׼��׽ǿ�ƹ� ��������ʦ��Ʒ Դ�� ��ͼ�������︱ͼ���������ָ���õ�COST��������ϲ���¡�ʹ�÷���˵�����������ж�ֱ��...2025-09-11�����������