Latest Code Publications in CodeBase
2024.11.24
Most downloaded source codes this week
- SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.
- SuperTrend SuperTrend indicator.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2024.11.19
Most downloaded source codes this month
2024.11.17
Most downloaded source codes this week
- simple mt5 trade copier this is a copier template
- SuperTrend SuperTrend indicator.
- SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.
2024.11.16
New publications in CodeBase
- Get min margin in to csv The script MinMargins.mq5 is designed to help traders quickly calculate and document the minimum amount of money required to open a position with the smallest lot size for all symbols available in the Market Watch. This data is saved to a CSV file for easy review and analysis.
- MT4 to MT5 Convertor (MT5Compat.mqh) A new interface library has been developed to simplify the process of converting MT4 indicators and Expert Advisors (EAs) to MT5. This library supports most of the MetaTrader 4 functions, offering developers a unified solution for cross-platform compatibility.
- MT4 to MT5 Convertor (MT5Compat.mqh) A new interface library has been developed to simplify converting MT4 indicators and Expert Advisors (EAs) to MT5. This library supports most of the MetaTrader 4 functions, offering developers a unified solution for cross-platform compatibility.
2024.11.15
New publications in CodeBase
- SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.
- Comment A simple replacement for a comment.
Works in the tester 50 times faster than the standard function.
- PPF - Past Present Future The same PNB from Yousufkhodja Sultonov.
2024.11.13
New publications in CodeBase
2024.11.12
Most downloaded source codes this month
- Fair Value Gap (FVG) Indicator The Fair Value Gap (FVG) Indicator identifies price gaps that occur when there is an imbalance between buying and selling pressure. It highlights areas where price is likely to return to fill the gap, providing potential trade entry points based on market inefficiencies.
- SuperTrend SuperTrend indicator.
- b-clock Show minutes and seconds left before new candle is appeared.
2024.11.10
Most downloaded source codes this week
- Hammer Indicator The code above is a "Hammer" indicator that detects candlestick hammer formations (bullish and bearish) and inverted hammer formations (bullish and bearish) on a MetaTrader 5 chart. This indicator identifies price reversal patterns by calculating the size and ratio of the candlestick wicks based on adjustable parameters: MaxRatioShortWick, MinRatioLongWick, and MinCandleSize. When a pattern is detected, the indicator displays a colored arrow near the candle’s lowest or highest price according to the pattern’s direction. The code also includes functions to create and delete objects automatically when the indicator is initialized or stopped.
- AutoFibo indicator of two last swings based on ZigZag The AutoFibo indicator is an advanced Fibonacci retracement tool that automatically draws Fibonacci levels based on the ZigZag pattern. This indicator is designed to help traders quickly identify potential support and resistance levels in trending markets.
- Lot calculator - risk management tool This tool allows you to calculate the correct lot size of the next trade by following some simple money management rules.
2024.11.10
New publications in CodeBase
2024.11.05
Most downloaded source codes this month
2024.11.03
Most downloaded source codes this week
- AutoFibo indicator of two last swings based on ZigZag The AutoFibo indicator is an advanced Fibonacci retracement tool that automatically draws Fibonacci levels based on the ZigZag pattern. This indicator is designed to help traders quickly identify potential support and resistance levels in trending markets.
- SuperTrend SuperTrend indicator.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2024.10.31
New publications in CodeBase
- Hammer Indicator The code above is a "Hammer" indicator that detects candlestick hammer formations (bullish and bearish) and inverted hammer formations (bullish and bearish) on a MetaTrader 5 chart. This indicator identifies price reversal patterns by calculating the size and ratio of the candlestick wicks based on adjustable parameters: MaxRatioShortWick, MinRatioLongWick, and MinCandleSize. When a pattern is detected, the indicator displays a colored arrow near the candle’s lowest or highest price according to the pattern’s direction. The code also includes functions to create and delete objects automatically when the indicator is initialized or stopped.
- Day Of Week, Week Of Year and other marks in Data Window and on chart WeekDays indicator displays Day Of Week, Week Of Year, Day Of Year or Bar Index in the Data Window, and optionally in labels on the chart.
2024.10.29
Most downloaded source codes this month
- Position Risk Calculation Tool An indicator that dynamically calculates risk (in percentages and money) based on the lot size and stop loss
- AdaptiveTrader Pro EA This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is tailored to optimize trading decisions and manage risk effectively in volatile market conditions.
- The Roofing Filter The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82).
2024.10.27
Most downloaded source codes this week
- Simplified "EuroSurge" Expert Advisor This expert opens trades based on signals from multiple technical indicators.
- b-clock Show minutes and seconds left before new candle is appeared.
- Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
2024.10.25
New publications in CodeBase
- AutoFibo indicator of two last swings based on ZigZag The AutoFibo indicator is an advanced Fibonacci retracement tool that automatically draws Fibonacci levels based on the ZigZag pattern. This indicator is designed to help traders quickly identify potential support and resistance levels in trending markets.
- Range Forecast H1 The indicator displays the actual range of the hourly candle in percent and the calculated range based on average statistics.
2024.10.23
New publications in CodeBase
- Swap Monitor This service periodically checks swaps for predefined symbols and saves detected changes into CSV-files for further analysis and potential replay (not implemented here). Also it monitors and alerts swap changes of existing positions.
- Candle Size The indicator searches for candles on the price chart that are larger than the size specified in the settings and marks them on the chart.
2024.10.23
There are more than
11 410 codes published in
Codebase
2024.10.22
Most downloaded source codes this month
- QuickTrend Scalper This Expert Advisor (EA) is designed for high-frequency trading on the 1-minute (M1) chart in both forex and crypto markets. It uses RSI and candlestick patterns to identify buy and sell signals, automatically executing trades with dynamic stop loss, take profit, and trailing stop levels based on market volatility.
- AdaptiveTrader Pro EA This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is tailored to optimize trading decisions and manage risk effectively in volatile market conditions.
- Fair Value Gap (FVG) Indicator The Fair Value Gap (FVG) Indicator identifies price gaps that occur when there is an imbalance between buying and selling pressure. It highlights areas where price is likely to return to fill the gap, providing potential trade entry points based on market inefficiencies.
2024.10.22
New publications in CodeBase
2024.10.20
Most downloaded source codes this week
2024.10.20
New publications in CodeBase
2024.10.15
Most downloaded source codes this month
- 2-Pair Correlation EA The 2-Pair Correlation EA is a free Expert Advisor that trades BTC/USD and ETH/USD, capitalizing on their price correlation. The EA opens trades when the pairs diverge and closes them as they realign, automating your trading with minimal effort.
- Swing High Low and Fibonacci Retracement Indicator This is an indicator that combines swing high/low and Fibonacci Retracement to identify potential buying zones.
- buysell+sl+tp script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)
2024.10.15
New publications in CodeBase
- Script to extract Candlesticks data from all time frames to CSV. This MQL5 script exports candlestick data for various timeframes into a CSV file, capturing essential market information like open, high, low, and close prices. It analyzes each candlestick's characteristics, including body and wick sizes, while calculating additional metrics such as candle gaps. After processing the latest 21 bars, it notifies the user upon successful data export.
- Simplified "EuroSurge" Expert Advisor This expert opens trades based on signals from multiple technical indicators.
2024.10.13
Most downloaded source codes this week
- Fair Value Gap (FVG) Indicator The Fair Value Gap (FVG) Indicator identifies price gaps that occur when there is an imbalance between buying and selling pressure. It highlights areas where price is likely to return to fill the gap, providing potential trade entry points based on market inefficiencies.
- SuperTrend SuperTrend indicator.
- b-clock Show minutes and seconds left before new candle is appeared.
2024.10.13
New publications in CodeBase
- Simplest Logger class for MetaTrader 5 The simplest class for logging in MetaTrader 5 with support for levels, message format, include and exclude filters on substrings.
- TimeServerDaylightSavings Time-related functions for empirical detection of server time zone and daylight savings mode (DST) from history of quotes
2024.10.08
Most downloaded source codes this month
- SuperTrend SuperTrend indicator.
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
2024.10.06
Most downloaded source codes this week
2024.10.04
New publications in CodeBase
- Custom crosshair cursor with synchronization Synchronized custom crosshair indicator showing price and (server/local) time.
- Perfect Seconds Chart Perfect Seconds chart indicator allows you to convert minute candles of live data into seconds.
1. Choose any number of seconds to close a bar with accurate time.
2. This is Live OHLC rates based data, It works even if ticks are not available.
3. No external DLL required, it works smoothly on VPS
4. Fast and optimized code
5. Supports Crypto Pairs such as BInance, Kucoin and all other exchanges where Futures live chart can be converted into seconds easily.
6. Support all type of symbols such as Gold and Forex pairs.
7. Options to delete symbol and rates.
2024.10.01
Most downloaded source codes this month
- HiLo High and Low Line Indicator
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
2024.09.29
Most downloaded source codes this week
- Position Risk Calculation Tool An indicator that dynamically calculates risk (in percentages and money) based on the lot size and stop loss
- AdaptiveTrader Pro EA This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is tailored to optimize trading decisions and manage risk effectively in volatile market conditions.
- The Roofing Filter The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82).
2024.09.28
New publications in CodeBase
2024.09.24
Most downloaded source codes this month
- Trend Strength Index The Trend Strength Index indicator measures strength of current trend.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
2024.09.22
Most downloaded source codes this week
- QuickTrend Scalper This Expert Advisor (EA) is designed for high-frequency trading on the 1-minute (M1) chart in both forex and crypto markets. It uses RSI and candlestick patterns to identify buy and sell signals, automatically executing trades with dynamic stop loss, take profit, and trailing stop levels based on market volatility.
- AdaptiveTrader Pro EA This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is tailored to optimize trading decisions and manage risk effectively in volatile market conditions.
- Fair Value Gap (FVG) Indicator The Fair Value Gap (FVG) Indicator identifies price gaps that occur when there is an imbalance between buying and selling pressure. It highlights areas where price is likely to return to fill the gap, providing potential trade entry points based on market inefficiencies.
2024.09.22
New publications in CodeBase
- Position Risk Calculation Tool An indicator that dynamically calculates risk (in percentages and money) based on the lot size and stop loss
- Logging V2 for both MQL4 and MQL5 The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.
- PTB Indicator Description: PTB.mq5
Overview: The PTB.mq5 indicator for MetaTrader 5 calculates short-term and long-term high and low prices, along with Fibonacci retracement levels based on these extremes.
Features:
Short-Term High and Low: Identifies immediate support and resistance over a user-defined short length.
Long-Term High and Low: Analyzes broader market trends over a longer period.
Fibonacci Levels: Plots key retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) for potential reversal points.
Input Parameters:
shortLength: Number of candles for short-term calculation.
longLength: Number of candles for long-term calculation.
Visual Representation:
Distinct colors and widths for each line to differentiate between high/low and Fibonacci levels.
Usage: Helps traders identify entry/exit points and monitor market trends based on historical price levels.
- The Doji Candelstick Pattern The Doji Pattern Detector EA is designed to automatically detect the classic Doji candlestick pattern on any chart. A Doji pattern occurs when the open and close prices of a candle are very close to each other, signaling market indecision. This EA identifies Doji candles where the open and close prices are within a small range and positioned near the midpoint of the candle's high and low.
2024.09.21
New publications in CodeBase
- Code To Check And Delete Chart Objects For MT5 - The script scans through the current chart for any available chart objects,
- Counts and delete them accordingly
- And log the the names of the objects on the chart respectively.
- ChartObjectsCopyPaste Copy and paste selected graphical objects between charts via Windows clipboard as text. Use Ctrl+Q on a source chart, then Ctrl+J on a target chart.
2024.09.19
New publications in CodeBase
2024.09.18
There are more than
11 390 codes published in
Codebase
2024.09.17
Most downloaded source codes this month
- Trend Strength Index The Trend Strength Index indicator measures strength of current trend.
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
2024.09.16
New publications in CodeBase
- Market Watch Panel Utility A real-time monitoring tool for MetaTrader 5 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience.
- Balance_Reset This library simulates prop trading firm scenarios by resetting the account balance based on configurable profit and loss thresholds during backtesting, and logs reset results for analysis.
2024.09.15
New publications in CodeBase
- AdaptiveTrader Pro EA This Expert Advisor (EA) for MetaTrader leverages a combination of technical indicators, including RSI, ATR, and moving averages, to identify high-probability trading opportunities. Equipped with dynamic lot sizing, trailing stops, and performance-based adjustments, it is tailored to optimize trading decisions and manage risk effectively in volatile market conditions.
- Neurotest is a text for the neutral network would like to know your opinion.
- CounterTrend Ema V1 3 Ema moving averages identify trend change with rsi confirm
2024.09.15
Most downloaded source codes this week
- 2-Pair Correlation EA The 2-Pair Correlation EA is a free Expert Advisor that trades BTC/USD and ETH/USD, capitalizing on their price correlation. The EA opens trades when the pairs diverge and closes them as they realign, automating your trading with minimal effort.
- Swing High Low and Fibonacci Retracement Indicator This is an indicator that combines swing high/low and Fibonacci Retracement to identify potential buying zones.
- buysell+sl+tp script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)
2024.09.13
New publications in CodeBase
- QuickTrend Scalper This Expert Advisor (EA) is designed for high-frequency trading on the 1-minute (M1) chart in both forex and crypto markets. It uses RSI and candlestick patterns to identify buy and sell signals, automatically executing trades with dynamic stop loss, take profit, and trailing stop levels based on market volatility.
- Rsi Ema Engulfing Bar V3 Engulfing Bar Occurs below Ema moving Average that is rising - Buy Trade -
- Rsi Engulfing Bar V2 Rsi Indicator
- 2-Pair Correlation EA The 2-Pair Correlation EA is a free Expert Advisor that trades BTC/USD and ETH/USD, capitalizing on their price correlation. The EA opens trades when the pairs diverge and closes them as they realign, automating your trading with minimal effort.
2024.09.10
Most downloaded source codes this month
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2024.09.09
New publications in CodeBase
2024.09.08
Most downloaded source codes this week
- SuperTrend SuperTrend indicator.
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
2024.09.05
New publications in CodeBase
- buysell+sl+tp script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)
- Max trade volume checker for your trading account A dialog to display the maximum lot size permitted on the underlying asset for different types of orders (buy, sell, pending buy, and pending sell).
2024.09.03
Most downloaded source codes this month
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2024.09.01
Most downloaded source codes this week
- HiLo High and Low Line Indicator
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
2024.08.31
New publications in CodeBase
- Logging Class for both MQL4 and MQL5 The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.
- PrevDayLines.mq4 - Draw Previous Day's High, Low, and Average Price Lines The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min), and the average price (Avg), providing traders with a clear visual reference for key support and resistance points.
- Rotate TEXT The script creates a text object on the chart that continuously rotates and changes its position based on price levels.
- Abiroid Switch Templates Script This is a template switcher script mq4 file. This script will work with your MT4 (Metatrader 4) platform. It is to switch between templates.
2024.08.27
Most downloaded source codes this month
- Find Swing Highs Swing Lows The Swing High/Low Identifier for MetaTrader 5 marks significant swing highs and swing lows directly on your chart with color-coded arrows. This tool helps traders quickly identify key price levels, which can serve as resistance and support, and is ideal for trend reversal analysis, support and resistance mapping, and enhancing price action strategies. By highlighting these crucial swing points, it provides valuable insights for making informed trading decisions and optimizing trading strategies.
- Arbitrage Triangle EURGBP-EURUSD-GBPUSD The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.