//@version=4 study("Exemplo 1: Sessão Regular") cc = security("BATS:AAPL", timeframe.period, close, true) plot(cc, style=plot.style_linebr)
//@version=4 study("Exemplo 2: Sessão Estendida") t = tickerid("BATS", "AAPL", session.extended) cc = security(t, timeframe.period, close, true) plot(cc, style=plot.style_linebr)
//@version=4 study("Exemplo 3: Same as Main Symbol Session Type Data") t = tickerid("BATS", "AAPL", syminfo.session) cc = security(t, timeframe.period, close, true) plot(cc, style=plot.style_linebr)