Hiya, can you tell me how to get less digits showing on chart when using "createtext"
There are about 15 digits behind the decimal, I want to only show eg 28 or 28.1 only, not the 28.967869584533333 that I am getting.
here is some of code that I am using for your guess at what I can do.
Profitdown = instance:createTextOutput ("Down", "Down", "PFdown", 10, core.H_Right, core.V_Bottom, instance.parameters.Normal_color, 0);
PFdown = low - close;
if PFdown > 0 then
Profitdown:set(period, source.median[period - 2], PFdown);
end
Tah
LordTwig