短线源码:
短期资金:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期资金:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长资金:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORGREEN;
长期资金:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
强市线:80,POINTDOT;
弱市线:20,POINTDOT,COLORCYAN;
分水岭:50,POINTDOT;
==========================
选股条件:今日中期资金上穿副图中轴线20;
中期资金:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
xg:cross(中期资金,20);