I\'m creating a strategy that opens longs when SAR crosses over to uptrend after RSI has been oversold and shorts the other way around. I need a variable to memorize the mos