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_29>HJ_27 AND HJ_29>50,1,IF(HJ_27<HJ_28 AND HJ_29>HJ_28 AND HJ_29>50,(-1),0));
HJ_32:=REF(CLOSE,1);
HJ_33:=EMA(MAX(CLOSE-HJ_32,0),5)/EMA(ABS(CLOSE-HJ_32),5)*100;
HJ_34:=IF(HJ_33>80,1,IF(HJ_33<20,(-1),0));
HJ_35:=(HIGH+LOW+CLOSE)/3;
HJ_36:=(HJ_35-MA(HJ_35,8))/(0.015*AVEDEV(HJ_35,8));
HJ_37:=IF(HJ_36>180,1,IF(HJ_36<(-180),(-1),0));
HJ_38:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
HJ_39:=IF(HJ_38>80,1,IF(HJ_38<20,(-1),0));
HJ_40:=100*(CLOSE-MA(CLOSE,20));
HJ_41:=IF(HJ_40>0,1,IF(HJ_40<0,(-1),0));
HJ_42:=CLOSE-REF(CLOSE,7);
HJ_43:=IF(HJ_42>0,1,IF(HJ_42<0,(-1),0));
HJ_44:=CLOSE-REF(MA(CLOSE,11),11/2+1);
HJ_45:=IF(HJ_44>0,1,IF(HJ_44<0,(-1),0));
HJ_46:=MA(CLOSE,12);
HJ_47:=(CLOSE-HJ_46)*(CLOSE-HJ_46);
HJ_48:=MA(HJ_47,12);
HJ_49:=SQRT(HJ_48);
HJ_50:=1;{www.fxjgsw.com}
HJ_51:=HJ_46+HJ_50*HJ_49;
HJ_52:=HJ_46-HJ_50*HJ_49;
HJ_53:=IF(CLOSE>HJ_51,1,IF(CLOSE<HJ_52,(-1),0));
HJ_54:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
HJ_55:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
HJ_56:=IF(HJ_54>350 OR HJ_55>180,1,IF(HJ_54<45 OR HJ_55<45,(-1),0));
HJ_57:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
HJ_58:=SUM(IF(C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=MA(VOL,13);
HJ_88:=(HJ_86-REF(HJ_86,1))/REF(HJ_86,1)*100;
HJ_89:=(HJ_87-REF(HJ_87,1))/REF(HJ_87,1)*100;
HJ_90:=HJ_88+HJ_89;
HJ_91:=IF(HJ_90>REF(HJ_90,1),1,IF(HJ_90<REF(HJ_90,1),(-1),0));
HJ_92:=REF(CLOSE,1);
HJ_93:=ABS(HIGH-HJ_92);
HJ_94:=ABS(LOW-HJ_92);
HJ_95:=ABS(HIGH-REF(LOW,1));
HJ_96:=ABS(HJ_92-REF(OPEN,1));
HJ_97:=IF(HJ_93>HJ_94 AND HJ_93>HJ_95,HJ_93+HJ_94/2+HJ_96/4,IF(HJ_94>HJ_95 AND HJ_94>HJ_93,HJ_94+HJ_93/2+HJ_96/4,HJ_95+HJ_96/4));
HJ_98:=CLOSE-HJ_92+(CLOSE-OPEN)/2+HJ_92-REF(OPEN,1);
HJ_99:=16*HJ_98/HJ_97*MAX(HJ_93,HJ_94);
HJ_100:=SUM(HJ_99,0);
HJ_101:=MA(HJ_100,6);
HJ_102:=IF(CLOSE<HHV(CLOSE,13) AND HJ_100=HHV(HJ_100,13),1,IF(CLOSE>LLV(CLOSE,13) AND HJ_100=LLV(HJ_100,13),(-1),0));
HJ_103:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
HJ_104:=IF(HJ_103>10,1,IF(HJ_103<(-10),(-1),0));
HJ_105:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJ_106:=(20*HJ_105+19*REF(HJ_105,1)+18*REF(HJ_105,2)+17*REF(HJ_105,3)+16*REF(HJ_105,4)+15*REF(HJ_105,5)+14*REF(HJ_105,6)+13*REF(HJ_105,7)+12*REF(HJ_105,8)+11*REF(HJ_105,9)+10*REF(HJ_105,10)+9*REF(HJ_105,11)+8*REF(HJ_105,12)+7*REF(HJ_105,13)+6*REF(HJ_105,14)+5*REF(HJ_105,15)+4*REF(HJ_105,16)+3*REF(HJ_105,17)+2*REF(HJ_105,18)+REF(HJ_105,20))/210;
HJ_107:=MA(HJ_106,4);
HJ_108:=IF(HJ_106>HJ_107,2,IF(HJ_106<HJ_107,(-1),0));
HJ_109:=(2*CLOSE+HIGH+LOW)/4;
HJ_110:=EMA(HJ_109,4);
HJ_111:=EMA(HJ_110,4);
HJ_112:=EMA(HJ_111,4);
HJ_113:=(HJ_112-REF(HJ_112,1))/REF(HJ_112,1)*100;
HJ_114:=AMOUNT/VOL/100;
HJ_115:=MA(HJ_114,13);
HJ_116:=EMA(VOL,13);
HJ_117:=EMA(AMOUNT,13);
HJ_118:=HJ_117/HJ_116/100;
HJ_119:=(CLOSE-HJ_118)/HJ_118*100;
HJ_120:=EMA(VOL/CAPITAL*100,13);
HJ_121:=0;
HJ_122:=MA(HJ_113,2);
HJ_123:=MA(HJ_113,1);
HJ_124:=IF(HJ_123>HJ_122,1,IF(HJ_123<HJ_122,(-1),0));
JC:48+HJ_3+HJ_6+HJ_9+HJ_13+HJ_17+HJ_21+HJ_31+HJ_34+HJ_37+HJ_39+HJ_41+HJ_43+HJ_45+HJ_53+HJ_56+HJ_61+HJ_63+HJ_67+HJ_71+HJ_74+HJ_77+HJ_80+HJ_85+HJ_91+HJ_102+HJ_104+HJ_108+HJ_124,COLORWHITE;
MAJCQX:MA(JC,3),COLORYELLOW;
HJ_125:=MA(JC,20);
UB:HJ_125+2*STD(JC,20),COLORYELLOW;
LB:HJ_125-2*STD(JC,20),COLORGREEN;
IF(JC<56,JC,JC),COLORWHITE;
IF(JC>56,JC,JC),COLORRED;
IF(JC<56,JC,56),COLORWHITE;
IF(JC>56,56,56),COLORRED;
STICKLINE(CLOSE>0,36,36,10,0),COLORLICYAN;
STICKLINE(CLOSE>0,56,56,10,0),COLORLICYAN;
STICKLINE(CLOSE>0,71,71,10,0),COLORLICYAN;
STICKLINE(CLOSE>0,44,44,10,0),COLORLICYAN;
{-----------------------------------} |