- 精华
- 0
- 在线时间
- 31 小时
- UID
- 8714
- 积分
- 124
- 帖子
- 23
- 阅读权限
- 40
- 注册时间
- 2010-4-17
- 最后登录
- 2018-10-14
- 精华
- 0
- UID
- 8714
- 积分
- 124
- 帖子
- 23
- 主题
- 11
- 阅读权限
- 40
- 注册时间
- 2010-4-17
- 最后登录
- 2018-10-14
|
错误 co100是怎么回事。
Params
Numeric Length(14);
Numeric OverSold(20);
Numeric OverBought (80);
Vars
Numeric RSIValue(0);
Numeric RSIColor(-1);
Begin
RSIValue = RSI(Close,Length);
If (RSIValue > OverBought)
{
RSIColor = RED;
}Else If (RSIValue < OverSold)
{
RSIColor = CYAN;
}
PlotNumeric("RSI1", RSIValue, RSIColor);
PlotNumeric("超卖", OverSold);
PlotNumeric("超买", OverBought);
If CrossOver(RSIValue,OverSold)
{
Alert("Indicator exiting oversold zone");
}
If CrossUnder(RSIValue, OverBought)
{
Alert("Indicator exiting overbought zone");
}
End
显示在28行错误co100,我查了编译错误中没有这条。
就是交叉向上和向下那条。
还有能否简明说下NumericSeries和Numeric型分别在什么情况下使用。我总弄不清那几个系列型怎么用。 |
|