• Aperçu
  • Avis
  • Commentaires

Neural Transformer

The "Neural Transformer" expert is a fully automated expert which is ready to trade on the daily timeframe with 2 symbols: GBPUSD and USDCAD.

In addition to this, you can train the expert to trade on any timeframe with any symbol. The expert will automatically pick up the files of your new customized neural network.

The "Neural Transformer" has made training neural networks for Forex an easy and exciting process! Currently, I am offering one type of network - LSTM. It is the most popular neural network for classifying and forecasting timeseries data. I am going to add 2 other types of networks in the nearest future: Multi Head Attention and ATFnet (the most advanced and controvercial type involving Fourier transform and complex numbers).


Trading

The expert is ready to trade on the daily timeframe with 2 symbols: GBPUSD and USDCAD. If you have done another training, start the expert with the property Action = Trade. And that's it.


Training (check the pictures)
An example of EURUSD training, timeframe D1
1) Collection of data is done in the Strategy Tester

Select the following options in the Strategy Tester:
Expert: Neural Transformer
Symbol: EURUSD
Date: 2004.01.01 - 2024.04.01
Modelling: Open prices only

Select the following options in the inputs of the expert:
Action = Collect_data
Timeframe = D1
Number of bars = 30
Number of forecast bars = 20

Other options do not matter for collecting data. The option "Open prices only" allows collecting data for seconds. Other values of this option do not improve data, but may significantly increase the execution time.

Click "Start" in the Strategy Tester to collect data.

There will appear 2 records in the log of the Strategy Tester after several seconds: "Training complete EURUSD D1 LSTM | patterns 5261" and "Collect_data file saved to ..."

You can open the data file and inspect it in the indicated location.


2) Training is done in the Strategy Tester

Select the following options in the inputs of the expert:
Action = Train
Timeframe = D1
Number of bars = 30

Epochs = 1000
Number of LSTM layers = One
Number of Dense layers = One
Learning rate = 0. 01
Decay for Learning rate = 0.1
Patience = 50
Neurons per layer = 32
Validation percent = 0.2

Other options of the expert do not matter for training.

Click "Start" in the Strategy Tester to start the training.

As a rule, training takes several minutes. There will be different records in the log of the Strategy Tester.

"Epoch 10 >> time 0.48500 sec | loss 0.50258 | custom_err 0.99484 <> 1.00055"

"New lr 0.00729 at epoch 138"

"Best configuration at epoch 422 >> training stopped"

There will appear other files of the training after the training is complete, in the same location where the data file was stored.


3) How to check the training in the Strategy Tester

Select the following options in the Strategy Tester:
Expert: Neural Transformer
Symbol: EURUSD
Date: 2020.01.01 - 2024.09.10 (or the current date)
Modelling: OHLC на М1

Select the following options in the inputs of the expert:
Action = Trade
Timeframe = D1
Forecast minimum = 0.5
Symbol point = 0.0001
Trading start hour = 4
Takeprofit = 400
Trail = 100
Volume = 0.01
Number of bars = 30

Other options do not matter at this step.

Click "Start". The expert will do a usual test.


Warning! I do not recommend doing an optimization with this expert in the Strategy Tester. The expert loads many complex classes. An optimization with this expert may end with a MetaTrader crash. If it is the case, simply restart the MetaTrader. I am working to fix this bug and make optimizations stable. Testing works as usual.


