ma5:=ma(c,5);
ma10:=ma(c,13);
ma20:=ma(c,20);
xg:ref(ma5,1)>ref(ma10,1) and ref(ma10,1)>ref(ma20,1) and ref(h,1)>ref(ma5,1) and ref(c,2)>ref(ma5,2) and ref(l,1)<ref(ma10,1)and ref(c,1)<ref(ma5,1) and ref(c,1)>ref(ma10,1) and ref(c,1)<ref(o,1)and c>o ;