Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Pine Script chart scaling problem

also, i just realized the scaling factor changes even between 2 instruments quoted with 2 decimals. for ex, it's different between XAUUSD and DXY. so even though i use some computation to keep the vertical offset proportionally away from the high/low, it is too far when displaying XAUUSD and just right when displaying DXY.

that is to say, for ex, that high + 15 appears to be a greater distance on XAUUSD than on DXY chart!

how about exposing a function to return the current chart's scaling factor so that we can use that in our own computation to plot the graphical elements such as dots/circles always at the same (perceived) distance from the candle bars?

Note: This topic was created from a reply on the Pine scripting language topic.
1 person has
this problem
+1
Reply