Support Board
Date/Time: Wed, 27 Nov 2024 19:37:46 +0000
Post From: sc.YPixelCoordinateToGraphValue(sc.StudyRegionTopCoordinate)
[2014-09-26 23:01:47] |
marcovth - Posts: 61 |
Hello ... Can your team introduce "sc.PriceChartTopCoordinate" and "sc.PriceChartBottomCoordinate"? I am using this code as part of a study in graph region 2, while drawing with this study items in the main price chart region 1. float topPrice=sc.YPixelCoordinateToGraphValue(sc.StudyRegionTopCoordinate); float botPrice=sc.YPixelCoordinateToGraphValue(sc.StudyRegionBottomCoordinate); After some searching, I finally figured out what my bug was: Instead of obtaining the the top and bottom prices of the main price chart region, I was getting the top and bottom values of graph region 2. Therefore my request for "sc.PriceChartTopCoordinate" and "sc.PriceChartBottomCoordinate", that would solve my problem. Thanks in advance. Date Time Of Last Edit: 2014-09-26 23:02:38
|