Yes stock market to the related to the share market of various companies but forex market is related to the exchange of currency pairs so basics are the same as traders just take profit and get loss in the market and forex market opened for 24 hours but the share market is opened in office time only.