MQL5 Source Code Library for the MetaTrader 5 Terminal
The largest library of examples in MQL5:
Expert Advisors, indicators and scripts can be downloaded and tested
absolutely free of charge. You can access the Code Base not only from a Web browser, but also from your MetaTrader 5 Client Terminal and the MetaEditor 5 IDE.
Vote for your favorite programs and discuss
them on the MQL5.community Forum!
Profit Loss Calculator (Author: Rone)
Calculator-panel to calculate profit/loss. Data is calculated either when moving lines, or changing the parameters in input fields of the entry price, lot, profit or loss in pips or in deposit currency
X Bar Clear Close Trend (Author: Rone)
Alternative trend indicator based on the breakthrough pattern of closing the previous bars extremums