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38:=HJ_8-28HJ_10;
HJ_39:=HJ_8-29HJ_10;
HJ_40:=HJ_8-30HJ_10;
HJ_41:=HJ_8-31HJ_10;
HJ_42:=HJ_8-32HJ_10;
HJ_43:=HJ_8-33HJ_10;
HJ_44:=HJ_8-34HJ_10;
HJ_45:=HJ_8-35HJ_10;
HJ_46:=HJ_8-36HJ_10;
HJ_47:=HJ_8-37HJ_10;
HJ_48:=HJ_8-38HJ_10;
HJ_49:=HJ_8-39HJ_10;
HJ_50:=HJ_8-40HJ_10;
HJ_51:=HJ_8-41HJ_10;
HJ_52:=HJ_8-42HJ_10;
HJ_53:=HJ_8-43HJ_10;
HJ_54:=HJ_8-44HJ_10;
HJ_55:=HJ_8-45HJ_10;
HJ_56:=HJ_8-46HJ_10;
HJ_57:=HJ_8-47HJ_10;
HJ_58:=HJ_8-48HJ_10;
HJ_59:=HJ_8-49HJ_10;
HJ_60:=WINNER(HJ_8)100-WINNER(HJ_11)100;
HJ_61:=WINNER(HJ_11)100-WINNER(HJ_12)100;
HJ_62:=WINNER(HJ_12)100-WINNER(HJ_13)100;
HJ_63:=WINNER(HJ_13)100-WINNER(HJ_14)100;
HJ_64:=WINNER(HJ_14)100-WINNER(HJ_15)100;
HJ_65:=WINNER(HJ_15)100-WINNER(HJ_16)100;
HJ_66:=WINNER(HJ_16)100-WINNER(HJ_17)100;
HJ_67:=WINNER(HJ_17)100-WINNER(HJ_18)100;
HJ_68:=WINNER(HJ_18)100-WINNER(HJ_19)100;
HJ_69:=WINNER(HJ_19)100-WINNER(HJ_20)100;
HJ_70:=WINNER(HJ_20)100-WINNER(HJ_21)100;
HJ_71:=WINNER(HJ_21)100-WINNER(HJ_22)100;
HJ_72:=WINNER(HJ_22)100-WINNER(HJ_23)100;
HJ_73:=WINNER(HJ_23)100-WINNER(HJ_24)100;
HJ_74:=WINNER(HJ_24)100-WINNER(HJ_25)100;
HJ_75:=WINNER(HJ_25)100-WINNER(HJ_26)100;
HJ_76:=WINNER(HJ_26)100-WINNER(HJ_27)100;
HJ_77:=WINNER(HJ_27)100-WINNER(HJ_28)100;
HJ_78:=WINNER(HJ_28)100-WINNER(HJ_29)100;
HJ_79:=WINNER(HJ_29)100-WINNER(HJ_30)100;
HJ_80:=WINNER(HJ_30)100-WINNER(HJ_31)100;
HJ_81:=WINNER(HJ_31)100-WINNER(HJ_32)100;
HJ_82:=WINNER(HJ_32)100-WINNER(HJ_33)100;
HJ_83:=WINNER(HJ_33)100-WINNER(HJ_34)100;
HJ_84:=WINNER(HJ_34)100-WINNER(HJ_35)100;
HJ_85:=WINNER(HJ_35)100-WINNER(HJ_36)100;
HJ_86:=WINNER(HJ_36)100-WINNER(HJ_37)100;
HJ_87:=WINNER(HJ_37)100-WINNER(HJ_38)100;
HJ_88:=WINNER(HJ_38)100-WINNER(HJ_39)100;
HJ_89:=WINNER(HJ_39)100-WINNER(HJ_40)100;
HJ_90:=WINNER(HJ_40)100-WINNER(HJ_41)100;
HJ_91:=WINNER(HJ_41)100-WINNER(HJ_42)100;
HJ_92:=WINNER(HJ_42)100-WINNER(HJ_43)100;
HJ_93:=WINNER(HJ_43)100-WINNER(HJ_44)100;
HJ_94:=WINNER(HJ_44)100-WINNER(HJ_45)100;
HJ_95:=WINNER(HJ_45)100-WINNER(HJ_46)100;
HJ_96:=WINNER(HJ_46)100-WINNER(HJ_47)100;
HJ_97:=WINNER(HJ_47)100-WINNER(HJ_48)100;
HJ_98:=WINNER(HJ_48)100-WINNER(HJ_49)100;
HJ_99:=WINNER(HJ_49)100-WINNER(HJ_50)100;
HJ_100:=WINNER(HJ_50)100-WINNER(HJ_51)100;
HJ_101:=WINNER(HJ_51)100-WINNER(HJ_52)100;
HJ_102:=WINNER(HJ_52)100-WINNER(HJ_53)100;
HJ_103:=WINNER(HJ_53)100-WINNER(HJ_54)100;
HJ_104:=WINNER(HJ_54)100-WINNER(HJ_55)100;
HJ_105:=WINNER(HJ_55)100-WINNER(HJ_56)100;
HJ_106:=WINNER(HJ_56)100-WINNER(HJ_57)100;
HJ_107:=WINNER(HJ_57)100-WINNER(HJ_58)100;
HJ_108:=WINNER(HJ_58)100-WINNER(HJ_59)100;
HJ_109:=WINNER(HJ_59)100-WINNER(HJ_9)100;
STICKLINE(ISLASTBAR,HJ_8,HJ_8,HJ_6050,0),COLORRED;
STICKLINE(ISLASTBAR,HJ_11,HJ_11,HJ_6050,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_12,HJ_12,HJ_6150,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_13,HJ_13,HJ_6250,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_14,HJ_14,HJ_6350,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_15,HJ_15,HJ_6450,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_16,HJ_16,HJ_6550,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_17,HJ_17,HJ_6650,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_18,HJ_18,HJ_6750,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_19,HJ_19,HJ_6850,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_20,HJ_20,HJ_6950,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_21,HJ_21,HJ_7050,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_22,HJ_22,HJ_7150,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_23,HJ_23,HJ_7250,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_24,HJ_24,HJ_7350,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_25,HJ_25,HJ_7450,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_26,HJ_26,HJ_7550,0),COLORRED;
STICKLINE(ISLASTBAR,HJ_27,HJ_27,HJ_7650,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_28,HJ_28,HJ_7750,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_29,HJ_29,HJ_7850,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_30,HJ_30,HJ_7950,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_31,HJ_31,HJ_8050,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_32,HJ_32,HJ_8150,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_33,HJ_33,HJ_8250,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_34,HJ_34,HJ_8350,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_35,HJ_35,HJ_8450,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_36,HJ_36,HJ_8550,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_37,HJ_37,HJ_8650,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_38,HJ_38,HJ_8750,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_39,HJ_39,HJ_8850,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_40,HJ_40,HJ_8950,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_41,HJ_41,HJ_9050,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_42,HJ_42,HJ_9150,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_43,HJ_43,HJ_9250,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_44,HJ_44,HJ_9350,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_45,HJ_45,HJ_9450,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_46,HJ_46,HJ_9550,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_47,HJ_47,HJ_9650,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_48,HJ_48,HJ_9750,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_49,HJ_49,HJ_9850,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_50,HJ_50,HJ_9950,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_51,HJ_51,HJ_10050,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_52,HJ_52,HJ_10150,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_53,HJ_53,HJ_10250,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_54,HJ_54,HJ_10350,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_55,HJ_55,HJ_10450,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_56,HJ_56,HJ_10550,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_57,HJ_57,HJ_10650,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_58,HJ_58,HJ_10750,0),COLORGRAY;
STICKLINE(ISLASTBAR,HJ_9,HJ_9,HJ_10950,0),COLORRED;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA21:MA(CLOSE,21),COLORRED;
DRAWTEXT(ISLASTBAR,MA21,894),COLORRED;
MA60:MA(CLOSE,60);
HJ_110:=100(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));
HJ_111:=100(CLOSE-LLV(LOW,10))/(HHV(CLOSE,10)-LLV(LOW,10));
HJ_112:=100(CLOSE-LLV(LOW,20))/(HHV(CLOSE,20)-LLV(LOW,20));
HJ_113:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));
HJ_114:=BARSLAST(CROSS(30,HJ_110))<2 AND BARSLAST(CROSS(HJ_110,50))<2;
HJ_115:=BARSLAST(CROSS(HJ_113,HJ_110))<2 AND HJ_110>HJ_113;
HJ_116:=HJ_110>60 AND HJ_113>70;
DRAWTEXT(HJ_114 AND HJ_115 AND HJ_116,LOW-0.02,883);
HJ_117:=BARSLAST(CROSS(50,HJ_110))<3 AND BARSLAST(CROSS(HJ_110,50))<3;
HJ_118:=BARSLAST(CROSS(HJ_113,HJ_110))<2 AND HJ_110>HJ_113;
DRAWTEXT(HJ_117 AND HJ_118,LOW-0.03,884);
HJ_119:=BARSLAST(CROSS(HJ_113,HJ_110))<5 AND HJ_110>HJ_113;
DRAWTEXT(COUNT(HJ_119,3)=1 AND HJ_119 AND CLOSE>MA(CLOSE,20),LOW-0.02,895),COLORRED;
HJ_120:=BARSLAST(CROSS(HJ_113,HJ_110))>3 AND BARSLAST(CROSS(HJ_110,HJ_113))<3;
HJ_121:=BARSLAST(CROSS(HJ_113,HJ_111));
HJ_122:=HJ_112<HJ_113 AND HJ_111HJ_113;
HJ_123:=BARSLAST(CROSS(HJ_113,HJ_112))3 AND BARSLAST(CROSS(HJ_110,HJ_113))<3;
HJ_124:=HJ_111<HJ_112 AND HJ_111<HJ_113 AND HJ_111<HJ_110 AND HJ_110=100;
HJ_125:=HJ_120>0 AND REF(HJ_120,1)=0 AND REF(HJ_120,2)>0;
DRAWTEXT(HJ_120 AND HJ_121 AND HJ_122 AND HJ_123 AND HJ_124,LOW-0.05,896);
HJ_126:=BARSLAST(CROSS(97,HJ_110))<=1 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_127:=BARSLAST(CROSS(97,HJ_111))<=1 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_128:=HJ_126 AND HJ_127;
HJ_129:=BARSLAST(CROSS(97,HJ_110))<=2 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_130:=BARSLAST(CROSS(97,HJ_111))<=2 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_131:=HJ_126 AND HJ_127;
HJ_132:=BARSLAST(CROSS(97,HJ_110))<=3 AND BARSLAST(CROSS(HJ_110,85))<=1;
HJ_133:=BARSLAST(CROSS(97,HJ_111))<=3 AND BARSLAST(CROSS(HJ_111,85))<=1;
HJ_134:=HJ_132 AND HJ_133;
HJ_135:=REF(HJ_128,1);
HJ_136:=REF(HJ_131,1);
HJ_137:=REF(HJ_134,1);
HJ_138:=HJ_110=100 AND HJ_111=100 AND HJ_128;
HJ_139:=HJ_110=100 AND HJ_111=100 AND HJ_131;
HJ_140:=HJ_110=100 AND HJ_111=100 AND HJ_134;
DRAWTEXT(HJ_138 OR HJ_139 OR HJ_140,LOW-0.02,897);
HJ_141:=BARSLAST(CROSS(95,HJ_110))<=2;
HJ_142:=BARSLAST(CROSS(95,HJ_111))<=2;
HJ_143:=HJ_113<HJ_110 AND HJ_110<HJ_111 AND HJ_110HJ_112;
HJ_144:=HJ_11150 AND HJ_112>50;
HJ_145:=HJ_110=100 AND HJ_111=100;
HJ_146:=COUNT(HJ_145,2)=1;
DRAWTEXT(HJ_141 AND HJ_142 AND HJ_143 AND HJ_144 AND HJ_146,LOW-0.03,898);
HJ_147:=HJ_112=100;
HJ_148:=HJ_113<90;
DRAWTEXT(COUNT(HJ_147,2)=2 AND HJ_148,LOW-0.02,899);
HJ_149:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);
HJ_150:=MA((CLOSE+LOW+OPEN+HIGH)/4,13);
HJ_151:=EMA((CLOSE+LOW+OPEN+HIGH)/4,21);
STICKLINE(CLOSE<HJ_151 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE<HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR007700;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR005500;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR006600;
STICKLINE(CLOSE<HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR007700;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,HIGH,LOW,0,1),COLORFFDD44;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLORFFAA22;
STICKLINE(CLOSE>HJ_151 AND CLOSE<OPEN,CLOSE,OPEN,3,1),COLORFFDD44;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR00AAFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(CLOSE>HJ_151 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR00EEFF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,HIGH,LOW,0,0),COLORFF66AA;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFF11FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFF44FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFF66FF;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,HIGH,LOW,0,0),COLOR009999;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR599555;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CLOSE>HJ_150 AND CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR999000;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000DD;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR0000BB;
STICKLINE(CLOSE>HJ_149 AND CLOSE>OPEN,CLOSE,OPEN,1,0),COLOR0000DD;
DRAWICON(CLOSE<OPEN AND CLOSE>REF(CLOSE,1),HIGH,12);
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!