better colors
This commit is contained in:
parent
0a56d56261
commit
05e8aef40b
1 changed files with 4 additions and 4 deletions
|
|
@ -173,9 +173,9 @@ class ConfluenceChart {
|
||||||
crosshair: { mode: LightweightCharts.CrosshairMode.Normal },
|
crosshair: { mode: LightweightCharts.CrosshairMode.Normal },
|
||||||
});
|
});
|
||||||
this.candles = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
this.candles = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
||||||
upColor: '#27825c', downColor: '#bd4545', borderVisible: true,
|
upColor: '#20b8a6', downColor: '#ef5b3f', borderVisible: true,
|
||||||
borderUpColor: '#1d6849', borderDownColor: '#963737',
|
borderUpColor: '#087f76', borderDownColor: '#b9342d',
|
||||||
wickUpColor: '#1d6849', wickDownColor: '#963737',
|
wickUpColor: '#087f76', wickDownColor: '#b9342d',
|
||||||
});
|
});
|
||||||
// Volume as an overlay on its own hidden scale, confined to the bottom
|
// Volume as an overlay on its own hidden scale, confined to the bottom
|
||||||
// fifth. An overlay rather than a pane so it cannot alter the price scale:
|
// fifth. An overlay rather than a pane so it cannot alter the price scale:
|
||||||
|
|
@ -1739,7 +1739,7 @@ class ConfluenceChart {
|
||||||
return {
|
return {
|
||||||
time: bar.t,
|
time: bar.t,
|
||||||
value: bar.v,
|
value: bar.v,
|
||||||
color: bar.c >= bar.o ? 'rgba(39,130,92,.38)' : 'rgba(189,69,69,.38)',
|
color: bar.c >= bar.o ? 'rgba(32,184,166,.38)' : 'rgba(239,91,63,.38)',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue