「翔博精选指标」欢乐主升浪(通达信公式 副图 源码 测试图)
2021-10-29原创 编 辑:翔博软件
欢乐主升浪
使用说明:
1、指标来源网络,长期自用效果不错,现分享给战友。
2、代码可做选股公式,可盘中预警、盘后复盘
3、公式出票尽量结合均线系统低吸,不要追高,可提升成功率
4、赚钱不贪,作好止损止盈
5、指标出票建议结合资金量能热点板块等综合判断。
{欢乐主升浪}
VAR_1:=EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,18);
VAR_2:=1.06*VAR_1;
VAR_3:=MA(CLOSE,5);
VAR_4:=MA(CLOSE,10);
VAR_5:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
VAR_6:=CLOSE>REF(CLOSE,1)*1.098 AND CLOSE=HIGH;
VAR_7:=REF(COUNT(VAR_3>VAR_4,7)>=1 AND (VAR_3>REF(VAR_3,1) OR CLOSE>REF(CLOSE,1) OR CLOSE>OPEN),1) AND CROSS(CLOSE,VAR_3) AND CLOSE>VAR_2 AND VAR_3>REF(VAR_3,1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.015;
VAR_8:=MA(CLOSE,20);
VAR_9:=CLOSE>MA(CLOSE,5);
VAR_10:=MA(CLOSE,5)>MA(CLOSE,10);
VAR_11:=CLOSE>MA(CLOSE,10);
VAR_12:=MA(CLOSE,5)>MA(CLOSE,20);
VAR_13:=CLOSE>MA(CLOSE,20);
VAR_14:=REF(VAR_8,1);
VAR_15:=VAR_8>VAR_14;
VAR_16:=IF(VAR_9,10,0-10)+IF(VAR_10,10,0-10)+IF(VAR_11,10,0-10)+IF(VAR_12,10,0-10)+IF(VAR_13,10,0-10)+IF(VAR_15,10,0-10);
VAR_17:=REF(VAR_16,1)<=0 AND VAR_16>0;
VAR_18:=VAR_16>10 AND VAR_16>=REF(VAR_16,1) AND VAR_16>=REF(VAR_16,2);
VAR_19:=VAR_16=60;
VAR_20:=VAR_17 OR VAR_18 OR VAR_19;
VAR_21:=BARSLAST(NOT(VAR_19));
VAR_22:=COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.095,12);
VAR_23:=VAR_7 AND VAR_19=1 AND VAR_21=1 AND VAR_22;
VAR_24:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
VAR_25:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
VAR_26:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
VAR_27:=VAR_25 AND VAR_26;
VAR_28:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
VAR_29:=VAR_27 AND VAR_28;
VAR_30:=COUNT(REF(VAR_24,3),8) AND VAR_29;
VAR_31:=MA(CLOSE,20);
VAR_32:=CLOSE>MA(CLOSE,5);
VAR_33:=MA(CLOSE,5)>MA(CLOSE,10);
VAR_34:=CLOSE>MA(CLOSE,10);
VAR_35:=MA(CLOSE,5)>MA(CLOSE,20);
VAR_36:=CLOSE>MA(CLOSE,20);
VAR_37:=REF(VAR_31,1);
VAR_38:=VAR_31>VAR_37;
VAR_39:=IF(VAR_32,10,0-10)+IF(VAR_33,10,0-10)+IF(VAR_34,10,0-10)+IF(VAR_35,10,0-10)+IF(VAR_36,10,0-10)+IF(VAR_38,10,0-10);
VAR_40:=REF(VAR_39,1)<=0 AND VAR_39>0;
VAR_41:=VAR_39>10 AND VAR_39>=REF(VAR_39,1) AND VAR_39>=REF(VAR_39,2);
VAR_42:=VAR_39=60;
VAR_43:=VAR_40 OR VAR_41 OR VAR_42;
VAR_44:=BARSLAST(NOT(VAR_42));
VAR_45:=VAR_30 AND VAR_42=1 AND VAR_44=1;
VAR_46:=REF(CLOSE,7)/REF(CLOSE,8)>1.095 AND REF(CLOSE,7)>REF(OPEN,7);
VAR_47:=HIGH/REF(CLOSE,1)>1.031 AND BETWEEN(OPEN/REF(OPEN,7),1.05,0.85);
VAR_48:=REF(OPEN,1)>REF(MA(CLOSE,5),1) AND REF(CLOSE,1)<REF(MA(CLOSE,10),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,10),1);
VAR_49:=VAR_46 AND VAR_47 AND VAR_48;
VAR_50:=VAR_49 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND REF(OPEN,1)>REF(CLOSE,1);
VAR_51:=VAR_45 OR VAR_50;
VAR_52:=(MIN(CLOSE,OPEN)-LOW)/LOW*100;
VAR_53:=(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))/MIN(CLOSE,OPEN)*100;
VAR_54:=(HIGH-MAX(CLOSE,OPEN))/MAX(CLOSE,OPEN)*100;
VAR_55:=VAR_54>VAR_53 AND VAR_54>3 AND VAR_52<1 AND CLOSE>OPEN;
VAR_56:=120;
VAR_57:=MA(CLOSE,VAR_56);
VAR_58:=POW(CLOSE-VAR_57,2);
VAR_59:=MA(VAR_58,VAR_56);
VAR_60:=SQRT(VAR_59);
VAR_61:=VAR_57+2*VAR_60;
VAR_62:=VAR_57-2*VAR_60;
VAR_63:=REF(VAR_57,1);
VAR_64:=REF(VAR_61,1);
VAR_65:=REF(VAR_62,1);
VAR_66:=MA(CLOSE,7);
VAR_67:=MA(CLOSE,20);
VAR_68:=MA(CLOSE,30);
VAR_69:=MA(CLOSE,144);
VAR_70:=MA(CLOSE,8);
VAR_71:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR_72:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR_73:=(LOW-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR_74:=REF(CLOSE,1);
VAR_75:=IF((CLOSE-VAR_74)*100/VAR_74>=10-0.01*100/VAR_74,1,0);
VAR_76:=HIGH>=HHV(HIGH,20);
VAR_77:=VAR_76=1 AND BARSLAST(REF(VAR_76=1,1))>=2;
VAR_78:=COUNT(VAR_76,5)>=1;
VAR_79:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VAR_80:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR_79),0);
VAR_81:=MA(VAR_80,30);
VAR_82:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
VAR_83:=SUM(IF(CLOSE=REF(CLOSE,1),0,VAR_82),0);
VAR_84:=VAR_83;
VAR_85:=VAR_84>REF(HHV(VAR_84,30),1);
VAR_86:=VAR_80>VAR_81;
VAR_87:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR_88:=SMA(VAR_87,3,1);
VAR_89:=SMA(VAR_88,3,1);
VAR_90:=3*VAR_88-2*VAR_89;
VAR_91:=REF(VAR_75,1);
VAR_92:=COUNT(VAR_91,5)>=1;
VAR_93:=BARSLAST(CLOSE>1.099*REF(CLOSE,1));
VAR_94:=IF(CLOSE>REF(CLOSE,VAR_93),10,0);
VAR_95:=VOL>REF(VOL,1)*1.9;
VAR_96:=ATAN((MA(CLOSE,6)/REF(MA(CLOSE,6),1)-1)*100)*57.299999;
VAR_97:=OPEN<=REF(CLOSE,1) AND VAR_71<(-2);
VAR_98:=COUNT(VAR_97,2)>=1;
VAR_99:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)/REF(CLOSE,3)>1.095 AND OPEN>REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)/REF(OPEN,1)>1.03 AND REF(HIGH,1)/REF(CLOSE,2)>1.03);
VAR_100:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.909 AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(OPEN,2)>REF(CLOSE,3) AND REF(HIGH,1)/REF(OPEN,1)>1.03);
VAR_101:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(CLOSE,2)/REF(HIGH,1)>1.03 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)>1.05);
VAR_102:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,1));
VAR_103:=NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(HIGH,2)>REF(CLOSE,3) AND REF(LOW,2)<REF(OPEN,3) AND REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(OPEN,2)/REF(CLOSE,2)>1.05 AND OPEN/REF(LOW,2)<0.98);
VAR_104:=NOT(REF(CLOSE,1)/REF(CLOSE,2)<0.901 AND REF(CLOSE,1)=REF(LOW,1) AND REF(OPEN,2)/REF(CLOSE,3)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.96 AND REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND REF(OPEN,2)/REF(LOW,2)>1.05);
VAR_105:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(CLOSE,3)/REF(CLOSE,4)<0.901 AND REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,3)>REF(CLOSE,4) AND REF(CLOSE,3)<REF(OPEN,4) AND REF(OPEN,3)/REF(CLOSE,3)>1.05);
VAR_106:=NOT(REF(CLOSE,2)/REF(CLOSE,3)<0.901 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(HIGH,3)>REF(CLOSE,4) AND REF(LOW,3)<REF(LOW,4));
VAR_107:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(OPEN,4)>REF(CLOSE,5) AND REF(CLOSE,3)/REF(CLOSE,4)<0.91 AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,2)/REF(CLOSE,3)<0.98 AND REF(CLOSE,2)>REF(CLOSE,1));
VAR_108:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(OPEN,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)/REF(CLOSE,3)<0.91 AND REF(OPEN,1)<REF(CLOSE,2));
VAR_109:=NOT(REF(CLOSE,4)/REF(CLOSE,5)>1.099 AND REF(OPEN,4)<REF(MA(CLOSE,10),4) AND REF(HIGH,3)/REF(CLOSE,4)>1.03 AND REF(CLOSE,1)/REF(CLOSE,2)<0.95 AND CROSS(REF(MA(CLOSE,5),1),REF(MA(CLOSE,10),1)) AND OPEN/REF(OPEN,4)>1.03);
VAR_110:=NOT(REF(CLOSE,4)/REF(CLOSE,5)<1.099 AND REF(CLOSE,5)/REF(CLOSE,6)>1.099 AND REF(LOW,1)>REF(CLOSE,5) AND OPEN>REF(CLOSE,5) AND REF(CLOSE,1)/REF(CLOSE,2)>0.96);
VAR_111:=NOT(COUNT(EVERY(REF(CLOSE,1)/REF(CLOSE,2)>1.09,5),8) AND REF(CLOSE,2)/REF(CLOSE,3)>1.099 AND REF(HIGH,1)/REF(OPEN,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<0.91);
VAR_112:=VAR_92 AND VAR_71>2.5 AND REF(VAR_98,1) AND REF(VAR_71<2.4,1) AND VAR_68>0 AND VAR_99 AND VAR_100 AND VAR_101 AND VAR_102 AND VAR_103 AND VAR_104 AND VAR_105 AND VAR_106 AND VAR_107 AND VAR_108 AND VAR_109 AND VAR_110 AND VAR_111;
VAR_113:=REF(CLOSE,10)/REF(CLOSE,11)>1.099 AND OPEN/REF(OPEN,10)<1.03 AND REF(CLOSE,3)/REF(CLOSE,4)<0.95 AND REF(CLOSE,2)/REF(CLOSE,3)<1.02 AND REF(CLOSE,1)/REF(CLOSE,2)<1.01 AND HIGH/REF(CLOSE,1)>1.041;
VAR_114:=VAR_23 OR VAR_51 OR VAR_112 OR VAR_113;
欢乐主升浪:VAR_114 AND NOT(REF(VAR_114,1)),COLORRED,LINETHICK2;