Properties of the Expert
Standard Properties

  • Action >> there are 3 actions: Trade, Collect_data, and Train.
  • Network type >> it currently features only one type - LSTM. It is the most popular approach to training timeseries data. I am going to add 2 other types in the nearest future: Multi Head Attention and ATFnet.
  • Timeframe >> this should be identical for your training and trading.
  • Forecast minimum >> values over this value trigger trading signals. The bigger is the value, the less trades there are. Valid values: 0.05 to 1.5.
  • Symbol point >> it is used to calculate price moves. For example, for GBPUSD, EURUSD and most other symbols, it is 0.0001. USDJPY - 0.01; USDSEK and USDNOK - 0.001; XAUUSD - 0.2.
  • Trading start hour >> new trades are opened after this hour. It is used to skip price gaps which may take place over night.
  • Takeprofit
  • Trail
  • Stoploss
  • Volume >> volume per trade. Fixed volume (example: 0.02) or percentage of available funds (example: 0.015%). The expert prints the real volume in the "Expert" tab when starting or changing the timeframe. Always use a fixed amount for accounts that use a deposit currency other than the US dollar (i.e. euro, yuan, bitcoin, Australian dollar, etc.).


Training Properties

  • Number of bars >> bars to analyze to make trading decisions.
  • Number of forecast bars >> bars ahead to decide which direction the price will go.
  • Epochs >> it is a max number. A training of a neural network is done in epochs. As a rule, a training is stopped long before this value is reached.
  • Number of LSTM layers >> an architecture of a neural network has LSTM layers which are used to learn dependencies among bars. Dense layers, which follow LSTM layers, are used to learn dependencies common for all bars.
  • Number of Dense layers
  • Learning rate >> this impacts the calculation of an error during training. A big value cause the training to develop in leaps and end quickly. A small value causes the training to develop slowly and never reach an optimal state.
  • Decay for Learning rate >> if a training does not improve, this property decreases the Learning rate according to this formula: lr = lr - lr*decay. This helps push a training in the right direction.
  • Patience >> it is a number of epochs to wait for an improvement. A training goes on while a validation error improves. The expert pushes forward the training for this number of epochs because it expects a validation error can still improve. If an improvement does not show up, the last best state of the neural network is saved.
  • Neurons per layer >> the more is this number, the longer is the training and the faster is the addiction to data. You should be looking for an optimal number of neurons.
  • Validation percent >> 0.2 stands for 20%, 0.3 for 30% etc. All data is divided into 2 sets: training and validation. Validation should be smaller than training.
