MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Market of MQL5 programs

 To add a new program, please log in or register

Buy MQL5-Programs in the Market right from your МеtaTrader 5

The MQL5 language allows creating automated trading programs of various complexity and functionality. The Market of ready-to-use programs for the МеtaTrader 4 and МеtaTrader 5 terminals is growing from year to year.

Now it is even easier to find and purchase programs for MetaTrader 5 - open the Toolbox window of your terminal and go to the Market tab. All the products are just a click away from you!

Latest

Features: The Expert Advisor's conditions for entering and exiting the market are based on the MultiSignals_PCH indicator, which can be downloaded for free from Code Base . The Expert Advisor can be used for trading in the manual, semi-automatic or automatic mode. Multi-currency trading. This version supports 3 symbols. Multi-system trading. In this version, you can set up 4 strategies for each symbol. The Expert Advisor sets a unique magic number for each strategy. Multi-timeframe trading. You can set up trading on any timeframe. You can trade with a fixed lot or turn on the system of money management "Fixed Ratio Money Management" introduced by Ryan Jones. The Expert Advisor includes interactive multi-functional informational an trading panes. When testing the Expert Advisor in the visual mode, you can see an informational pane on the chart, which helps in understanding how the Expert Advisor works in the automatic mode. Parameters of the Expert Advisor: Description of Parameters of the Expert Advisor Number Of Try Number of additional attempts in case of an unsuccessful trade operation. In other words, the Expert Advisor performs an additional attempt after a specific timeout. For example, it can open a position in case the previous attempt has been unsuccessful. It applies to all trade operations. Slippage Acceptable slippage of price. In other words, if there is a slippage when opening a position, the operation will be canceled. Probably, there is a point in using this parameter in case of trading on small timeframes. On/Off Trade Turn on ( true )/off ( false ) trading by a specified symbol. Name Symbol Symbol name. The name should be specified in the same way as in the Market Watch window of the trading terminal. On/Off Time Range Turns on ( true )/off ( false ) trading within a specified time range. Hour of the Start of Trade An hour to start trading from. Hour of the End of Trade An hour, till which is should trade. Close Position in the End Day Enables ( true )/Disables ( false ) the mode, in which a position is closed at the end of day. Close Position in the End Week Enables ( true )/Disables ( false ) the mode, in which a position is closed at the end of week. Period PCH (total) If a value greater than 0 is set, then it will be used as a common parameter for the indicator in all trade strategies of this symbol. Timeframe (total) If the Period PCH (total) value is greater than 0, then the value of this timeframe will be used for the indicator. Trade TS №01 Enables ( true )/Disables ( false ) trading for this trade strategy. Type Entry Indicates which group of signals should be used on this trade section. Period PCH (sub) If the Period PCH (total) value is equal to zero, then this value will be used for the indicator for this trade strategy. Type Take Profit Indicates which type of profit fixing ( Take Profit ) should be used in this trade strategy. Two variants are supported in the current version of the Expert Advisor: NO TAKE PROFIT , Points . It means either not using a Take Profit or setting a Take Profit according to a specified number of points. Points TP Indicates a distance in points for the level of fixing a profit ( Take Profit ) in this trade strategy. Type Stop Loss Indicates a distance in points for the level of protection ( Stop Loss ) in this trade strategy. Two variants are supported in the current version of the Expert Advisor: NO STOP LOSS , Points . It means either not using a Stop Loss or setting a Stop Loss according to a specified number of points. Points SL Indicates a distance in points for the level of protection ( Stop Loss ) in this trade strategy. Fix Lot Value of the fixed volume. If the Money Management On/Off parameter is set to false , then the value of this parameter is used as a volume for trading. Money Management On/Off Enables ( true )/Disables ( false ) the system of money management. If it is set to false , then a fixed lot (volume) will be used for trading; its is specified using the Fix Lot parameter. Start Deposit A starting point for calculation of the volume used for trading in the system of money management. Delta A value indicated as a amount of assets an account has increased/decreased by to increase/decrease the volume used for trading. Start Lot Starting volume that will be increased/decreased. Step Lot Step of volume change. An amount by which the volume used for trading will be increased/decreased. Stop Trade If the deposit size becomes as small as this value, trading will be stopped. Max Draw Down Equity (%) If the deposit size becomes as small as this value, trading will be stopped, and the Expert Advisor will be removed from the chart for the sake of security. After that, a message describing the reason of deletion is written to the log. This rule is also applied when testing and optimizing the parameters. Stop Trade by Free Margin ($) Before performing a trade operation (buy/sell) the calculation is done; if it comes out that the amount of assets will decrease below the specified value as a result of the operation, the operation will not be performed. Stop Loss/Take Profit by Disconnect (p) A real Stop Loss and Take Profit . They are set up beyond the highest and lowest current trade levels. Condition of Selection Criteria Two variants are possible: AND and OR . It applies to the criteria in the OPTIMIZATION REPORT section of parameters. Determines a way of selecting the results of optimization to be written in the file. If the AND variant is selected, all specified conditions must be fulfilled. If OR is selected, at least one of the specified conditions must be fulfilled. Statistic Criterion From a drop-down list you can select a parameter that will be used for forming a condition of writing the results of optimization to the file. NO CRITERION Profit Total Deals Profit Factor Expected Payoff Equity DD Max % Recovery Factor Sharpe Ratio Nothing is written to the file, and it is not created at all if the NO CRITERION is selected for all the parameters marked as Statistic Criterion . Value Criterion A value (limit) for forming the criterion for filtering the results of optimization that are to be written to the file. For example, if the Profit value is selected for the 01 _ Statistic Criterion , the 100 value is set for 01 _ Value Criterion , all the other Statistic Criterion parameters are set to NO CRITERION , then only the results where the number of deals is greater than 100 will be written to the file of optimization results. Use Sound Enables ( true )/Disables ( false ) the system of sound notifications about trade operations. There is a special sound for each event/group of events. The following events have their sounds: Error of trade operation. Opening a position/Increasing volume of a position. Setting/Modifying a pending order/Stop Loss/Take Profit. Deleting a pending order. Decreasing volume of a position. Closing a profitable position. Closing an unprofitable position. Color Schemes Color scheme for a price chart. From a drop-down list you can select one of eight available color schemes for a chart. Green-Gray. Red-Beige. Black-White. Orange-Leaves. Purple-Clouds. Gray-LightGray. Milk-Chocolate. Night-Moon. Add-ons: As a free addition, purchasers of the product can get the BOOK REPORT application via e-mail upon a request. This application allows performing additional analysis of the results of optimization and testing. Additional Information: Not all the features are described here. Detailed information about using this Expert Advisor is given in the Limitless Opportunities with MetaTrader 5 and MQL5 (in Russian).
This script helps user compare with quotes and spread from different brokers. It tell user which one of the spreads is the tiny. Usage: open serveral MetaTrader 5 client terminals from different brokers, put this script to chart.
Jack Pot is an Expert Advisor based on trend and price action. Advance Money Management provides profits and protects balance from significant loss. Input parameters: Risk - Risk (in percents); Take Profit - Take Profit (in pips); Stop Loss - Stop Loss (in pips); Maximum Lots - Maximum Lots allowed; Control Balance Multiplier - Determine how aggressive lot will grow after loss; First Profit - First Partial Profit point (in pips); System has best results on H2 time frame on symbol EURUSD . Presented history results: Testing period: 2011.01.01 - 2012.05.01; Initial deposit = 10 000$; Input parameters set to default. Results: 69000$ net profit !! (about 600%!!!) 2.19 Profit Factor 4.78 Recovery Factor
Demo version of Custom Panel indicator This demo version of Custom Panel indicator allows you to see the indicator in action before purchasing it. You are able to change timeframes displayed by the indicator, but changing rows is not possible. See full version of Custom Panel for a detailed description of all features and options.
MACD techniques are commonly used in the daily tradings. It is useful to find the market trend and divergence/convergence of current trend. This version of MACD is better for people who are doing real world trading to make decisions even faster. It is based on the default MACD, plus the features of the strength of the market force(green bar for long strength, red bar for short strength), and arrows indicating the type of position to open/close. By comparing the piles of the strength bars, you can also predict the trend more easily. All in all, with this indicator, one can make decisions faster and eventually to be ahead of market.

