This paper explores forex trading data using WEKA to analyze and design risk management parameters for trading robots. The study investigates optimal stop loss and target profit levels while evaluating performance in both trending and sideways markets. Data visualizations from the analysis reveal insights into market behavior and emphasize the importance of adapting trading strategies according to market conditions.