Dernières publications de code dans la CodeBase
2024.02.22
Nouvelles publications dans CodeBase
2024.02.20
Codes sources les plus téléchargés ce mois-ci
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
- Open Trade This function performs the main logic of opening a trade.
Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user.
Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc.
Call the OrderSend function to send the operation request and get the result.
SetTypeFillingBySymbol function:
Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy.
GetMinTradeLevel function:
Calculates the minimum operating level based on the freeze level and the symbol stops level.
Adjusts the minimum level to make sure it is within certain limits and returns the result.
2024.02.19
Nouvelles publications dans CodeBase
- KA-Gold Bot MT5 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.
- Time frame: M15
- SAR ADX Signal SAR ADX Signal with mobile notification, rewritten from MT4 version (source no longer found).
This is a repaintable indicator, please be careful when using it.
- Strong Historical Levels Historical Strong S/Rs Levels
2024.02.18
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.
- Indices Testing The EA only trades buy positions and does not use SL and TP.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2024.02.14
Nouvelles publications dans CodeBase
- Indices Testing The EA only trades buy positions and does not use SL and TP.
- Adaptive Volatility Analysis AVA adapts its analysis based on current market dynamics. This adaptability makes it invaluable for predicting shifts towards higher volatility or calmer periods.
- Calculate Drawdown in MT4 this shortcode will calculate the drawdown of a particular ea, where it is applied to a specified symbol.
2024.02.13
Codes sources les plus téléchargés ce mois-ci
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- 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.
2024.02.11
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.
- Titik Impas Breakeven MT4 The Breakeven Point, or Titik Impas, denotes the price level at which a trade's profit becomes zero. By setting a position to Titik Impas Breakeven, the stop-loss is aligned with the position's opening price. This strategy proves valuable when you aim to allow profits to accumulate while ensuring that the trade remains secure and does not revert to negative territory.
- Fair Value Gap Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish
2024.02.09
Nouvelles publications dans CodeBase
- Frog Jump Hides Alone Candlesticks
- Fair Value Gap Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish
2024.02.06
Codes sources les plus téléchargés ce mois-ci
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2024.02.05
Il y a plus de
11 250 codes publiés dans
Codebase
2024.02.05
Nouvelles publications dans CodeBase
- Titik Impas Breakeven While manually adjusting the stop-loss of a single trade to match its open price is a relatively simple task, managing numerous positions individually can be cumbersome and time-intensive. The Titik Impas Breakeven script for MT4/MT5 streamlines this process, providing efficiency and convenience for traders dealing with multiple positions.
- Titik Impas Breakeven MT4 The Breakeven Point, or Titik Impas, denotes the price level at which a trade's profit becomes zero. By setting a position to Titik Impas Breakeven, the stop-loss is aligned with the position's opening price. This strategy proves valuable when you aim to allow profits to accumulate while ensuring that the trade remains secure and does not revert to negative territory.
2024.02.04
Codes sources les plus téléchargés cette semaine
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- 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.
2024.02.04
Nouvelles publications dans CodeBase
2024.02.02
Nouvelles publications dans CodeBase
- Candle Fitness Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.
- Candle Gain Candle Loss Displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage.
2024.01.31
Nouvelles publications dans CodeBase
- Moving Averages-14 different types This is an indicator to calculate 14 types of moving averages based on close price.
- wd.Range_BB Provides Bollinger Bands with calculating the range bandwidth as the difference in pips between the upper and lower Bands.
Bollinger Bands appearance and behavior can be tailored by adjusting period, shift, deviation, and applied price, along with color and line style.
The 'range/bandwidth information' label can be placed in the specified Sub-Window, allow to customize label positions.
Overall, this indicator aids traders in visualizing market flexibility and volatility based on Bollinger Bands width.
2024.01.30
Codes sources les plus téléchargés ce mois-ci
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2024.01.28
Codes sources les plus téléchargés cette semaine
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
2024.01.23
Codes sources les plus téléchargés ce mois-ci
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
2024.01.22
Nouvelles publications dans CodeBase
2024.01.21
Codes sources les plus téléchargés cette semaine
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
- Open Trade This function performs the main logic of opening a trade.
Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user.
Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc.
Call the OrderSend function to send the operation request and get the result.
SetTypeFillingBySymbol function:
Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy.
GetMinTradeLevel function:
Calculates the minimum operating level based on the freeze level and the symbol stops level.
Adjusts the minimum level to make sure it is within certain limits and returns the result.
2024.01.16
Codes sources les plus téléchargés ce mois-ci
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- 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.
2024.01.14
Codes sources les plus téléchargés cette semaine
- No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over three years.
- 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.
2024.01.11
Nouvelles publications dans CodeBase
- Open Trade This function performs the main logic of opening a trade.
Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user.
Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc.
Call the OrderSend function to send the operation request and get the result.
SetTypeFillingBySymbol function:
Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy.
GetMinTradeLevel function:
Calculates the minimum operating level based on the freeze level and the symbol stops level.
Adjusts the minimum level to make sure it is within certain limits and returns the result.
- Bounce Number for Grid/Martingale strategies Lot Sizing/Order Count set When we want to know how many times price will goes up and down 40 pips before breaking this channel, we will need Bounce Number tool.
2024.01.09
Codes sources les plus téléchargés ce mois-ci
- 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.
- PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
2024.01.09
Nouvelles publications dans CodeBase
2024.01.08
Nouvelles publications dans CodeBase
- SymbolSyncEA Syncs all chart symbols to symbol of the chart the EA is attached to
- wd.Multi_ClockPrice lite! The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart.
It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline.
Real-time bid prices are displayed, efficiently meeting the need for price information.
Place informational labels in the specified sub-window, adjusting positions as needed.
2024.01.07
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.
- Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
2024.01.07
Nouvelles publications dans CodeBase
2024.01.06
Nouvelles publications dans CodeBase
2024.01.02
Codes sources les plus téléchargés ce mois-ci
- MACD on Chart Show MACD directly on chart
- PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2024.01.01
Nouvelles publications dans CodeBase
- Cosine distance and cosine similarity Calculate the cosine distance and similarity between 2 vectors .
The cosine distance is 1-cosine_similarity
and
the cosine similarity is the dot product of two vectors by their magnitudes multiplied.
- Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
2023.12.31
Codes sources les plus téléchargés cette semaine
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.12.27
Il y a plus de
11 230 codes publiés dans
Codebase
2023.12.27
Nouvelles publications dans CodeBase
- COLLECT ALL INDICATORS DATA This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes
- Closing all open trades if all one symbol and one trade direction All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY.
This script will close out your position using one large trade to hedge your position
then using CloseBy() function to close all trades against the one large trade until all
trades are closed. There can be a maximum of 500 open trades.
2023.12.26
Codes sources les plus téléchargés ce mois-ci
- PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
- 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.12.25
Nouvelles publications dans CodeBase
2023.12.24
Codes sources les plus téléchargés cette semaine
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
2023.12.19
Codes sources les plus téléchargés ce mois-ci
- SuperTrend The SuperTrend indicator developed for MetaTrader 4 based on the ProRealTime version.
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
- 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.12.19
Nouvelles publications dans CodeBase
- Input and output of onnx model The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.
- Price Density - Market Noise Index A sophisticated tool that accurately measures market noise
2023.12.17
Codes sources les plus téléchargés cette semaine
- Heikin Ashi Lines A simpler way to display Heikin Ashi
- 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.12.15
Nouvelles publications dans CodeBase
- MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
- MQL5 Programming for Traders – Source Codes from the Book. Part 6 In Part 6 of the "MQL5 Programming for Traders", we will study a key component of the MQL5 language – trading automation. We will start with a description of the fundamental entities, such as financial instrument specifications and trading account settings. These are prerequisites for creating properly operating Expert Advisors.
- MQL5 Programming for Traders – Source Codes from the Book. Part 5 In Part 5 of the book, we'll delve deeper into the APIs associated with algorithmic trading, including financial data analysis and processing, chart visualization, automation, and user interactions.
- MQL5 Programming for Traders – Source Codes from the Book. Part 4 In the fourth part of the book, we will focus on mastering built-in functions (MQL5 API) and will gradually delve into specialized subsystems. Any MQL5 program can utilize a plethora of technologies and functionalities. Therefore, it makes sense to begin with the most simple and useful functions that can be utilized in most programs.
- MQL5 Programming for Traders – Source Codes from the Book. Part 3 Part 3 "Object Oriented Programming in MQL5" offers an immersion into the world of object-oriented programming (OOP) in the MQL5 language. Software development often involves the complexity related to the management of multiple entities, requiring advanced technology to improve programming convenience, productivity, and quality.
- MQL5 Programming for Traders – Source Codes from the Book. Part 2 Part 2 "MQL5 programming fundamentals" is an introduction to the key concepts of this programming language. This part of the book is devoted to data types, identifiers, variables, expressions, and operators. You will learn how to combine different instructions to form the program logic.
- MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
2023.12.12
Codes sources les plus téléchargés ce mois-ci
- Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
- Amazing Oscilator A combination of data analysis from the Awesome Oscillator and the resulting direction of the candles relative to the previous range
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.12.10
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.
- PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
2023.12.10
Nouvelles publications dans CodeBase
2023.12.09
Nouvelles publications dans CodeBase
2023.12.07
Nouvelles publications dans CodeBase
- wd.Multi_LineMA The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.
- Multi time frame example by recursion The purpose of this indicator is to demonstrate newbie friendly way a structure of a multi time frame indicator based on recursion.
2023.12.05
Codes sources les plus téléchargés ce mois-ci
2023.12.05
Il y a plus de
11 210 codes publiés dans
Codebase
2023.12.03
Codes sources les plus téléchargés cette semaine
- MACD on Chart Show MACD directly on chart
- PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2023.12.03
Nouvelles publications dans CodeBase
- Candlestick Body, High Low and Wick Range Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.
- Candle Time Count Down Current Candle To Close in x Time
- Superb Fractal Few improvements from standart fractal:
1. You can chouse size of fractal. Standart version use 2 as constant
2. It does not draw fractals against the trend, which makes your chart much more informative