Dernières publications de code dans la CodeBase
2023.05.14
Codes sources les plus téléchargés cette semaine
- Ma Price Cross (Custom Time) Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Strongest Pair Indicator This will return the pair with the most growth in the user input start time and end time
2023.05.09
Codes sources les plus téléchargés ce mois-ci
2023.05.07
Codes sources les plus téléchargés cette semaine
- Ma Price Cross (Custom Time) Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.
- Strongest Pair Indicator This will return the pair with the most growth in the user input start time and end time
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2023.05.02
Codes sources les plus téléchargés ce mois-ci
2023.04.30
Codes sources les plus téléchargés cette semaine
- 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.
- 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.
2023.04.29
Nouvelles publications dans CodeBase
- Equity and Balance as an indicator for MT5 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.
- Dynamic Trailing Stop Loss and Profit Target Management This code snippet implements a dynamic risk management strategy for existing trades. It focuses on closing trades based on profit or loss thresholds and employs a trailing stop loss to lock in profits as the trade moves favorably. The strategy helps manage risk and enhance profitability in a streamlined manner.
- Ma Price Cross (Custom Time) Buys when price breaks above the MA and Sells when price breaks below the MA. User can choose the time range (server time) to trade in.
- Strongest Pair Indicator This will return the pair with the most growth in the user input start time and end time
2023.04.27
Il y a plus de
11 100 codes publiés dans
Codebase
2023.04.26
Nouvelles publications dans CodeBase
- Expert Advisor for Opening Multiple Buy and Sell Orders Based on User Input This MT5 Expert Advisor opens multiple buy and sell orders based on user input, featuring a simple interface with Buy and Sell buttons. The EA calculates lot size, checks the spread against slippage, and places orders accordingly. It is essential to test this EA in a demo account before using it in live trading.
- VPS Trailing Stop Service VPS Trailing Stop Service
- CheckTrades This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary
2023.04.25
Codes sources les plus téléchargés ce mois-ci
2023.04.24
Nouvelles publications dans CodeBase
- Risk Calculator Calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods.
- Multi SellLimitOrders & Multi SellStopOrders Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.
- Multi_BuyLimitOrders & Multi_BuyStopOrders Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
- Multi SellOrders To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20.
Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading
- Multi BuyOrders To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20.
Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
- Multi SellLimitOrders & Multi SellStopOrders Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker.
Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.
- Multi_BuyLimitOrders & Multi_BuyStopOrders Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences.
Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
- Multi SellOrders To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20.
Num_of_Sell is the number of trades to execute.
This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
- Multi BuyOrders To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20.
Num_of_Buy is the number trades the trader wish to open instantly.
This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.
2023.04.23
Codes sources les plus téléchargés cette semaine
- Money Management Close trades when the percentage profit or risk of the account is reached
- 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.
- 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.
2023.04.23
Nouvelles publications dans CodeBase
- ChartButton Class MT5 This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.
- ChartButton Class MT4 This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.
2023.04.22
Nouvelles publications dans 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.
2023.04.20
Nouvelles publications dans 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.
2023.04.18
Codes sources les plus téléchargés ce mois-ci
2023.04.17
Nouvelles publications dans 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
2023.04.16
Codes sources les plus téléchargés cette semaine
- 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.
2023.04.16
Il y a plus de
11 080 codes publiés dans
Codebase
2023.04.16
Nouvelles publications dans 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.
2023.04.15
Nouvelles publications dans CodeBase
2023.04.12
Nouvelles publications dans 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.
2023.04.11
Codes sources les plus téléchargés ce mois-ci
2023.04.09
Codes sources les plus téléchargés cette semaine
2023.04.09
Nouvelles publications dans 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.
2023.04.07
Nouvelles publications dans CodeBase
2023.04.04
Codes sources les plus téléchargés ce mois-ci
2023.04.02
Codes sources les plus téléchargés cette semaine
2023.04.02
Nouvelles publications dans 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
2023.03.30
Nouvelles publications dans CodeBase
2023.03.28
Codes sources les plus téléchargés ce mois-ci
2023.03.26
Codes sources les plus téléchargés cette semaine
2023.03.24
Nouvelles publications dans CodeBase
2023.03.22
Nouvelles publications dans 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
2023.03.21
Codes sources les plus téléchargés ce mois-ci
2023.03.19
Codes sources les plus téléchargés cette semaine
2023.03.15
Il y a plus de
11 060 codes publiés dans
Codebase
2023.03.15
Nouvelles publications dans 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
2023.03.14
Codes sources les plus téléchargés ce mois-ci
2023.03.12
Codes sources les plus téléchargés cette semaine
2023.03.12
Nouvelles publications dans 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
2023.03.07
Codes sources les plus téléchargés ce mois-ci
2023.03.06
Nouvelles publications dans CodeBase
2023.03.05
Codes sources les plus téléchargés cette semaine
2023.03.04
Nouvelles publications dans CodeBase
2023.03.02
Nouvelles publications dans CodeBase
2023.02.28
Codes sources les plus téléchargés ce mois-ci
- 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.
2023.02.26
Codes sources les plus téléchargés cette semaine
2023.02.21
Codes sources les plus téléchargés ce mois-ci
- 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.
2023.02.19
Codes sources les plus téléchargés cette semaine
2023.02.16
Nouvelles publications dans 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