In the case of stocks and futures, those prices come from the exchange where they are traded. Forex is a little different as there is no central exchange.
In the case of stocks and futures, those prices originate from the exchange where they are traded. Forex is a bit distinct as there is no central exchange.