[amibroker] GFX: how to calculate the position of the last bar in X-pixels?

 

Hello,

I want to draw a horizontal line from the last close to a custom Y-axis to the right of it, like shown below. The way I see it I cannot use the GfxSetCoordsMode( mode ) because we can't mix the two modes.

How do I determine the X-pixel value of the last bar which can be anywhere on the chart?

Herman





__._,_.___

Posted by: psytek@bell.net
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon