Loss under the head Capital Gains (LTCL or STCL) cannot be set-off against any other head. (Interpretation: Loss from other heads can be set-off against Capital Gains)
However, Carry forward of losses (other than loss from house property and unabsorbed depreciation) is permissible if the return of income for the year, in which loss is incurred, is filed in time.