Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top MQL4 and MQL5 source codes based on user ratings - 141

Submit your code

Keltner channel with standard averaging and averaged over the ATR indicator.

This is a very easy-to-use indicator that displays the changes in Equity and balance of the trading account as it dynamically moves. Particularly useful on the back tester and good for beginners to read this very easy MQL5 code.

The "Dynamic Support and Resistance" Indicator is a versatile tool that combines support and resistance levels with real-time market dynamics. By incorporating previous daily highs and lows, it provides valuable insights into market psychology and identifies potential areas of price reversals or breakouts. With its ability to adapt to changing market conditions and customizable options, traders can stay ahead of trends and make informed decisions. This indicator is suitable for various trading styles and timeframes, empowering both experienced and novice traders with a competitive edge.

Current Candle To Close in x Time

This Expert Advisor is a demo of working with OBJ_CHART objects as conventional charts. You can set custom color settings, attach indicators etc.

This indicator shows the direction of the acceleration of JFatlSpeed price from a larger timeframe at a smaller one.

Trend indicator that displays "weak" bars

The oscillator drawn on the basis of the simplified algorithm of the perceptron

The indicator calculates the Moving Average using a modified algorithm of the linearly weighed Moving Average.

The trading system based on crossing of the DI+ and DI- lines of the ADX_Smoothed indicator

The set of dynamic support and resistance levels using the ATR indicator and Fibo levels.

The channel drawn on High and Low prices of daily candlesticks

The trading system is drawn on the basis of the signals of the JMASlope indicator.

The RSI indicator implemented as a sequence of candlesticks

A trend indicator with four states

A non-normalized oscillator implemented in the form of colored icons.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the values of the XD-RangeSwitch indicator.

The HighsLowsSignal indicator with the timeframe selection option available in input parameters.

A colored cloud formed by the lines of the FATL and SATL digital filters.

The Accumulative Swing Index indicator is applied for accumulative swing index construction.

The CronexCCI indicator with the timeframe selection option available in input parameters.

The wlxBWWiseMan-2 indicator with the timeframe selection option available in input parameters.

The KAGI-1 indicator with the timeframe selection option available in input parameters.

A semaphore signal indicator based on crossovers of the main and the signal lines of the LaguerreFilter indicator.

The LSMA_Angle_ indicator implemented as a sequence of candlesticks

Three Envelopes channels, based on one moving average with different deviation values, drawn as a cloud.

The Ichimoku indicator with the timeframe selection option available in input parameters.

The KalmanFilter_StDev indicator with the timeframe selection option available in input parameters.

An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).

The Expert Advisor trades using the signals of the following indicators: iStdDev (two indicators), iMACD, iCCI, iATR. Moving positions to breakeven.

Maximum lot calculated based on free margin.

A daily bar breakout strategy.

PMF

The Pivot Money Flow indicator displays the direction and the reversal of money flows.

The Expert Advisor opens no more than one position per day. Positions are opened at the specified time. It searches for the Highest and Lowest price in an interval. Data of two iMA (Moving Average, MA) indicators are used.

Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop.

T3 Deviation uses intermediate steps of T3 calculation to get the deviation based on T3. As expected the deviation calculated this way is much smoother than the Standard Deviation (as a result of using T3 which on its own is smoother than the simple moving average), and is "faster" in response to market changes.

Variation of the well known Bollinger Bands indicator.

EMV

Indicator Arms' Ease of Movement Value (EMV).

End Point MA indicator uses the original formula described in the "The End Point Moving Average" article with one deviation: it is made to be "faster" (i.e., to react to market changes in a faster mode than the original version).

The histogram displays the difference of a Close price and iAMA (Adaptive Moving Average, AMA) indicator value.

1...134135136137138139140141142143144145146147148...183