Skip to content

Commit

Permalink
fix: не округлять значение цены уровней на графике
Browse files Browse the repository at this point in the history
  • Loading branch information
stupenkov committed Jun 1, 2023
1 parent debc3e5 commit 225161f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indicator/HLevel.lib.pinescript
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export method draw(levelDrawerClass this, levelsClass levelList) =>
else
color.new(this.defaultPriceColor, transparent)

string labelText = str.format("{0,number}", lvl.price)
string labelText = str.tostring(lvl.price)
if this.showLevelTime
labelText += str.format("\n{0,number,#}h", lvl.time() / 3600)

Expand Down

0 comments on commit 225161f

Please sign in to comment.