Requirement: I am working on a pine strategy where the strategy need to avoid taking any new trades during multiple time range. And this restriction should be applicable only for today/current_tradingday.
E.g. I have taken 3 input.sessions() as in the image:

Issue: The input.session() time are in chart time in local timezone i.e. GMT+5.30. And when strategy executes it doesnt match with exchange time. Referred some online links like https://www.tradingview.com/pine-script-docs/en/v4/concepts/Time.html#id6 but still facing problem converting local time range into exchange time range.
For example to avoid taking any new trades during local 05:00PM to 07:00PM (GMT+5.30) then I have to give input.session("1700-1900") and the strategy shouldn't take any new trades during this time in exchange timezone. And this condition should be valid only for today current_tradingday.