Comment on Managing your Script
please code below strategy
Long positions should be closed when the price sinks below the SAR line,
short positions should be closed when the price rises above the SAR line
please code below strategy
Long positions should be closed when the price sinks below the SAR line,
short positions should be closed when the price rises above the SAR line