p5:=ma(c,5); p10:=ma(c,10); p20:=ma(c,20); {5均;10均;20均};a:=p5>ref(p5,1) and ref(p5,1)>ref(p5,2); {5均向上};b:=p10>ref(p10,1) and ref(p10,1)>ref(p10,2); {10均向上}; d:=p20>ref(p20,1) and ref(p20,1)>ref(p20,2); {20均向上}; c>p5 and p5>p10 and p10>p20 and a and b and d; {均线多头,股价站在各条均线之上}; 20210311
var1:=ma(c,10)>ma(c,20) and ma(c,20)>ma(c,30) and ma(c,30)>ma(c,60);var2:=ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,...