Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Β© DonkeyEmporium
- //@version=5
- // Indicatore Session Last Bar //
- // Individua l'ultima barra della sessione su grafico intraday //
- indicator('Indicatore Session Last Bar', overlay=true)
- period = input.timeframe('D', title='Period')
- is_newbar(res) =>
- t = time(res)
- ta.change(t) != 0 ? 1 : 0
- bgcolor(is_newbar(period) == 1 ? color.gray : na, offset=-1, transp=92)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement