通达信光明量价关系副图源码

MA1:=MA(CLOSE,M1);
 MA2:=MA(CLOSE,M2);
 MA3:=MA(CLOSE,M3);

短线1:C>REF(C,1) AND C<O AND V<REF(V,1) AND C>MA3 AND REF(C,1)>REF(C,2);
短线2:C>REF(C,1) AND C<O AND V>REF(V,1) AND C>MA3 AND REF(C,1)>REF(C,2);