九毛八公式指标
STICKLINE(MA(C,5)>MA(C,10) AND MA(CLOSE,5)>REF( MA(CLOSE,5),1) AND MA(CLOSE,10)>REF( MA(CLOSE,10),1) , MA(C,5),MA(C,10),0.0001,0), COLORRED; 请写一个出现第一根红柱时的选股公式
公式模块:
m5:=ma(c,5);
m10:=ma(c,10); xh:=m5>m10&&m5>ref(m5,1)&&m10>ref(m10,1); xg:xh&&count(xh,23)=1;