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

 

... for example;

GfxSetCoordsMode(1);

BI = BarIndex();
x = LastValue(BI);
y = LastValue(C);
GfxSelectPen(colorGold, 2);
GfxMoveTo(x, y);
GfxLineTo(x + 50, y);

GfxSetCoordsMode(0);

__._,_.___

Posted by: milosz.mazurkiewicz@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)
**** 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