从周线上看,13日,34日,55日,233日均线缓缓上移,并且四线顺上,即233日,55日,34日,13日均线依次排列,且它们间距大致相等。
这个公式是大智慧的,公式里面已经说了,通达信应将第一句input这句整句删除,或在它的最前面加一个{,而将Kn输入到参数框里,最小值 1,最大值50,缺省值5.。如果公式类型选选股,则需将M233,M55,M34,M13句中的:号后面增加一个=号。
{--------------------以周线为周期胜率测试结果------------------------------------}
{Kn=5}
{胜率: 5周3%,多89.0%/1.5%;空74.31%/1.3%,多/空=1.19}
{胜率: 20周5%,多87.85%/1.4%;空81.55%/1.3%,多/空=1.08}
{胜率: 60周10%,多83.5%/1.3%;空73.79%/1.2%,多/空=1.13}
{-------------------------------以日线为周期胜率测试结果----------------------------}
{Kn=5}
{胜率: 5天3%,多58.76%/14.6%;空52.74%/14.4%,多/空=1.11}
{胜率: 20天5%,多69.94%/17.1%;空52.95%/13.4%,多/空=1.32}
{胜率: 60天10%,多65.53%/15.6%;空52.54%/12.9%,多/空=1.25}
{-------------------------------以日线为周期均线密集胜率测试结果----------------------------}
and M233<=M13*K {均线密集};
{Kn=5}
{胜率: 5天3%,多56.51%/9.1%;空46.24%/8.2%,多/空=1.22}
{胜率: 20天5%,多66.61%/10.4%;空49.20%/8.1%,多/空=1.35}
{胜率: 60天10%,多64.42%/9.7%;空48.21%/7.5%,多/空=1.34}
{-------------------------------以日线为周期均线密集胜率测试结果----------------------------}
and M55<=M13*K {短期均线密集};
{Kn=5}
{胜率: 5天3%,多57.94%/13.6%;空51.51%/13.1%,多/空=1.12}
{胜率: 20天5%,多69.41%/16.1%;空51.89%/12.4%,多/空=1.34}
{胜率: 60天10%,多64.86%/14.5%;空51.40%/11.9%,多/空=1.26}