大家在有想法编指标的时候可能会用到均线多头排列,今天送一个8根均线多头排列的公式给大家备用。大家可自行优化!
A1:=BARSCOUNT(C)>800;
A2:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,40)
AND MA(C,40)>MA(C,60) AND MA(C,60)>MA(C,90) AND MA(C,90)>MA(C,120);
A3:REF(A2,1)=0 AND A2=1 AND A1=1;