AmiBroker 6.42.0 BETA released

A new BETA version (6.42.0) of AmiBroker is available now.


32-bit version:
(10 414 936 bytes)

64-bit version:
(11 036 304 bytes)


DevLog announcement:

For the details see ReadMe.html and ReleaseNotes.html inside AmiBroker folder.


This version is a free upgrade only for users who registered AmiBroker after November 27, 2020 . Users who registered earlier, would need to purchase license upgrade. To find out the version you currently have use Account Information page at

CHANGES FOR VERSION 6.42.0 (as compared to 6.41.0)

  1. UI: If modal window is displayed (like Filter dialog) and user clicks on blocked parent 3 times in a row, the modal window is repositioned to where mouse cursor is, to bring attention of the user to the modal window that needs to be closed
  2. Scheduler: added "Pause" button to pause execution of scheduled tasks (batches already running will complete normally)
  3. IQFeed: the plugin now has an option to consolidate unbundled ticks (i.e. ticks with same TickID)
  4. IQFeed: the plugin now has "Symbol guide" context menu option
  5. Fixed possible crash when drawing pointer become invalid (now drawings are referred by bound checked index)
  6. AFL: one-shot auto-save of persistent static variables feature is now available via SetOption("StaticVarAutoSave", -1 )
  7. AFL: new field supported by GetOption("BHSymbol") - get Portfolio B&H symbol. Note that this is read-only (can't set it via SetOption)

This thread is continuing the discussion from AmiBroker 6.41.0 BETA released



"\n" is not accepted anymore in Plot ?



The new line character MUST NOT be used in Plot() names because Plot names are used for parameters (ParamField) and using new lines causes parameter corruption.

Plot names should describe NAME, not formatting. So only alphanumeric characters are allowed.

Your code is bad and should be fixed.
If you need line breaks in your Titles, you can use Title variable assignment that allows free formatting including new line characters.

The ParamField function may have omitted the "\n".

Please consider a styleTitleNewLine, whenever it is used creates a new line in tittle

1 Like

No, this is not negotiable. Chart names were NEVER intended to contain new line characters. Using it that way was abusing the Plot() function. The new error simply sanctions what was ALWAYS prohibited.

The Title variable is what you should use if you want new lines and custom titles.

Title = "This\nIs\nYour\nCustom Title"; // only here you can use new lines

You can also use auto-wrap that wraps the title automatically according to screen (it also requires for proper operation that new line characters are NOT included in chart names)


I love the new IB plugin... it populates the Full Name field automatically! :heart_eyes:

I just downloaded AB ver 6.42, when using this AFL. Unable to use, could please help. Thanks

Relative Performance_modified2

Remove \n from title parameter in Plot. See the above the question has been already answered.

1 Like

Sir Please remove this error in next update. Due to this a lot of previous AFL is breaking and need edit.

The formulas should be fixed, new line wasn’t allowed in chart name and caused problems. The error message points out an error in your FORMULA

Thanks very much Sir

Discussion is continued here: