PINE LIBRARY

EC_2024_Q1_EN

Library "EC_2024_Q1_EN"

output2024()
  Returns the list of events during the period.
  Returns: array<string>: (week1,week2, ... week_n)
week_n= <timezone_wn>;<event1_wn>;<event2_wn>; ... <event_n_weekn>
Where: <event_n_wn> is expressed as date + characteristics: YYYY,MM,DD,hh,mm,ss,x,y,z
x impact in numbers
y event name in numbers
z currency in numbers

name2024()
  Returns the list of event names during the period.
  Returns: array<string>: (week1,week2, ... week_n)
week_n= <name1_wn>;<name2_wn>; ... <name_n_wn>
Where: <name_n_wn> is expressed as: index, name
index: related to event name y
name event: event name related to y text

impact2024()
  Returns the list of impact names during the period.
  Returns: array<string>: (week1,week2, ... week_n)
week_n= <impact1_wn>;<impact2_wn>; ... <impact_n_wn>
Where: <impact_n_wn> is expressed as: index, impact
index: related to impact name x
impact: impact name related to x text

currency2024()
  Returns the list of currencies during the period.
  Returns: array<string>: (week1,week2, ... week_n)
week_n= <currency1_wn>;<currency2_wn>; ... <currency_n_wn>
Where: <currency_n_wn> is expressed as: index, currency
index: related to currency name z
currency: currency name related to z text
arrays

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer