I have tried above 2 formulae,but do not work.
the chart shows closing price is above sar,yet the result is 0 or the price is below sar,the result is 5 days above sar.
there are even NA
by the way why got na,data explored are > 200days.
it is the same for macd,conflicting & wrong results
any expert can adv futher ?