不管多空都是跌13个点加仓?
原始开仓手数是多少?
diff和dea的金叉死叉?
多和空都是跌13点加仓?
多少个周期的移动均线?
“每跌13个点加仓2倍” 和“多空加仓间隔是13点” 两次描述不一致,请把加仓条件描述清楚。
MACD上穿移动均线开多.下穿开空..开多加仓间隔是13点.开空加仓间隔也是13点.加仓倍数为二倍.多空盈利16个点平仓..等下次信号出现再开仓.谢谢! |
具体多少个周期的移动均线?按30周期均线写了。
VARIABLE:a=1,b=1;
macd:stkindi('','macd.macd1',0,3);
ma1:ma(c,30);
jc:cross(macd,ma1);
sc:cross(ma1,macd);
if jc and holding=0 then begin
buy(1,1,market);
a:=2*a;
end
if ENTERPRICE-l>=13 and holding>0 then begin
buy(1,a,market);
a:=2*a;
end
if h-enterprice>=16 then sell(1,holding,market);
if sc and holding=0 then begin
buyshort(1,1,market);
b:=2*b;
end
bb:b;
if ENTERPRICE-l>=13 and holding<0 then begin
buyshort(holding<0,b,market);
b:=2*b;
end
if enterprice-l>=16 then sellshort(1,holding,market);