Forex Trading Profit: Mathematical Analysis and Data-Driven Strategies