Most rated

Reviews: 2
The trade strategy is based on three moving averages. To determine the trend, it uses three exponentially smoothed moving averages: FastEMA, MediumEMA and SlowEMA. Trade signals: Buy signal: FastEMA>MediumEMA>SlowEMA (upward trend). Sell signal: FastEMA<MediumEMA<SlowEMA (downward trend). Input parameters: Inp_Signal_ThreeEMA_FastPeriod = 8; Inp_Signal_ThreeEMA_MediumPeriod = 38; Inp_Signal_ThreeEMA_SlowPeriod = 48; Inp_Signal_ThreeEMA_StopLoss = 400; Inp_Signal_ThreeEMA_TakeProfit = 900; Inp_Money_FixLot_Percent  = 10.0; Inp_Money_FixLot_Lots  = 0.1;
The strategy is based on the Alligator technical indicator, described by Bill Williams in "Trading Chaos". The system is based on three moving averages (Lips, Teeth and Jaw lines), and oscillators, calculated using the difference between them. The trading signals are generated after crossover of the Alligator lines, depending on trend, determined by order of these lines. In the case of upward trend the Lips line (with minimal period) is the highest, the next is the Teeth line, and the lowest is the Jaw line. The similar but opposite case in the case of downward trend. The trade signals: Open long position: crossover of the Alligator lines and increase of the distance between them in the case of the upward trend; Close long position: upward crossover of Lips line with the Jaw line; Open short position: crossover of the Alligator lines and increase of the distance between them in the case of the downward trend; Close short position: downward crossover of Lips line with the Jaw line; Input parameters: Inp_Signal_Alligator_JawPeriod = 33; Inp_Signal_Alligator_JawShift = 8; Inp_Signal_Alligator_TeethPeriod = 28; Inp_Signal_Alligator_TeethShift  = 5; Inp_Signal_Alligator_LipsPeriod = 15; Inp_Signal_Alligator_LipsShift   = 3; Inp_Signal_Alligator_MaMethod = MODE_SMMA; Inp_Signal_Alligator_Applied  = PRICE_MEDIAN; Inp_Signal_Alligator_CrossMeasure= 5; Inp_Money_FixLot_Percent = 10.0; Inp_Money_FixLot_Lots = 0.1;
The idea of the system is to indentify the reversal patterns using the calculation of the composite candle. The reversal patterns is similar to the "Hammer" and " Hanging Man " patterns in Japanese candlestick analysis. But it uses the composite candle instead the single candle and doesn't need the small body of the composite candle to confirm the reversal. Input parameters: Range - maximal number of bars, used in the calculation of the composite candle . Minimum - minimal size of the composite candle (in conventional points). ShadowBig and ShadowSmall - shadows (in composite candle units ). Limit , StopLoss and TakeProfit - open price, SL and TP levels, они задаются относительно цены закрытия композитной свечи ( composite candle units ). Expiration - order expiration time (in bars), used in trading with pending orders (Limit!=0.0). The reversal candlestick patterns are determined as follows. It calculates the composite candle parameters starting from the recent completed bar (with index 1) to the number of bars, defined by Range input parameter (See composite candle calculation ). If the composite candle size is greater than value, specified by Minimum input parameter, it checks the reversal conditions of the composite candle by analysis of its shadows. The bears power is characterized by size of the upper shadow of the composite candle, the bulls power is characterized by size of the lower shadow. To confirm the reversal of the bearish trend (and start of the bullish) it is needed the following: the size of the lower shadow (bulls power) must be greater than value, defined by ShadowBig input parameter . The size of the upper shadow (bears power) must be less than value, defined by ShadowSmall input parameter. To confirm the reversal of the bullish trend (and start of the bearish) it is needed the following: the size of the upper shadow (bears power) must be greater than value, defined by ShadowBig input parameter . The size of the lower shadow (bulls power) must be less than value, defined by ShadowSmall input parameter . In addition to the reversal strategy, it's possible to use the breakdown strategies by specifying the negative value of Limit input parameter. Depending on Limit, three different ways of market entry are used: Limit>0. It will enter on back movement on the price, better than market price (The Buy Limit or Sell Limit pending orders will be placed depending on trade signal) Limit<0. It will enter in price movement direction (The Buy Stop or Sell Stop pending orders will be used depending on trade signal). Limit=0. It will trade using the market prices.
Reviews: 1
Navigates and shows Crosshairs synchronously on all open charts over various time frames. It can simultaneously run multiple instances. It can work in two modes: Mode 1: Mouse movement Mode 2: Only Mouse Click Update 1.50 New function (parameters) "Jump to the OHLC" navigates to the selected line course only OHLC value. (Open, High, Low, Close).
The strategy is based on price crossover with Moving Average indicator, confirmed by ADX indicator. The trade signals: Buy: closing price of the last completed bar is higher than moving average, the moving average increases at the current and last completed bars. Sell: closing price of the last completed bar is lower than moving average, the moving average decreases at the current and last completed bars. To filter the false signal, it checks the trend power (ADX>ADXmin) and trend direction using the Directional Movement Indexes (DI+ and DI-). Input parameters: Inp_Signal_ADX_MA_PeriodADX = 48; Inp_Signal_ADX_MA_MinimumADX = 13.0; Inp_Signal_ADX_MA_PeriodMA = 50; Inp_Signal_ADX_MA_StopLoss = 400; Inp_Signal_ADX_MA_TakeProfit = 900; Inp_Money_FixLot_Percent = 10.0; Inp_Money_FixLot_Lots = 0.1;