ma1:=ma(c,5);
ma2:=ma(c,10);
ma3:=ma(c,20);
ma4:=ma(c,60);
ma5:=ma(c,120);
ma6:=ma(c,250);
var1:=ma3>ma4 and ma4>ma5 and ma5>ma6;
var2:=ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma3>ref(ma3,1) and ma4>ref(ma4,1) and ma5>ref(ma5,1) and ma6>ref(ma6,1);
var1 and var2
ma1:=ma(c,5);
ma2:=ma(c,10);
ma3:=ma(c,20);
ma4:=ma(c,60);
ma5:=ma(c,120);
ma6:=ma(c,250);
var1:=ma3>ma4 and ma4>ma5 and ma5>ma6;
var2:=ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma3>ref(ma3,1) and ma4>ref(ma4,1) and ma5>ref(ma5,1) and ma6>ref(ma6,1);
var1 and var2
ma1:=ma(c,5);
ma2:=ma(c,10);
ma3:=ma(c,20);
ma4:=ma(c,60);
ma5:=ma(c,120);
ma6:=ma(c,250);
var1:=ma3>ma4 and ma4>ma5 and ma5>ma6;
var2:=ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma3>ref(ma3,1) and ma4>ref(ma4,1) and ma5>ref(ma5,1) and ma6>ref(ma6,1);
var1 and var2