Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 21:50:42 +0000



Post From: Issue with GetMainGraphVisibleHighAndLow when not connected

[2021-11-06 22:22:05]
gomifromparis - Posts: 244
Hi,

I'm very sorry for this, I should have posted a complete example with a study.
I tried to reproduce with a simple study like you did and couldn't.

After retracing in my own code, it had to do with sc.Bid and and sc.Ask equal to 0 when the feed is not connected, so my scaling functions scaled the chart starting at 0, and so the GetMainGraphVisibleHighAndLow got negative (because of the margins)

Again, very sorry you had to spend some time on this, and thanks for your continuing support efforts !