Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 18:31:20 +0000



Post From: sc.YPixelCoordinateToGraphValue();

[2017-03-20 04:28:33]
Sierra Chart Engineering - Posts: 104368
This function and the related variables can only function properly after the chart is actually drawn:

sc.YPixelCoordinateToGraphValue(sc.StudyRegionTopCoordinate);
sc.YPixelCoordinateToGraphValue(sc.StudyRegionBottomCoordinate);

And they will return values based upon what was last drawn not what the study function is currently doing. This is something to keep in mind because they are going to be returning data based upon the last time the chart was drawn. The chart is always drawn after the study function is calculated. So a study function will always be working with values which may not be current.


We are going to do some testing, and make sure invalid values do not get returned and make sure the documentation explains all of this clearly although some of this is already documented if not already clearly.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-03-20 04:30:03