Could you explain the issue you are facing? I understood how SELL n 0 are calculated.