R언어 코드 질문있습니다. 값을 비교하려면 어떡해야하나요 왕초보라서요..
조회수 105회
bullishCandle = close >= open[1] and close[1] < open[1] //and high >= high[1] and low <= low[1]
bearishCandle = close <= open[1] and close[1] > open[1] //and high > high[1] and low < low[1]
aaaaa = (close >= open[1] and close[1] < open[1])[1] > (close >= open[1] and close[1] < open[1])
//Error message: Cannot call 'operator >' with argument 'expr0'='call 'operator SQBR' (series bool)'. An argument of 'series bool' type was used but a 'simple float' is expected.
왕왕왕왕왕초보라 이런질문을 올립니다..ㅠㅠ aaaaa가 성립되려면 어떻게해야하나요?
댓글 입력