|
Params
Numeric N(60);
Numeric KPOINT(10);
Numeric PPOINT(2);
Vars
NumericSeries MAN;
numeric Kprice;
numeric Pprice;
numeric Yprice;
Numeric Minipoint;
Begin
MAN = AverageFC(Close,N);
PlotNumeric("MAN",MAN);
Minipoint = MinMove*PriceScale;
Kprice = Minipoint*KPOINT;
Pprice = Minipoint*PPOINT;
Yprice = Kprice+Pprice;
省略开仓语句
if (Close[1]<MAN-2*Yprice)
{
IF (CurrentContracts==-2)
BuyToCover(1,open);
}
这个为何出现信号消失的问题啊 ?求解
|
|