PINE LIBRARY
업데이트됨 Time_Filter

Library "Time_Filter"
Time filters for trading strategies.
f_isInWeekDay(_timeZone, _byWeekDay, _byMon, _byTue, _byWed, _byThu, _byFri, _bySat, _bySun)
f_isInWeekDay - Filter by week day or by time delimited session.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_byWeekDay: - Filter allowed trading time by days of the week.
_byMon: - Is Monday a trading day?
_byTue: - Is Tuesday a trading day?
_byWed: - Is Wednesday a trading day?
_byThu: - Is Thursday a trading day?
_byFri: - Is Friday a trading day?
_bySat: - Is Saturday a trading day?
_bySun: - Is Sunday a trading day?
Returns: series of bool whether or not the time is inside the current day.
f_isInSession(_timeZone, _bySession_1, _timeSession_1, _bySession_2, _timeSession_2)
f_isInSession - Is the current time with in the allowed trading session time.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_bySession_1: - Filter allowed trading time with in hours defined in _timeSession_1
_timeSession_1: - Hours with in trading is allowed.
_bySession_2: - Filter allowed trading time with in hours defined in _timeSession_2
_timeSession_2: - Hours with in trading is allowed.
Returns: series of bool whether or not the time is inside selected session.
f_isTradingAllowed(_timeZone, _byWeekDay, _byMon, _byTue, _byWed, _byThu, _byFri, _bySat, _bySun, _bySession_1, _timeSession_1, _bySession_2, _timeSession_2)
f_isTradingAllowed - Is the current time with in the allowed.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_byWeekDay: - Filter allowed trading time by days of the week.
_byMon: - Is Monday a trading day?
_byTue: - Is Tuesday a trading day?
_byWed: - Is Wednesday a trading day?
_byThu: - Is Thursday a trading day?
_byFri: - Is Friday a trading day?
_bySat: - Is Saturday a trading day?
_bySun: - Is Sunday a trading day?
_bySession_1: - Filter allowed trading time with in hours defined in _timeSession_1
_timeSession_1: - Hours with in trading is allowed.
_bySession_2: - Filter allowed trading time with in hours defined in _timeSession_2
_timeSession_2: - Hours with in trading is allowed.
Returns: series of bool whether or not trading is allowed at the current time.
Time filters for trading strategies.
f_isInWeekDay(_timeZone, _byWeekDay, _byMon, _byTue, _byWed, _byThu, _byFri, _bySat, _bySun)
f_isInWeekDay - Filter by week day or by time delimited session.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_byWeekDay: - Filter allowed trading time by days of the week.
_byMon: - Is Monday a trading day?
_byTue: - Is Tuesday a trading day?
_byWed: - Is Wednesday a trading day?
_byThu: - Is Thursday a trading day?
_byFri: - Is Friday a trading day?
_bySat: - Is Saturday a trading day?
_bySun: - Is Sunday a trading day?
Returns: series of bool whether or not the time is inside the current day.
f_isInSession(_timeZone, _bySession_1, _timeSession_1, _bySession_2, _timeSession_2)
f_isInSession - Is the current time with in the allowed trading session time.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_bySession_1: - Filter allowed trading time with in hours defined in _timeSession_1
_timeSession_1: - Hours with in trading is allowed.
_bySession_2: - Filter allowed trading time with in hours defined in _timeSession_2
_timeSession_2: - Hours with in trading is allowed.
Returns: series of bool whether or not the time is inside selected session.
f_isTradingAllowed(_timeZone, _byWeekDay, _byMon, _byTue, _byWed, _byThu, _byFri, _bySat, _bySun, _bySession_1, _timeSession_1, _bySession_2, _timeSession_2)
f_isTradingAllowed - Is the current time with in the allowed.
Parameters:
_timeZone: - Time zone to use when filter allowed trading by days of the week.
_byWeekDay: - Filter allowed trading time by days of the week.
_byMon: - Is Monday a trading day?
_byTue: - Is Tuesday a trading day?
_byWed: - Is Wednesday a trading day?
_byThu: - Is Thursday a trading day?
_byFri: - Is Friday a trading day?
_bySat: - Is Saturday a trading day?
_bySun: - Is Sunday a trading day?
_bySession_1: - Filter allowed trading time with in hours defined in _timeSession_1
_timeSession_1: - Hours with in trading is allowed.
_bySession_2: - Filter allowed trading time with in hours defined in _timeSession_2
_timeSession_2: - Hours with in trading is allowed.
Returns: series of bool whether or not trading is allowed at the current time.
릴리즈 노트
Update to Pinescript v6파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.