Install Script

The indicator or script code usually consists of a pair of main files, one for MQL4 and MQL5 (with extensions .mq4 and .mq5), and folders with included files (...- include).

To install, just copy the folder containing these files and the folder in one place, for indicators it is MQL5/Indicators. No need to move the ...-include folder to the MQL5/Includes folder, because the code uses relative paths, and this method will not work.

Folder with included files will not interfere in MetaTrader, because it does not have the main indicator code, and it will not appear in the folder structure in the Navigator.

For example, to install the VP indicator, just copy the VP folder from this repository to the MQL5/Indicators folders. Again, the VP.mq5 file and the VP-include folder must be in the same folder. In order not to have an extra level folder in the Navigator, you can copy the contents of MQL5/Indicators/VP directly to MQL5/Indicators.

Below are shown options for the correct location of files and folders after installing two indicators - VP and Index.

As is (in the repository):

[MQL5]
    [Indicators]
        [VP]
            [VP-include]
            VP.mq5
        [Index]
            [Index-include]
            Index.mq5
Without an extra folder in the Navigator for 4 and 5:
[MQL5]
    [Indicators]
        [Index-include]
        [VP-include]
        Index.mq5
        VP.mq5

To find out where the MQL5 folder is located in MetaTrader or MetaEditor, you can call the menu File/Open Data Folder.