# Plotly Chart Colors CHART_COLORS = { "primary_line": "#2196f3", # Blue "secondary_line": "#ff9800", # Orange "increasing_candle": "#26a69a", # Green "decreasing_candle": "#ef5350", # Red "neutral_line": "gray" } # UI Text Constants UI_TEXT = { "no_data_available": "No data available", "error_prefix": "Error: ", "volume_analysis_title": "{symbol} Volume Analysis ({timeframe})", "price_movement_title": "{symbol} Price Movement Analysis ({timeframe})", "price_action_subplot": "Price Action", "volume_analysis_subplot": "Volume Analysis", "volume_ma_subplot": "Volume vs Moving Average", "cumulative_returns_subplot": "Cumulative Returns", "period_returns_subplot": "Period Returns (%)", "price_range_subplot": "Price Range (%)", "price_yaxis": "Price", "volume_yaxis": "Volume", "cumulative_return_yaxis": "Cumulative Return", "returns_yaxis": "Returns (%)", "range_yaxis": "Range (%)", "price_trace_name": "Price", "volume_trace_name": "Volume", "volume_ma_trace_name": "Volume MA(20)", "cumulative_return_trace_name": "Cumulative Return", "returns_trace_name": "Returns (%)", "range_trace_name": "Range %" } DEFAULT_CHART_COLORS = { 'bullish': '#00C851', # Green for bullish candles 'bearish': '#FF4444', # Red for bearish candles 'sma': '#007bff', # Blue for SMA 'ema': '#ff6b35', # Orange for EMA 'bb_upper': '#6f42c1', # Purple for Bollinger upper 'bb_lower': '#6f42c1', # Purple for Bollinger lower 'bb_middle': '#6c757d', # Gray for Bollinger middle 'rsi': '#20c997', # Teal for RSI 'macd': '#fd7e14', # Orange for MACD 'macd_signal': '#e83e8c', # Pink for MACD signal 'volume': '#6c757d', # Gray for volume 'support': '#17a2b8', # Light blue for support 'resistance': '#dc3545' # Red for resistance }