JayLacoma commited on
Commit
792ea8f
·
verified ·
1 Parent(s): abe0e9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -11
app.py CHANGED
@@ -455,22 +455,21 @@ def plot_individual_signals(df, ticker):
455
  x=df.index, y=df['Close'],
456
  mode='lines',
457
  name='Closing Price',
458
- line=dict(color='#D4B2FF', width=2) # Brighter pink #D4B2FF
459
  ))
460
 
461
- # Define colors for different signals
462
-
463
-
464
 
465
 
 
466
  signal_colors = {
467
- 'MACD_Signal': {'buy': 'purple', 'sell': 'lightpink'}, # Light purple / Pale butter
468
- 'RSI_Signal': {'buy': 'purple', 'sell': 'lightpink'}, # Light purple / Pale butter
469
- 'BB_Signal': {'buy': 'purple', 'sell': 'lightpink'}, # Purple / Chiffon yellow
470
- 'Stochastic_Signal': {'buy': 'purple', 'sell': 'lightpink'}, # Purple / Corn silk
471
- 'CMF_Signal': {'buy': 'purple', 'sell': 'lightpink'}, # Deep purple / Lemon chiffon
472
- 'CCI_Signal': {'buy': 'purple', 'sell': 'lightpink'} # Dark purple / Soft maize
473
- }
 
474
 
475
 
476
 
 
455
  x=df.index, y=df['Close'],
456
  mode='lines',
457
  name='Closing Price',
458
+ line=dict(color='#D4B2FF', width=2)
459
  ))
460
 
 
 
 
461
 
462
 
463
+ # Refined pastel colors for signal indicators
464
  signal_colors = {
465
+ 'MACD_Signal': {'buy': '#B6A4D9', 'sell': '#F7D1D1'}, # Soft lavender / Pale rosy pink
466
+ 'RSI_Signal': {'buy': '#B6A4D9', 'sell': '#F7D1D1'}, # Soft lavender / Pale rosy pink
467
+ 'BB_Signal': {'buy': '#B6A4D9', 'sell': '#F8E1A1'}, # Soft lavender / Soft pale yellow
468
+ 'Stochastic_Signal': {'buy': '#B6A4D9', 'sell': '#F6E3A1'}, # Soft lavender / Soft butter yellow
469
+ 'CMF_Signal': {'buy': '#B6A4D9', 'sell': '#F3E5A0'}, # Soft lavender / Soft light yellow
470
+ 'CCI_Signal': {'buy': '#B6A4D9', 'sell': '#F4D8A1'} # Soft lavender / Soft warm yellow
471
+ }
472
+
473
 
474
 
475