-
[pinescript] overload기타 2021. 12. 17. 17:51반응형
양음양 장악형 캔들 파악 , 음양음 연속 장악형 캔들 파악
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © suengDDak //@version=4 study("oveload", overlay=true) rbr = close[2] >= open[2] and close[1] <= open[1] and close >= open and close[3] < close[2] isRBROverload = close[2] <= open[1] and open[1] <= close and open[2] >= close[1] and close[1] >= open if (isRBROverload and rbr) line.new(bar_index - 1, close[1], bar_index + 100, close[1], width = 2) line.new(bar_index - 1, open[1], bar_index + 100, open[1], width = 2) brb = close[2] <= open[2] and close[1] >= open[1] and close <= open and close[3] > close[2] isBRBOverload = close[2] >= open[1] and open[1] >= close and open[2] <= close[1] and close[1] <= open[1] if (isBRBOverload and brb) line.new(bar_index - 1, close[1], bar_index + 100, close[1], width = 2, color=color.red) line.new(bar_index - 1, open[1], bar_index + 100, open[1], width = 2, color=color.red)
'기타' 카테고리의 다른 글
[debug] event 디버깅 (0) 2022.01.25 [pinescript] 갭하락양봉 찾기 (0) 2021.12.18 iframe pre render 가능한가요? (0) 2021.12.17 git stash 로 작업한내용 브랜치 옮기기 (0) 2021.12.16 localStorage mocking 테스트파일 (0) 2021.12.02