Investor sentiment contagion has a profound influence on economic and social development. This paper explores the diverse influences of various investor sentiments in modern society on the economy and society. It also investigates the interference of various uncertain factors on investor sentiments in the modern economy and society. On this basis, the dual-system stochastic SPA2G2R model was constructed, incorporating positive and negative sentiments, as well as a supervision and isolation mechanism. The global existence of positive solutions was established, and sufficient conditions for the disappearance and steady distribution of investor sentiment were calculated. An optimal control strategy for the stochastic model was put forward, with numerical simulation supporting the theoretical analysis results. A comparison with parameter changes in the deterministic model was also conducted. The research reveals a competitive relationship between different investor sentiments. Enhancing societal guidance mechanisms promotes positive investor sentiment contagion. Timely control by the supervisory department effectively curbs the spread of investor sentiment. Additionally, white noise promotes investor sentiment contagion, suggesting effective regulation through control of noise intensity and disturbance parameters.