Can I set off the losses incurred on transfer of foreign listed securities with my other income in India?

Can I set off the losses incurred on transfer of foreign listed securities with my other income in India?

All Short-term capital losses arising on sale of foreign listed securities can be set off against both short term and long-term capital gains in India. However, any long term capital loss arising on sale of foreign listed securities can only be set off against long term capital gains in India. (Assuming there is no intraday trading)