
Using low-level graphics - AmiBroker
Completely new low-level graphic AFL interface allows complete flexibility in creating any kind of user-defined display. The interface mimics closely Windows GDI API, with same names for most functions for easier use for GDI-experienced programmers. The only differences are: All functions use PIXELS as co-ordinates (when used on screen).
Plotting a chart using gfx - AFL Programming - AmiBroker …
Aug 12, 2017 · Below an example of how I would plot a single price array in gfx. The problem is that it executes ~1000 slower than the build in Plot(). This is expected of course - hence this post.
AmiBroker Users' Knowledge Base » GFX Programming
Jan 26, 2011 · Moving Low Level Graphics (GFX) Objects on your Charts When drawing gfx objects on your charts, you can move them around by applying an X and Y offset to the coordinates of the object. The following code shows a simple example of how you can move a square object around your chart.
Multiple Low Level Graphics Charts - AFL Programming
Jun 28, 2018 · Thanks to @fxshrat I've now worked out how to create a bar chart based upon multiple series using the low level graphics library functions within my own custom 'Report Charts' file which renders as required in back test reports.
Building Custom GFX Tables in AmiBroker
Feb 17, 2025 · AmiBroker’s Graphics (GFX) library lets us draw shapes, text, and tables on the chart, offering complete freedom over layout and design. The code below demonstrates how to create a simple table that shows price, volume, RSI, ATR, and moving averages.
Plotting a chart using gfx - Page 2 - AFL Programming
Nov 30, 2019 · The recipe for better performance is as follows: If you are using low-level graphics: First you should limit drawing to visible range (GetFirstVisibleBar,GetNextVisibleBar). Second you should NOT be doing coordinate conversion in AFL.
AFL Function Reference - GFXTEXTOUT - AmiBroker
Text color can be set using GfxSetTextColor () function. If a formula needs to update the current position when it calls GfxTextOut, the formula can call the GfxSetTextAlign function with flags set to 1 (TA_UPDATECP Windows flag).
Using low-level graphics functions - AmiBroker
Completely new low-level graphic AFL interface allows complete flexibility in creating any kind of user-defined display. The interface mimics closely Windows GDI API, with same names for most functions for easier use for GDI-experienced programmers.
AmiBroker Users' Knowledge Base » Creating GFX Chart-Overlays (v3)
Mar 20, 2008 · Once the pixel layout is fully understood, GFX becomes an extremely powerful tool and may just give you an additional trading edge. The first and most important step in using GFX functions is to understand how pixels make up your display.
Point and figure chart custom y axis using gfx* - AFL …
Feb 10, 2021 · I finally (almost) got the code done for the gfx* version of the point and figure chart. I would like to implement a custom y axis that sits on top of the regular y axis but draw in the minor lines and text in the value…
- Some results have been removed