input:N(30,10,100,1);
均线;ma(ref(close,1),N);
看多条件:=c>均线 and> 均线>ref(均线,1) and ref(均线,1)> ref(均线,2);
看空条件:=<均线 and<均线<ref(均线,1) and ref(均线,1)< ref(均线,2);
手数:=INTPART((100000*3)/(c*MULTIPIER));
If holding>0 and 看空条件 then begin
Sell(1,0,limitr,c);
end
If holding<0 and 看多条件 then begin
Sellshort(1,0,limitr,c);
end
以上公式通不过
看多条件:=c>均线 and> 均线>ref(均线,1) and ref(均线,1)> ref(均线,2);
看空条件:=<均线 and<均线<ref(均线,1) and ref(均线,1)< ref(均线,2);
这一段是要表达什么意思?
语法上完全无法理解了都。 不知道到底要表达什么意思 我没法修改啊。
估计就是均线拐弯的策略,我只做股票,改成股票的策略吧,谢谢老师

此主题相关图片如下:2345_image_file_copy_4.jpg
以突破价报单为例,我们来简单分析一下这个策略的源码。这个策略非常简单,整个代码只有30余行。

上面是两个金字塔策略的图片,请老师都把它们修改成金字塔股票用策略谢谢。