PINE LIBRARY

High Risk Trading Time

657
Library "HighRiskTradingTime"
Utilities for time range labeling

openTime()

timeMinInDay(t, timezone)
  Convert given time to minutes of day
  Parameters:
    t (int): Time
    timezone (string): Timezone of the input h:m
return Minutes of day
All exported functions args should be typified

timeMinInDayManual(h, m)
  Convert given hour and minute to minutes of day
  Parameters:
    h (int): Hour in a day
    m (int): Minute in a day

isForexHighRiskTime()
  Return if current time is High Risk for Forex

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.