VAR0:=(MA(C,7));
VAR1:=(FORCAST(VAR0,7));
VAR2:=(FORCAST(VAR0,14));
VAR3:=(FORCAST(VAR0,70));
VAR4:=(FORCAST(VAR3,28));
VAR5:=(FORCAST(VAR3,56));
VAR6:=(BARSCOUNT(C));
VAR7:=(MOD(VAR6,2));
VAR8:=((MA(C,42)) * 0.45);
VAR9:=((BARSCOUNT(C)) = 1);
VAR10:=(BARSLAST(VAR9));
VAR11:=(MOD(VAR10 + 1,2));
VAR12:=(IF(VAR1 < VAR8,VAR8,VAR1));
VAR13:=(IF(VAR2 < VAR8,VAR8,VAR2));
VAR14:=(IF(VAR3 < VAR8,VAR8,VAR3));
VAR15:=(IF(VAR4 < VAR8,VAR8,VAR4));
VAR16:=(IF(VAR5 < VAR8,VAR8,VAR5));
VAR17:=(IF(((VAR11) = 1) AND ((VAR15) > (VAR16)),VAR16,VAR15));
VAR18:=(IF((((VAR11) = 1) AND ((VAR14) < (VAR15))) AND ((VAR14) > (VAR16)),VAR14,VAR15));
VAR19:=(IF((((VAR11) = 1) AND ((VAR14) < (VAR16))) AND ((VAR14) > (VAR15)),VAR15,VAR14));
VAR20:=(IF(((VAR14) < (VAR15)) AND ((VAR14) > (VAR16)),VAR18,VAR17));
VAR21:=(IF((VAR14) < (VAR16),VAR19,VAR17));
V4:(IF((VAR16) > (VAR15),VAR16,VAR20)),LINETHICK3,colorred;
V5:(IF((VAR21) < (IF((VAR16) > (VAR15),VAR16,VAR20)),VAR21,IF((VAR16) > (VAR15),VAR16,VAR20))),LINETHICK1,COLOR00CCCC;
K线:C,colorred;