EB:=100;FA:=5;FB:=15;FC:=ma(C,3);FD:=MA(C,10);FE:=MA(C,20);FF:=MA(C,30);FG:=MA(C,60);
FH:=Abs(FC-FD)/MIN(FC,FD);FI:=ABS(FC-FE)/MIN(FC,FE);FJ:=ABS(FC-FF)/MIN(FC,FF);
FK:=ABS(FE-FD)/MIN(FE,FD);FL:=ABS(FF-FD)/MIN(FF,FD);FM:=ABS(FE-FF)/MIN(FE,FF);
FN:=MAX(MAX(MAX(FH,FI),MAX(FJ,FK)),MAX(FL,FM))*100,LINETHICK2;FO:=ema(FN,3),COLORBLUE;
FP:=HHV(FO,2)>FB AND C<FF AND REF(FO,2)<REF(FO,1) AND REF(FO,1)>=FO;FQ:=HHV(FO,2)>FB AND C>FF AND REF(FO,2)<REF(FO,1) AND REF(FO,1)>=FO;
FR:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;FS:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FT:=(SMA(FS,3,1)-18)*1.55;FU:=SMA(FT,3,1);FV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
FW:=SMA(FV,10,1);FX:=(EMA(SMA(FW,8,1),34)-25)*2.6;FY:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
FZ:=POW(MA(LOW,5),2)+MA(LOW,5);GA:=POW(MA(HIGH,5),2)+MA(HIGH,5);GB:=((FY-LLV(FZ,64))/(HHV(GA,64)-LLV(FZ,64))*150+65-10)/2;
GC:=SMA(GB,3,1)*1.5-46;GD:=SMA(GC,3,1);GE:=3*GC-2*GD;GF:=(FR+FS+FV)/3;GG:=((FT+FT+FW+GC)/4-15)*1.67;GH:=((FU+FU+FX+GD)/4-15)*1.67;
GJ:=(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5))*(-1)+0.9;GK:=(HHV(H,10)-C)/(HHV(H,10)-LLV(L,10))*(-1)+0.92;
GL:=(HHV(H,15)-C)/(HHV(H,15)-LLV(L,15))*(-1)+0.93;GM:=(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))*(-1)+0.94;
GN:=(HHV(H,89)-C)/(HHV(H,89)-LLV(L,89))*(-1)+0.95;GO:=(HHV(H,120)-C)/(HHV(H,120)-LLV(L,120))*(-1)+0.91;
SP:=(HHV(H,180)-C)/(HHV(H,180)-LLV(L,180))*(-1)+0.96;SQ:=(((GJ+GK+GL)*8+GM+GN+SP+GO)/28-0.1)*185;
GR:=SMA(SQ,3,1);GS:=(FT+FW+GR*2)/4,COLOR00FFFF ;GT:=SUM((INDEXV-REF(INDEXV,1))/REF(INDEXV,1),66);GU:=SUM((V-REF(V,1))/REF(V,1),66);
GV:=GU-GT;GW:=MA(GU,10);GX:=REF(FG,1)>FG;GY:=REF(FG,1)<FG;GZ:=GY AND COUNT(GY,20)>18 AND HHV(GX,90)=1;
HA:=(HHV(COUNT(GW>GV,30)=30,60)=1 AND GZ AND crOSS(GV,GW) AND FO<12);HB:=(FO<10 AND GV>0 AND GV>2*LLV(GV,10) AND HHV(GS,40)>100);
HI:=100*(C-REF(C,60))/REF(C,60);HJ:=100*(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);HK:=SMA(HI-HJ,2,1);
快乐主升:=HHV(COUNT(HK<0,50)>40,20) AND C>FG AND HK>0;
快乐主升XG:FILTER(COUNT(快乐主升,3)=3 AND REF(NOT(快乐主升),4),10);