Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

Latest Code Publications in CodeBase

New publications in CodeBase

  • Volume Average Groups For Comparison Learn how to split the volume data into different groups so that you can compare them and create a strategy based on volume average.
  • Auto TP multiplied by SL Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.

New publications in CodeBase

  • Ofir Blue Telegram API for any indicator Connect your indicator to Telegram with 3 lines of code This sample code enables to connect your indicator to Ofir Blue, the first trading application for Telegram
  • Change TPSL By Percentage The Expert will help you change the TP/SL of all open orders by setting the TP/SL based on the input percentage value.

Most downloaded source codes this month

New publications in CodeBase

  • Benchmark A set of macros to benchmark small code snippets for their execution speeds.
  • Money Management Close trades when the percentage profit or risk of the account is reached

Most downloaded source codes this week

  • Risk Manager EA This is a simple EA that will buy/sell pullbacks while managing your given risk parameters. You need to decide on a direction, and the EA will do the rest.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
There are more than 11 080 codes published in Codebase

New publications in CodeBase

  • Tick Speed Indicator This example was created to see how long it takes to reach 100 ticks. So this indicator is a seconds / "centick" (centick = 100 ticks). It helps you trade orders flow.
  • Subtract Time You learn how to subtract time, insert it manually in a string format, tick counter and see output on comment function.
  • Exponential Commodity Channel Index Commodity Channel Index using exponential moving averages.
  • AllAverages v4.9 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.

New publications in CodeBase

New publications in CodeBase

  • MoveStoploss MoveStoploss moves the stoploss as the trade move in your direction at a specific distance. Version 1.1 has automatic trail error fixed.
  • Password Manager Generates, creates and stores passwords for your account.
  • MoveStopLoss Move the stoploss as the trade moves in your direction at a specific distance.

Most downloaded source codes this month

Most downloaded source codes this week

New publications in CodeBase

  • Pending Order count-BUY STOPS This script counts the number of pending buy stop orders for each symbol and returns the value.
  • Simple license on account name Below you can find a super simple method to create a license based on MT4 account name. Place in your init function: CheckLicense(); The stringLower method makes sure the account name is in lowercase. Then you can check this value with the account name you want to check.
  • Risk Manager EA This is a simple EA that will buy/sell pullbacks while managing your given risk parameters. You need to decide on a direction, and the EA will do the rest.

New publications in CodeBase

Most downloaded source codes this month

Most downloaded source codes this week

New publications in CodeBase

  • send a trade position to telegram channel hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.
  • Elder Impulse System Candlestick This indicator paints the candlestick chart color according to the Elder Impulse System

New publications in CodeBase

Most downloaded source codes this month

Most downloaded source codes this week

New publications in CodeBase

New publications in CodeBase

  • Refresh All Open Charts This Script will Refresh All Open Charts in MT5, Usually custom symbols in MT5 needs to be Refresh sometime so this script will help to refresh all open chart at once. We can also use this Script anywhere where we need to refresh all open charts.
  • oneminuteman Find what are the highs and the lows that happened the last 60000 ms

Most downloaded source codes this month

Most downloaded source codes this week

There are more than 11 060 codes published in Codebase

New publications in CodeBase

  • Pivot Pivots based on Bar Prediction.
  • Aussie Surfer This expert advisor is based on the alligator indicator and bollinger bands indicator. Currency pair: GBPAUD Time frame: 15min

Most downloaded source codes this month

Most downloaded source codes this week

New publications in CodeBase

  • Reversal Strategy Reversal strategy using Moving Average, Standard Deviation and RSI
  • Painel simples e objetivo US: This is a very simple code regarding an information panel. It doesn't use external files or anything like that! simply copy and paste it into your code the way the code was written. The dashboard displays; Active asset price Your position(Bought or sold) Maximum and minimum price of the asset Username open profit Balance PT-Br:Esse é um codigo bem simples a respeito de um painel de informações. Não utiliza arquivos externos ou algo do tipo! simplesmente, copie e cole no seu codigo da forma que o codigo foi escrito. O painel exibe; Ativo Preço do ativos Sua posição(Comprada ou vendida) Preço max e minimo do ativo Nome do usuario Lucro em aberto Saldo

Most downloaded source codes this month

New publications in CodeBase

Most downloaded source codes this week

New publications in CodeBase

New publications in CodeBase

Most downloaded source codes this month

  • CCI + MACD Scalper Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
  • XP Forex Trade Manager MT4 Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

Most downloaded source codes this week

Most downloaded source codes this month

  • CCI + MACD Scalper Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
  • XP Forex Trade Manager MT4 Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

Most downloaded source codes this week

New publications in CodeBase

  • Current Relative Drawdown The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.
  • Hurst Exponent - optimized version Hurst Exponent - optimized version

New publications in CodeBase

  • Check the time periods used The function takes two arrays of integers as parameters: "allowedPeriods" and "periodsToCheck". "allowedPeriods" is an array containing all the time periods allowed by the system, while "periodsToCheck" is an array containing the time periods used by the user in the indicator. The function iterates through the elements of the "periodsToCheck" array and checks if each of them is present in the "allowedPeriods" array. If it finds any time period that is not allowed, the function returns "false". If all time periods are allowed, the function returns "true". In short, this function is used to make sure that the time periods used in an indicator are valid and allowed by the system.
  • CLS (ClearScreen) CLS (ClearScreen) delets all object drawn on the chart with key press "C"

Most downloaded source codes this month

Most downloaded source codes this week

Most downloaded source codes this month

  • RSI Bot MT5 RSI Bot, send alert buy when RSI<=20, send alert sell when RSI>=80
  • RSI Scanner Simple indicator that will scan thru the symbols in the MarketWatch window to alert you if price is overbought or oversold based on RSI.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

Most downloaded source codes this week

New publications in CodeBase

  • Advanced Line Chart Advanced Line Chart based on Japanese candlesticks.
  • Highest High fetch The code defines a function "RangeHighs" that calculates the highest price of a financial instrument within a specified time range (start and end time). The time range is defined by 4 input parameters (hour and minute of start and end time). The highest price is found using the "CopyHigh" function and stored in an array, from which the maximum value is returned.

Most downloaded source codes this month

  • RSI Scanner Simple indicator that will scan thru the symbols in the MarketWatch window to alert you if price is overbought or oversold based on RSI.
  • TradeMo The trade strategy is based on 2 moving averages. To confirm the trend, it uses 2 moving averages crossing and 1 candlestick formation while the moving averages are still crossed.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

Most downloaded source codes this week

  • CCI + MACD Scalper Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
  • XP Forex Trade Manager MT4 Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

New publications in CodeBase

Most downloaded source codes this month

  • Lazy Bot MT5 (Daily Breakout EA) - This Bot use stratery Breakout of Daily Bar, I tested for 3 Pair currency : GBPUSD, EURUSD, XAUUSD - Default setting is not sure the best, you can test for your parameter. - This is version for MT5 that convert from MT4 - this EA is best for broker low spread
  • The Roofing Filter The Roofing Filter Indicator was created by John Ehlers ("Cycle Analytics for Traders" pg. 80 - 82).
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
There are more than 11 040 codes published in Codebase

Most downloaded source codes this week

  • CCI + MACD Scalper Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
  • XP Forex Trade Manager MT4 Forex Trade Manager MT4 simplifies managing open orders in MetaTrader 4.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
123456789101112...70