This snippet shows how to get current spread as points. If you want it in price then you have to multiply it with point size or get ask and bid difference.
Source code viewer
int currentSpreadPoints = SymbolInfoInteger(Symbol(), SYMBOL_SPREAD);Programming Language: MQL5