Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2013.01.21 16:03

Support Vector Machine Indicator - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 25
This indicator uses support vector machines to analyse indicator data and signal future trades. Buy trades are signalled by a green ‘up’ arrow with sell trades signalled by a red ‘down’ arrow.

Support Vector Machine Indicator: GBPJPY 1hr 

The process adopted by this indicator is as follows:

  1. Select what indicators are to be used as inputs for the support vector machine.
  2. Collect historical indicator and price data for the current symbol.
  3. Use this historical data to determine what trades would have been successful if they had been taken.
  4. Feed this data to the support vector machine and use it for training.
  5. Use the trained support vector machine to signal future trades.

This indicator uses the Support Vector Machine Learning Library available from the metaquotes market place to achieve support vector machine functionality.

When the custom indicator is first attached to the chart, it populates the chart with historical buy/sell trades that would have been successful. It is these data points that are used to train the support vector machine, then on any bar thereafter the indicator uses the model produced by the trained support vector machine to predict any future trades.

This is a simple indicator used to demonstrate how support vector machines can assist in signalling trades. I recommend you optimize inputs used for the support vector machine to maximise your results. Some examples components you may wish to modify are:

  • The number of inputs used (this can theoretically be from one to infinity)
  • The indicator types (this can be any built-in/custom indicator)
  • The offset in indicator data (this can be changed to allow passing in a snapshot of an indicator i.e. the past 5 bars)
  • The number of Training Points to be used.


Triangular Moving Average (TMA). The main weight goes for the average part of the price series. In fact, the Moving Average is a double smoothed simple Moving Average

Cronex_T_DeMarker_GF Cronex_T_DeMarker_GF

The trend indicator with divergence histogram.

Exp_SuperWoodiesCCI Exp_SuperWoodiesCCI

The trading system drawn on the basis of the signals of the SuperWoodiesCCI indicator

channel_breakout_entry channel_breakout_entry

The market volatility indicator