Plus de l'auteur
QuantumPip
Evgeniy Scherbina
5 (6)
The advisor "QuantumPip" is a fully automated advisor which can trade simultaneously 10 symbols: AUDCAD, AUDUSD, EURUSD, EURUSD, GBPCAD, GBPCHF, GBPUSD, NZDUSD, USDCAD, USDCHF, and USDJPY. The advisor also uses prices of Gold and Silver to calculate inputs for the symbols. Currently I am doing tests to add 10 cross-currency symbols more. The advisor uses 2 types of recurrent neural model - 1 network (decisions "buy" or "sell") and 2 networks (decisions "buy" or "uncertainty" and "sell" or "uncer
LuminaFX
Evgeniy Scherbina
LuminaFX is a fully automated advisor which trades 9 symbols from one chart: AUDCAD, AUDUSD, EURUSD, GBPCHF, GBPUSD, NZDUSD, USDCAD, USDCHF, USDJPY, and USDSEK. The advisor implements a popular version of the recurrent neural model. Values of the American Dollar Index DXY, or "Dixie", are used as inputs to the neural model. Make sure you have the 6 symbols making up the American Dollar Index in your terminal: EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, and USDCHF. Otherwise the advisor will not work
Gold Chaser
Evgeniy Scherbina
5 (1)
The "Gold Chaser" expert advisor trades in fully automated mode these 4 symbols: XAUUSD (Gold), XAGUSD (Silver), BTCUSD (Bitcoin), and XBRUSD (Brent Oil). I am going to add other cryptocurrencies and/or stock exhange indices in the near future. Possibilities of the "non-major" symbols really differ from what you are accustomed to with the usual set of symbols. First of all, gold moves very quickly. Like major symbols, gold reacts to political events, important economic events and speeches of VIP
NewsCatcher Pro opens both pending and market orders based on data from the mql5.com calendar. In live mode, NewsCatcher Pro automatically downloads the calendar, opens orders, trails and closes orders. NewsCatcher Pro can trade any event from the calendar with any symbol available in MetaTrader, including Gold, Oil and cross-rates. To change the default symbol, go to the event view you want to change it for. NewsCatcher Pro uses two strategies: Strategy 1 (pending orders): the advisor opens two
QuantumPip MT4
Evgeniy Scherbina
The advisor "QuantumPip" is a fully automated advisor which can trade simultaneously 10 symbols: AUDCAD, AUDUSD, EURUSD, EURUSD, GBPCAD, GBPCHF, GBPUSD, NZDUSD, USDCAD, USDCHF, and USDJPY. The advisor also uses prices of Gold and Silver to calculate inputs for the symbols. Currently I am doing tests to add 10 cross-currency symbols more. The advisor uses 2 types of recurrent neural model - 1 network (decisions "buy" or "sell") and 2 networks (decisions "buy" or "uncertainty" and "sell" or "uncer
Your False Hope
Evgeniy Scherbina
4.58 (12)
The advisor "Your False Hope" is a fully automated strategy which trades several symbols, such as AUDUSD, EURUSD, USDJPY, USDNOK and some others. The set of symbols may change while the strategy is improved. I created this strategy as a parody of pipe dreams of Internet users about magical possibilities of machine learning for financial markets. The objective is to show that normalized inputs of any set of symbols can be learned by a neural network. Attention! The advisor uses Gold (Gold or XAUU
FREE
IQuantum
Evgeniy Scherbina
The indicator IQuantum shows trading signals for 10 symbols in the daily chart: AUDCAD, AUDUSD, EURUSD, GBPCAD, GBPCHF, GBPUSD, NZDUSD, USDCAD, USDCHF, and USDJPY. Signals of the indicator are produced by 2 neural models which were trained independently from one another. The inputs for the neural models are normalised prices of the symbols, as well as prices of Gold, Silver and markers of the current day. Each neural model was trained in 2 ways. The Ultimate mode is an overfitted neural mo
FREE
My Big Bars MT5
Evgeniy Scherbina
4.55 (11)
The indicator My Big Bars can show bars (candles) of a higher timeframe. If you open an H1 (1 hour) chart, the indicator puts underneath a chart of H3, H4, H6 and so on. The following higher timeframes can be applied: M3, M5, M10, M15, M30, H1, H3, H4, H6, H8, H12, D1, W1 and MN. The indicator chooses only those higher timeframes which are multiple of the current timeframe. If you open an M2 chart (2 minutes), the higher timeframes exclude M3, M5 and M15. There are 2 handy buttons in the lower r
FREE
Intraday Rush
Evgeniy Scherbina
3.4 (5)
The "Intraday Rush" Expert Advisor trades several symbols simultaneously in automatic mode: AUDUSD, EURUSD, GBPUSD, USDCAD, USDCHF, and USDJPY. The advisor uses a modified version of the popular indicator RSI (Relative Strength Index) to make open and close trading decisions. You can download a free indicator IRush , used by this advisor, to visualize trading. The one major difference of this advisor is that it can check its trading decisions several times during the day. If the market conditio
IRush
Evgeniy Scherbina
5 (1)
Indicator IRush uses a modified version of a popular indicator RSI (Relative Strength Index) to look for entries on a daily chart or lower. The indicator has been set up and tested with the major symbols: AUDUSD, EURUSD, GBPUSD, USDCAD, USDCHF, and USDJPY. An automated trading with this indicator is implemented in the expert advisor Intraday Rush . This expert advisor can open, trail and close its trades. Check it out, it may be exactly what you are looking for! A Correct Reading of IRush Th
FREE
High Trend Lite MT5
Evgeniy Scherbina
5 (1)
The indicator High Trend Lite monitors 5 symbols in up to 3 timeframes simultaneously and calculates the strength of their signals. The indicator notifies you when a signal is the same in different timeframes. The indicator can do this from just one chart. Therefore, High Trend Lite is a multicurrency and multitimeframe indicator. With the High Trend Pro , available at this link , you will have an unlimited number of symbols, 4 timeframes, a colourful chart of the primary MACD indicator, several
FREE
NewsCatcher Free MT5
Evgeniy Scherbina
4.5 (2)
The advisor NewsCatcher Free opens trades when the price makes a reversal move from support and resistance levels. Market entries should be confirmed by the Relative Strength Index (RSI). The RSI is implemented as a tachometer. It is recommended to use this advisor in a highly volatile market after a political event or a release of major economic data. You can use this advisor in the semi-automated mode (the RSI performs an information role) or in the fully automated mode (the RSI decides when
FREE
IDixie
Evgeniy Scherbina
IDixie is an indicator which shows open and close values of the American dollar index, DXY or "Dixie". The indicator is calculated from weighted values of 6 major symbols: EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, and USDCHF. In addition to "Dixie" values, the indicator also shows a moving average. You can set the period of the moving average. When bars of the indicator break through the moving average, this creates good opportunities to enter the market. As a rule, signals from this indicator are
FREE
The utility Filled Area Chart adds to the standard set of price presentations. It is a brand new, nice price chart. You will certainly like it if you want to feel yourself a trader born under the Bloomber lucky star. The Properties allow to set the colors and other things: Color preset - choose a preset or set to "Custom" and set your own colors using the properties below. Custom area color - color of the area below the price line. Works only with Color preset = Custom. Custom chart color -
FREE
NewsCatcher Free
Evgeniy Scherbina
4.67 (3)
The advisor NewsCatcher Free opens trades when the price makes a reversal move from support and resistance levels. Market entries should be confirmed by the Relative Strength Index (RSI). The RSI is implemented as a tachometer. It is recommended to use this advisor in a highly volatile market after a political event or a release of major economic data. You can use this advisor in the semi-automated mode (the RSI performs an information role) or in the fully automated mode (the RSI decides when
FREE
My Big Bars
Evgeniy Scherbina
4.75 (4)
The indicator My Big Bars can show bars (candles) of a higher timeframe. If you open an H1 (1 hour) chart, the indicator puts underneath a chart of H4, D1 and so on. The following higher timeframes can be applied: M3, M5, M10, M15, M30, H1, H3, H4, H6, H8, H12, D1, W1 and MN. The indicator chooses only those higher timeframes which are higher than the current timeframe and are multiple of it. If you open an M30 chart (30 minutes), the higher timeframes exclude M5, M15 and M30. There are 2 handy
FREE
High Trend Lite
Evgeniy Scherbina
1 (1)
The indicator High Trend Lite monitors 5 symbols in up to 3 timeframes simultaneously and calculates the strength of their signals. The indicator notifies you when a signal is the same in different timeframes. The indicator can do this from just one chart. Therefore, High Trend Lite is a multicurrency and multitimeframe indicator. With the High Trend Pro , available at this link , you will have an unlimited number of symbols, 4 timeframes, a colourful chart of the primary MACD indicator, several
FREE
The utility TradeKeeper Lite can show your profits for different periods and bip a sound when you reach a profit target value. Click the tachometer to quickly switch to the next profit period. There are 5 of them: This Day, This Week, This Month, Last 90 Days and All I Made. With the utility TradeKeeper Pro , available at this link , you can also open trades with a magic number and volume of your choice, trail any orders with a simple trail or iSAR-based trail, as well as close any open trades a
FREE
Filled Area Chart MT5
Evgeniy Scherbina
5 (1)
The utility Filled Area Chart adds to the standard set of price presentations. It is a brand new, nice price chart. You will certainly like it if you want to feel yourself a trader born under the Bloomber lucky star. The Properties allow to set the colors and other things: Color preset - choose a preset or set to "Custom" and set your own colors using the properties below. Custom area color - color of the area below the price line. Works only with Color preset = Custom. Custom chart color -
FREE
The utility TradeKeeper Lite can show your profits for different periods and bip a sound when you reach a profit target value. Click the tachometer to quickly switch to the next profit period. There are 5 of them: This Day, This Week, This Month, Last 90 Days and All I Made. With the utility TradeKeeper Pro , available at this link , you can also open trades with a magic number and volume of your choice, trail any orders with a simple trail or iSAR-based trail, as well as close any open trades a
FREE
NewsCatcher Pro
Evgeniy Scherbina
4.71 (14)
NewsCatcher Pro opens both pending and market orders based on data from the mql5.com calendar. In live mode, NewsCatcher Pro automatically downloads the calendar, opens orders, trails and closes orders. NewsCatcher Pro can trade any event from the calendar with any symbol available in MetaTrader, including Gold, Oil and cross-rates. To change the default symbol, go to the event view you want to change it for. NewsCatcher Pro uses two strategies: Strategy 1 (pending orders): the advisor opens two
TradeKeeper Pro
Evgeniy Scherbina
The utility TradeKeeper Pro allows you to open a trade manually with a magic and a volume of your choice. It does not open its own trades, it can only open a trade by your command. TradeKeeper Pro can trail any open trades by the iSAR (parabolic) indicator, and a simple trail. It can set the stoploss level at the open price as soon as possible. To trail any open trades for any instruments, it suffices to launch the utility in one chart. TradeKeeper Pro can close any trades or pending orders of
High Trend
Evgeniy Scherbina
The indicator High Trend Pro monitors a big number of symbols in up to 4 timeframes simultaneously and calculates the strength of their signals. The indicator notifies you when a signal is the same in different timeframes. The indicator can do this from just one chart. Therefore, High Trend Pro is a multicurrency and multitimeframe indicator. High Trend Pro uses emproved versions of popular and highly demanded indicators for calculating its signals. High Trend Pro calculates the signal strength
NewsCatcher Visual
Evgeniy Scherbina
The advisor NewsCatcher Visual automatically downloads actual data from 2 economic calendars: investing.com or mql5.com . The advisor can work in the "autoclick" mode, that is it can open trades automatically by comparing actual and forecast values. It also allows to manually open both instant and pending orders with a set volume. Recommendations By default the advisor NewsCatcher Visual applies the "autoclick" strategy to all events of high volatility. This allows the advisor to work in the
The utility TradeKeeper Pro allows you to open a trade manually with a magic and a volume of your choice. It does not open its own trades, it can only open a trade by your command. TradeKeeper Pro can trail any open trades by the iSAR (parabolic) indicator, and a simple trail. It can set the stoploss level at the open price as soon as possible. To trail any open trades for any instruments, it suffices to launch the utility in one chart. TradeKeeper Pro can close any trades or pending orders of
High Trend MT5
Evgeniy Scherbina
The indicator High Trend Pro monitors a big number of symbols in up to 4 timeframes simultaneously and calculates the strength of their signals. The indicator notifies you when a signal is the same in different timeframes. The indicator can do this from just one chart. Therefore, High Trend Pro is a multicurrency and multitimeframe indicator. High Trend Pro uses emproved versions of popular and highly demanded indicators for calculating its signals. High Trend Pro calculates the signal strength
The advisor NewsCatcher Visual automatically downloads actual data from the mql5.com calendar. The advisor can work in the "autoclick" mode, that is it can open trades automatically by comparing actual and forecast values. It also allows to manually open both instant and pending orders with a set volume. Recommendations By default the advisor NewsCatcher Visual applies the "autoclick" strategy to all events of high volatility. This allows the advisor to work in the fully automatic mode. Howev
Filtrer:
Aucun avis
Répondre à l'avis