6 FeatureEditor
Niquel Mendoza редактировал(а) эту страницу 2026-04-26 13:02:48 +00:00

Feature Editor

In this tab you can create, save and compile .fgblc files, a DSL format for describing the features of an ML model. These features will later be used by your bot or by the Python trainer.


Buttons

  • Regenerate: Restores the editor content to the base template. Confirmation will be requested before replacing the current content.

  • Save: Saves the current content to the loaded file. If no file is active, a dialog will open to select or create one.

  • Load: Allows loading a features file. You can choose between a default template or a specific file. Only .txt or .fgblc files are allowed.

  • Compile: Compiles the current .fgblc file and generates a .csv with the features.

    • If a file is active, you will be asked whether to use the same name changing only the extension to .csv, or to select a different output file.
    • If no file is active, you must first save the content with the Save button and then select that file when compiling.

    Compiling requires a .fgblc file saved on disk. It is not possible to compile directly from the editor content without having saved it first.

  • Font size: Adjusts the editor font size. Minimum: 8, maximum: 14.


The complete FGBLC language description can be found in the following README: https://forge.mql5.io/nique_372/AiDataGenByLeo/src/branch/main/GenericData/Parser/README.md

Notes:

  • When using this tool to save .fgblc files (and later using them in the InitByFile features loader) you must indicate the feature generator name on the first line of code, for example:
 Name: [MiGeneradorDeFeatures]
  • When working with files, make sure they are all in UTF16-LE CRLF format.