This is an option feature that can be enabled to allow the algo to square off all OPEN positions in case of a margin error in any one or more legs.
This option can selected from under the Advanced Settings on the algo configuration page.
Once the algo squares off all OPEN positions, you will see an ALGO RESET button, that will enable you to Reset the whole algo and run it again if required. The algo reset button will show only after the algo has squared off all Open positions, and not when the margin error occurs.
This feature works only when margin errors come for ENTRY orders and RE-ENTRY & RE-EXECUTE orders. The algo will not auto square off OPEN positions incase there is a margin error for exit orders.