Skip to content
Dave Mabe
Close menu

Amibroker AFL Editor Trick: Bookmarks

By Dave Mabe

Amibroker's built-in AFL editor is an underrated tool.

In every other type of source code file, I use VIM for editing.

The AFL editor has some annoying quirks, but there's a lot to like about it.

Here's a tip that comes in handy.

If you're using the MabeKit column library, your AFL file will be long because all the columns in the library are added automatically.

Let's say you're working in one area of the code, but want to switch to another area and then back again.

Taking the time to scroll with your mouse to find the line can be tedious.

That's where Bookmarks come in.

On any line, you can use the keyboard shortcut ctrl-F2 to place a bookmark.

You'll see a blue bookmark at the beginning of the line.

Then you can use F2 to cycle through the bookmarks quickly, no matter how far away the line is.

No more scrolling and hunting for the line - you go right to it.

Use shift-F2 to cycle backwards through the bookmarks you've set.

You can also access these functions using the Edit menu in the Bookmarks section.

Give it a try.

-Dave

P.S. "The process of becoming a more systematic trader honestly mirrors the journey of becoming a trader at all—lots of ups and downs, frustration, second-guessing, and moments where you want to quit. And then every once in a while, there’s a real moment of clarity and forward progress. Using the AFL code generator in MabeKit feels like one of those moments." - Mike A.

Get Instant Access to MabeKit