szwzs 发表于 2022-1-30 15:48

涨停潮选股公式

涨停潮选股公式源码,文本不让上传
HJ_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
HJ_2:=(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)*100;
HJ_3:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100;
HJ_4:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
HJ_5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
HJ_6:=(CLOSE-REF(CLOSE,6))/REF(CLOSE,6)*100;
HJ_7:=(CLOSE-REF(CLOSE,7))/REF(CLOSE,7)*100;
HJ_8:=(CLOSE-REF(CLOSE,8))/REF(CLOSE,8)*100;
HJ_9:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)*100;
HJ_10:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10)*100;
HJ_11:=(CLOSE-REF(CLOSE,11))/REF(CLOSE,11)*100;
HJ_12:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
HJ_13:=(CLOSE-REF(CLOSE,13))/REF(CLOSE,13)*100;
HJ_14:=(CLOSE-REF(CLOSE,14))/REF(CLOSE,14)*100;
HJ_15:=(CLOSE-REF(CLOSE,15))/REF(CLOSE,15)*100;
HJ_16:=(CLOSE-REF(CLOSE,16))/REF(CLOSE,16)*100;
HJ_17:=(CLOSE-REF(CLOSE,17))/REF(CLOSE,17)*100;
HJ_18:=(CLOSE-REF(CLOSE,18))/REF(CLOSE,18)*100;
HJ_19:=(CLOSE-REF(CLOSE,19))/REF(CLOSE,19)*100;
HJ_20:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20)*100;
HJ_21:=HJ_1+HJ_2+HJ_3+HJ_4+HJ_5;
HJ_22:=HJ_1+HJ_2+HJ_3+HJ_4+HJ_5+HJ_6+HJ_7+HJ_8+HJ_9+HJ_10;
HJ_23:=HJ_1+HJ_2+HJ_3+HJ_4+HJ_5+HJ_6+HJ_7+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*PERIOD),PERIOD)+2*STD(HJ_40-REF(HJ_40,3*PERIOD),PERIOD);
HJ_46:=REF(HHV(HJ_38,5),1);
HJ_47:=REF(HHV(HJ_38,5),6);
HJ_48:=REF(HHV(HJ_38,5),11);
HJ_49:=REF(HHV(HJ_38,5),16);
HJ_50:=REF(HHV(HJ_38,5),21);
HJ_51:=REF(HHV(HJ_38,5),26);
HJ_52:=IF(HJ_46<REF(MAX(HJ_47,HJ_48),BARSLAST(CROSS(HJ_38,MAX(HJ_47,HJ_48)))),REF(MAX(HJ_47,HJ_48),BARSLAST(CROSS(HJ_38,MAX(HJ_47,HJ_48)))),HJ_46);
HJ_53:=MA(HJ_35-REF(HJ_35,PERIOD),5*PERIOD)+2*STD(HJ_35-REF(HJ_35,PERIOD),5*PERIOD);
HJ_54:=REF(HHV(HJ_34,5),1);
HJ_55:=REF(HHV(HJ_34,5),6);
HJ_56:=REF(HHV(HJ_34,5),11);
HJ_57:=REF(HHV(HJ_34,5),16);
HJ_58:=REF(HHV(HJ_34,5),21);
HJ_59:=REF(HHV(HJ_34,5),26);
HJ_60:=IF(HJ_54<HJ_55,HJ_55,IF(HJ_55<HJ_56,HJ_56,IF(HJ_56<HJ_57,HJ_57,MAX(HJ_58,HJ_59))));
HJ_61:=IF(CROSS(HJ_34,HJ_60) AND REF(EXIST(CROSS(HJ_34,HJ_60),5),1),HJ_34,HJ_60);
HJ_62:=HHV(HJ_61,5);
HJ_63:=IF(HJ_62<REF(HJ_62,BARSLAST(CROSS(HJ_34,HJ_62))),REF(HJ_62,BARSLAST(CROSS(HJ_34,HJ_62))),HJ_62);
HJ_64:=IF(HJ_54<REF(MAX(HJ_55,HJ_56),BARSLAST(CROSS(HJ_32,MAX(HJ_55,HJ_56)))),REF(MAX(HJ_55,HJ_56),BARSLAST(CROSS(HJ_32,MAX(HJ_55,HJ_56)))),HJ_54);
HJ_65:=REF(HHV(HJ_41,5),1);
HJ_66:=REF(HHV(HJ_41,5),6);
HJ_67:=REF(HHV(HJ_41,5),11);
HJ_68:=REF(HHV(HJ_41,5),16);
HJ_69:=REF(HHV(HJ_41,5),21);
HJ_70:=REF(HHV(HJ_41,5),26);
HJ_71:=IF(HJ_65<HJ_66,HJ_66,IF(HJ_66<HJ_67,HJ_67,IF(HJ_67<HJ_68,HJ_68,MAX(HJ_69,HJ_70))));
HJ_72:=IF(HJ_65<REF(MAX(HJ_66,HJ_67),BARSLAST(CROSS(HJ_41,MAX(HJ_66,HJ_67)))),REF(MAX(HJ_66,HJ_67),BARSLAST(CROSS(HJ_41,MAX(HJ_66,HJ_67)))),HJ_65);
XGD:CROSS(HJ_33,100) AND HJ_41>HJ_72 AND HJ_38>HJ_52 AND HJ_39>HJ_52 AND HJ_40>HJ_52 AND BARSLAST(HJ_30>9)<30;


股友量 发表于 2022-8-12 02:18


努力攒够了 梦想就开花谢谢发帖分享的你!

股友量 发表于 2022-2-23 00:25

努力攒够了 梦想就开花

空虚静 发表于 2022-1-31 15:28

努力攒够了 梦想就开花

悟空 发表于 2022-1-30 17:55

谢谢楼主分享

西南的狼 发表于 2022-1-30 22:01

谢谢楼主分享。。。。。。。

fanggl 发表于 2022-1-30 23:30

谢谢楼主分享

hfzhou 发表于 2022-1-31 06:55

谢谢楼主分享

李平西 发表于 2022-1-31 09:50

:):):):):):)

空虚静 发表于 2022-1-31 15:20

努力攒够了 梦想就开花

李平西 发表于 2022-2-1 09:56

:):):):):):):)

184696009 发表于 2022-2-1 11:44

谢谢发帖分享的你!

李平西 发表于 2022-2-1 18:39

:):):):):):)

s33060993s 发表于 2022-2-1 21:17

好好学习天天向上

沈建福 发表于 2022-2-2 07:39

学习学习再学习!

184696009 发表于 2022-2-2 08:06

谢谢发帖分享的你!

李平西 发表于 2022-2-2 10:09

:):):):):):)
页: [1] 2
查看完整版本: 涨停潮选股公式