```talib.CDLCOUNTERATTACK()```函数的返回值为:一维数组。
array
talib.CDLCOUNTERATTACK(inPriceOHLC)
```inPriceOHLC```参数用于指定K线数据。
inPriceOHLC
true
{@struct/Record Record}结构数组
```javascript
function main() {
var records = exchange.GetRecords()
var ret = talib.CDLCOUNTERATTACK(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.CDLCOUNTERATTACK(records.Open, records.High, records.Low, records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.CDLCOUNTERATTACK(records);
Log(ret);
}
CDLCOUNTERATTACK()
이 함수는 Talib 문서에서 다음과 같이 설명됩니다.CDLCOUNTERATTACK(Records[Open,High,Low,Close]) = Array(outInteger)