Skip to content

Commit

Permalink
onCarouselChange
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim-zakharov committed Oct 25, 2024
1 parent 1219045 commit a45f7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/TVChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const {
const firstBuy: any = markers.find(p => p.position === 'belowBar');
const firstSell: any = markers.find(p => p.position === 'aboveBar');

series.createPriceLine({
firstBuy && series.createPriceLine({
price: firstBuy.value,
color: 'rgb(20, 131, 92)',
lineWidth: 1,
Expand All @@ -306,7 +306,7 @@ const {
// title: 'maximum price',
});

series.createPriceLine({
firstSell && series.createPriceLine({
price: firstSell.value,
color: 'rgb(157, 43, 56)',
lineWidth: 1,
Expand Down

0 comments on commit a45f7b8

Please sign in to comment.