diff --git a/apps/trading/pages/styles.css b/apps/trading/pages/styles.css index a67f00a4d..dab5d4ba0 100644 --- a/apps/trading/pages/styles.css +++ b/apps/trading/pages/styles.css @@ -34,6 +34,18 @@ html [data-theme='dark'] { /* sell candles only use stroke as the candle is solid (without border) */ --pennant-color-sell-stroke: theme('colors.vega.pink.500'); + /* studies */ + --pennant-color-eldar-ray-bear-power: theme('colors.vega.pink.500'); + --pennant-color-eldar-ray-bull-power: theme('colors.vega.green.650'); + + --pennant-color-macd-divergence-buy: theme('colors.vega.green.650'); + --pennant-color-macd-divergence-sell: theme('colors.vega.pink.500'); + --pennant-color-macd-signal: theme('colors.vega.blue.500'); + --pennant-color-macd-macd: theme('colors.vega.yellow.500'); + + --pennant-color-volume-buy: theme('colors.vega.green.650'); + --pennant-color-volume-sell: theme('colors.vega.pink.500'); + /* depth chart */ --pennant-color-depth-buy-fill: theme('colors.vega.green.650'); --pennant-color-depth-buy-stroke: theme('colors.vega.green.500'); @@ -50,6 +62,9 @@ html [data-theme='light'] { /* sell candles only use stroke as the candle is solid (without border) */ --pennant-color-sell-stroke: theme('colors.vega.pink.400'); + --pennant-color-volume-buy: theme('colors.vega.green.400'); + --pennant-color-volume-sell: theme('colors.vega.pink.500'); + /* depth chart */ --pennant-color-depth-buy-fill: theme('colors.vega.green.400'); --pennant-color-depth-buy-stroke: theme('colors.vega.green.550'); diff --git a/libs/candles-chart/src/lib/candles-chart.tsx b/libs/candles-chart/src/lib/candles-chart.tsx index 0990c5b0e..d63c1a12e 100644 --- a/libs/candles-chart/src/lib/candles-chart.tsx +++ b/libs/candles-chart/src/lib/candles-chart.tsx @@ -1,6 +1,6 @@ import 'pennant/dist/style.css'; import { - Chart, + CandlestickChart, ChartType, Interval, Overlay, @@ -161,7 +161,7 @@ export const CandlesChartContainer = ({