2023.11.06
There are more than 11,180 codes published in Codebase
2023.11.05
Most downloaded source codes this week
- Take Profit based on your current profit Most EAs tend to close orders in take profit based on the distance in pips from the purchase price. However, this MQL4 code is based mainly on the current profit.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.11.05
New publications in CodeBase
- Multi_BreakEven.mt5 Multi_BreakEven is a script file that enables setting multiple entry positions to breakeven, either through pips or a target price, once the trade becomes favorable.
- Multi_BreakEven.mt4 Multi_BreakEven is a script file that allows multiples entry positions to set to breakeven using pips or target price when the trade is in your favor.
2023.11.03
New publications in CodeBase
- Multi colored trend indicator MT5 This indicator uses two moving averages to calculate the market trend and changes color depending on the trend direction.
- Amazing Oscilator A combination of data analysis from the Awesome Oscillator and the resulting direction of the candles relative to the previous range
2023.10.31
Most downloaded source codes this month
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Trend Predictor New level of trend prediction!
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.10.31
New publications in CodeBase
- Rainbow indicator for mt5 This is an indicator with a rainbow-like display, both for trend or pullback prediction.
- Hidden Engulfing Hidden Engulfing Candlestick Pattern
- Swing Highs and Lows Anlayse swing highs and lows
- Rainbow Indicator for mt4 This is an indicator with a rainbow-like display, both for trend or pullback prediction.
- Take Profit based on your current profit Most EAs tend to close orders in take profit based on the distance in pips from the purchase price. However, this MQL4 code is based mainly on the current profit.
2023.10.29
Most downloaded source codes this week
- Donchian Channel Scalping Strategy EA A Donchian Channel Strategy breakout EA Scalper. Best results at H1.
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
- Trend Predictor New level of trend prediction!
2023.10.25
New publications in CodeBase
- Donchian Channel for beginners by William210 Donchian Channel for traders or young developers by William210
- Keltner Channel code for beginners by William210 Keltner Channel for traders or young developers by William210
2023.10.24
Most downloaded source codes this month
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Trend Predictor New level of trend prediction!
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.10.23
New publications in CodeBase
- Simple Support and Resistance Simple Support, Resistance, and Mid-Line boilerplate
- Range Ratio Indicator shows histogram of ratio of sum of lower time frame ranges to current timeframe bar range
2023.10.22
Most downloaded source codes this week
- Donchian Channel Scalping Strategy EA A Donchian Channel Strategy breakout EA Scalper. Best results at H1.
- Trend Predictor New level of trend prediction!
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
2023.10.21
New publications in CodeBase
- Simplest CSV file reader Provide simplest class to read and parse CSV file
- MT5 CCI with shift parameter The default CCI in MT5 doesn't have the shift parameter. This script implements the shift.
2023.10.19
New publications in CodeBase
- Smooth Algorithms - Corrected/Modified - library for MetaTrader 5 Smooth Algorithms fixed version plus Trade Algorithms plus full operational EA, plus two indicators . So you will get complete project where you be able to see example how to use and implement this libraries
- M4HA Trend indicator based on the intersection of adaptive HMA and its smoothed line. I recommend using it together with the flat indicator to determine the beginning of a trend early
2023.10.17
Most downloaded source codes this month
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Trend Predictor New level of trend prediction!
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.10.15
Most downloaded source codes this week
- Donchian Channel Scalping Strategy EA A Donchian Channel Strategy breakout EA Scalper. Best results at H1.
- Trend Predictor New level of trend prediction!
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
2023.10.10
Most downloaded source codes this month
- Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.10.09
New publications in CodeBase
- Double Bolling Band Signal Let follow previous EA by this link https://www.mql5.com/en/code/46630
- Donchian Channel Scalping Strategy EA A Donchian Channel Strategy breakout EA Scalper. Best results at H1.
2023.10.08
Most downloaded source codes this week
- Trend Predictor New level of trend prediction!
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.10.04
New publications in CodeBase
- Price Rebound Calculator This indicator calculates the percentage of the probability of a price reversal from a given size of the maximum rollback based on the history of the chart movement
- The Double Bollinger Band Strategy MT4 The Double Bollinger Band Strategy makes use of two Bollinger Bands in order to filter entries and exits in the forex market.
2023.10.03
Most downloaded source codes this month
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
- Ehlers reverse EMA A trend or cycle indicator with very low lag.
2023.10.01
Most downloaded source codes this week
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
- Trend Predictor New level of trend prediction!
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.09.27
New publications in CodeBase
- ATR Trailing Stop with 1 Buffer only This is an edit of the Mod_ATR_Trailing_Stop by MQL5 user @Scriptor found here https://www.mql5.com/en/code/20423 . MT5 indicator .mql5 and .ex5 files, report any bugs, I'll fix.
- Trend Predictor New level of trend prediction!
2023.09.26
Most downloaded source codes this month
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue) Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it. All Credits of this Amazing indicator to Olexiy Polyakov. I have just fixed the iBarShift and iTime issues, since this is such a great indicator for traders ! Now it is working fine with this files.
2023.09.26
New publications in CodeBase
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
- Check for Market Open Hours This Include File checks for Market Open Hours. An EA to test it is also included.
- ATR - Average True Range - code for beginners by William210 ATR - Average True Range - beginner tutorial to learn how to code in MQL5
- Symbol Filling Policy Determination This function allows you to retrieve and return the filling policy of a symbol in MetaTrader 5. This is useful for making trading decisions based on the filling policy of a specific financial instrument.
- Breakout Martin Gale Expert Advisor for mql4 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
2023.09.24
Most downloaded source codes this week
- Using Moving Averages with an EA (Sample Source Code) This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.
- Advisor Based on RSI and Martingale "This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.09.24
New publications in CodeBase
- AO - Awesome Oscillator - without iAO() code for beginners by William210 AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5
- Marubozu A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders.
- AMA - Adaptive Moving Average - code for beginners by William210 AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5
- Alligator code for beginners by William210 Alligator beginner tutorial to learn how to code in MQL5
- Super Scalper EMAs Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator
2023.09.21
New publications in CodeBase
- Rsi without Irsi() code for beginners by William210 Rsi without Irsi() beginner tutorial to learn how to code in MQL5
- Fractals - adjustable period and prices Fractals - adjustable period and prices for MT5
2023.09.20
New publications in CodeBase
- Hull Moving Average Here is my implementation of a colored Hull Moving Average.
- Wick Ratio Candlesticks Wick Ratio Candlesticks are recognized by its upper and lower wick ratio instead of open and close properties.
2023.09.19
Most downloaded source codes this month
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
2023.09.17
Most downloaded source codes this week
- MaybeAwo EA a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.
- Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.09.16
New publications in CodeBase
- Advisor Based on RSI and Martingale "This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."
- Using Moving Averages with an EA (Sample Source Code) This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.
2023.09.12
Most downloaded source codes this month
- Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.09.11
New publications in CodeBase
- Automatic Chart Refresher A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart.
- Stochastic code for beginners by William210 Stochastic beginner tutorial to learn how to code in MQL5
- Plot the previous candlestick OHLC of the selected period It will automatically plot a colored horizontal line on the previous open/highs/lows/close of the selected period, and it will make the lines consistent on this price when switching timeframes.
2023.09.10
Most downloaded source codes this week
- Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2023.09.09
New publications in CodeBase
- Translating mouse click on chart into price value (Helper function) This is a helper function which enables you to find the price of the symbol (the prices on the Y-axis) wherever you click the mouse on the chart. Using OnChartEvent, we don't have an MQL5 function in the API to do this, we can only obtain X and Y pixel values with mouse click.
- Drag and Drop Move TakeProfit Set TakeProfit by just dragging and dropping script on the desired price level.
- Drag and Drop Move StopLoss Set StopLoss by just dragging and dropping script on the desired price level.
- Momentum code for beginners by William210 Momentum beginner tutorial to learn how to code in MQL5
- MaybeAwo EA a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.
2023.09.05
Most downloaded source codes this month
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
- Support and Resistance indicator for MQL5 This is a custom support and resistance indicator, signaling bouncebacks and key market levels.
2023.09.05
New publications in CodeBase
- Signals and Probability class With these classes you can create and test your signals runtime.
- Probability and Signals class With these classes you can create and test your signals runtime.
2023.09.04
New publications in CodeBase
- Ichimoku code for beginners by William210 Ichimoku beginner tutorial to learn how to code in MQL5
- Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
2023.09.03
Most downloaded source codes this week
- Ehlers reverse EMA A trend or cycle indicator with very low lag.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Ima() very simply. A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.
2023.09.02
New publications in CodeBase
- MACD code for beginners by William210 MACD beginner tutorial to learn how to code in MQL5
- Bands Bollinger code for beginners by William210 Bands Bollinger beginner tutorial to learn how to code in MQL5
2023.08.30
New publications in CodeBase
- iRSI Very Simple iRSI Very Simple A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.
- Ehlers reverse EMA A trend or cycle indicator with very low lag.
2023.08.29
Most downloaded source codes this month
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Support and Resistance indicator for MQL5 This is a custom support and resistance indicator, signaling bouncebacks and key market levels.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.08.27
Most downloaded source codes this week
- Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Support and Resistance indicator for MQL5 This is a custom support and resistance indicator, signaling bouncebacks and key market levels.
2023.08.24
New publications in CodeBase
- Ima() very simply. A multi timeframe version is available with colors for orientation, for developers or profitable traders for free. Offer under conditions. Other multi timeframe indicators are also available.
- Gaussian Low Lag Filters Gaussian Filter Multi Pole smoother of price data
2023.08.22
Most downloaded source codes this month
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- AK-47 Scalper EA The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders.
2023.08.22
New publications in CodeBase
- AllAverages v4.9 MT5 One of the latest version of this indicator at the moment. Huge base of different modifications of moving averages, with multitimesframe function, sending signals to e-mail and push notifications.
- Plot History Plot trade history levels on the chart for MT4
2023.08.20
Most downloaded source codes this week
- Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2023.08.15
Most downloaded source codes this month
- KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
- AK-47 Scalper EA The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.