-- 作者:253996689QQ
-- 发布时间:2018/2/26 20:56:21
-- 老师好
老师,为什么海龟系统测期货是赚钱,测股票是亏钱的?只有用多头的测才赚钱呢?所以不明白金字塔的用法,在期货和股票是不是公式不一样,股票本身就不能卖空。
还有一个问题是加仓的,
if holding>0 and openprofit/multiplier<=-20 then buy(holding=1,1,market);
if holding<0 and openprofit/multiplier<=-20 then buyshort(holding=-1,1,market);
上面这个是不是都可以写入每一个公式,如果行的,要变成盈利加仓的是不是 下面这样变?
if holding>0 and openprofit/multiplier>=-20 then buy(holding=1,1,market);
if holding<0 and openprofit/multiplier>=-20 then buyshort(holding=-1,1,market);
|