VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,6);
MA1:=MA(VAR4,2);
AA:=STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
JJX:=AMOUNT/V/100;
JJX2:=MA(JJX,3);
JJX5:=MA(JJX,5);
JJX10:=MA(JJX,10);
JJX30:=MA(JJX,30);
XG:C>JJX2 AND JJX2<REF(JJX2,1) AND REF(JJX2,1)<REF(JJX2,2) AND REF(JJX2,2)<REF(JJX2,3) AND VAR4>MA1;