九毛八公式指标
四线归一拐6: 短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); 中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); 中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); 长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); XG:REF(短期,1)<6 and ref(中期,1)<6 ref(中长期,1)<6 ref(长期,1)<6 短期>6; 指数平均线: M1 2 250 12 M2 2 250 50 EXP1:EXPMA(CLOSE,M1); EXP2:EXPMA(CLOSE,M2); 请老师帮做个当四线归一拐6时指数平均线M1大于M2
公式模块:
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); 中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); 长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); M1 2 250 12 M2 2 250 50 EXP1:=expma(CLOSE,M1); EXP2:=EXPMA(CLOSE,M2); XG:REF(短期,1)<6 AND REF(中期,1)<6 AND REF(中长期,1)<6 AND REF(长期,1)<6 AND 短期>6 and EXP1>EXP2;
6>