HighestFC这个放在IF条件语句中,好像出现错误,计算不准确的情况。
比如是求满足ABC条件下,求前10根K线的最高点。
这种情况如何实现呢?
Length = 10;
If( A and B and C)
{
Numeric topHigh = HighestFC(High,Length);
Commentary(\"topHigh :\"+Text(topHigh ));
}
Length = 10;
numeric highband = HighestFC(High,Length);
If( A and B and C)
{
Numeric topHigh = highband;
Commentary(\"topHigh :\"+Text(topHigh ));
}
如果想知道为什么,看零基础视频里关于序列类型使用须知的课程