2024.04.09
Ci sono più di 11,290 codici pubblicati nel Codebase
2024.04.07
I codici sorgente più scaricati questa settimana
- iForexSessions Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
- 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.04.04
Nuove pubblicazioni nel CodeBase
- Code Block for "Trailing Stop" based on current market price. (Ask / Bid) This code block loops through all opened position and do trailing based on Ask and Bid prices.
- Simple Code for Detect A "New Bar or New Candle " Received This code block detects a New Bar or a New Candle when it has received.
- Logarithmic Moving Average Logarithmic Moving Average continuously calculates the logarithmic mean of highest price and lowest price within a period.
- Harmonic Moving Average MQL5 version of harmonic moving average
- Calculate pip difference over the last N bars Bars Pips for Chart Symbol and Period selected
2024.04.02
I codici sorgente più scaricati questo mese
- 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
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
2024.04.02
Nuove pubblicazioni nel CodeBase
- Harmonized Pending Hedge of open trades for chart symbol Hedge Symbol 100%
- Resize chart window from indicator (for Short Trend Reversal) Changing the size of the chart window is important in my EA, but it may serve as inspiration for others.
- Open Charts of open trades symbols Open Charts
2024.03.31
I codici sorgente più scaricati questa settimana
- iForexSessions Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
- Slope Entry Points Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
2024.03.31
Nuove pubblicazioni nel CodeBase
- Symbol Spread Equity Profit Banner V1.mq4 Simple banner showing Symbol Spread Equity Profit Banner
- Global Close Orders Management Orders Closure
2024.03.28
Nuove pubblicazioni nel CodeBase
- Sell with Buy Stop Hedge for chart symbol / Buy with Sell Stop Hedge for chart symbol Hedge with a stop order, instead of placing a Stop Loss.
- Multiple Buys and Sells ORDERS based on a currency pair strength. Short description.
2024.03.26
I codici sorgente più scaricati questo mese
- 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
- 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.
2024.03.26
Nuove pubblicazioni nel CodeBase
- iForexSessions Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
- Correlation Gaps Trading AUDJPY CADJPY NZDJPY Short description.
2024.03.24
I codici sorgente più scaricati questa settimana
- Slope Entry Points Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.
- Buy Sell Close Manual trading EA for trading newbies [@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
2024.03.24
Nuove pubblicazioni nel CodeBase
- Close_on_PROFIT_or_LOSS_inAccont_Currency Close_on_PROFIT_or_LOSS_inAccont_Currency
- Hedge_Dollar_Index_Against_Forex_Pairs_V1 Hedge Dollar index USIDX against its constitutive FOREX pairs EURUSD GBPUSD USDJPY USDCAD USDSEK USDCHF
- Error_Break_Script_V2 - This script is a general example of using error brake in any strategy - Break on Code Error Sample Strategy Break on Code Error ! This script is a general example of using error brake in any strategy.
- Trail SL simple trail stop loss code example.
2024.03.19
I codici sorgente più scaricati questo mese
- 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.03.18
Nuove pubblicazioni nel CodeBase
- Slope Entry Points Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.
- Determine Broker's Daylight (DST) schedule Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.
2024.03.17
I codici sorgente più scaricati questa settimana
- Buy Sell Close Manual trading EA for trading newbies [@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
- Divergences Template Indicator This is a indicator to plot hidden and regular divergences on chart.
2024.03.12
I codici sorgente più scaricati questo mese
- 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.03.12
Nuove pubblicazioni nel CodeBase
- Wick or Body High Low Searches for Wick or Body based High low in visible bars of chart
- Moving Averages-14 different types This is an indicator to calculate 14 types of moving averages based on close price.
- Divergences Template Indicator This is a indicator to plot hidden and regular divergences on chart.
2024.03.10
I codici sorgente più scaricati questa settimana
- Buy Sell Close Manual trading EA for trading newbies [@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
2024.03.06
Nuove pubblicazioni nel CodeBase
- Intraday Currencies Performance A simple observatory of individual currencies.
- Take Profit based on current profit Many Expert Advisors (EAs) tend to close orders at the take profit level, considering the pip distance from the purchase price.
2024.03.05
I codici sorgente più scaricati questo mese
- 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.
- SuperTrend SuperTrend indicator.
2024.03.03
I codici sorgente più scaricati questa settimana
- 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
- Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
2024.02.29
Nuove pubblicazioni nel CodeBase
- Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
- Local Timezones and Local Session Hours Class to access to the local time for the specified location, as well as time zone information and the local trading session hours.
- Buy Sell Close Manual trading EA for trading newbies [@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.
2024.02.27
I codici sorgente più scaricati questo mese
- 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.
- 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++.
2024.02.25
I codici sorgente più scaricati questa settimana
- 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
- 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.
2024.02.25
Nuove pubblicazioni nel CodeBase
- Class For Working With Databases In A Simplified Manner easydatabase
- Developing a multi-currency Expert Advisor — source codes from a series of articles The source codes written during the development of the library for creating multi-currency Expert Advisors that combine many instances of various trading strategies.
2024.02.22
Nuove pubblicazioni nel CodeBase
- TimeGMT library for the strategy tester Static class to fix the TimeGMT() function during testing in the strategy tester.
- Historex: export the history of rates and ticks to CSV-files This is a script to export rates and ticks of current chart's symbol into CSV-files compatible with MT5's export/import format.
2024.02.20
I codici sorgente più scaricati questo mese
- 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.
- 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.02.19
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questa settimana
- 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
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questo mese
- 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.
- 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.02.11
I codici sorgente più scaricati questa settimana
- 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
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questo mese
- 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
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questa settimana
- 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.
- SuperTrend SuperTrend indicator.
2024.02.04
Nuove pubblicazioni nel CodeBase
- ATR Weighted Moving Averages This is an indicator to calculate ATR Weighted moving averages.
- Voitto Tappio Candle Gain Candle Loss MT5 Show candle gain and candle loss in percent.
2024.02.02
Nuove pubblicazioni nel 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
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questo mese
- 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
I codici sorgente più scaricati questa settimana
- 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.
- 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++.
2024.01.23
I codici sorgente più scaricati questo mese
- 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
Nuove pubblicazioni nel CodeBase
- Sec-WebSocket-Key Generator Sec-WebSocket-Key Generator
- Relative Price Channel mt4 version of original indicator
2024.01.21
I codici sorgente più scaricati questa settimana
- 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.
- 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.16
I codici sorgente più scaricati questo mese
- 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
I codici sorgente più scaricati questa settimana
- 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.
- 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.11
Nuove pubblicazioni nel 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
I codici sorgente più scaricati questo mese
- 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.