请老师帮忙做个选股公式; 个股资金线:=MA(C,1)/MA(REF(C,18),18)*100; 资金生命线:=MA(FORCAST(个股资金线,20),6); XG:个股资金线>资金生命线; 短期:=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)); XG1:短期40; 当短期40时个股资金线>资金生命线
爱约股解答:
个股资金线:=MA(C,1)/MA(REF(C,18),18)*100;
资金生命线:=MA(FORCAST(个股资金线,20),6);
XG:=个股资金线>资金生命线;
短期:=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));
XG1:=短期<20 AND 长期>40;
XG and XG1;