Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
8793
Rating:
(55)
Published:
2012.06.01 09:55
Updated:
2016.11.22 07:32
i_sampler.mq5 (7.06 KB) view
\MQL5\Experts\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator (i_Sampler.mq5) calculates perfect market entry signals, which can be used for neural network training.

It has two buffers:

  • buffer 0 (green line) - analog signal, calculated as a ratio of the positive/negative price change (normalized to range [-1, +1]) during bars_future bars forward;
  • buffer 1 (two-color histogram) discrete signal, the values are: -1(sell), 0(wait), +1(buy).

The discrete signal can be calculated 2 different methods:

  • method 1: the signal appears when analog signal became greater than threshold, specified by porog input parameter;
  • method 2: the signal appears when TP/SL conditions are satisfied.

i_Sampler indicator

The e_CheckSampler.mq5 Expert Advisor is created for checking of the indicator values.

The Expert Advisor uses the data from file, created by indicator.

Expert Advisor based on i_Sampler indicator


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/903

Pearson correlation indicator Pearson correlation indicator

Pearson correlation indicator shows the correlation between symbols.

Size Highs And Lows Size Highs And Lows

The indicator shows the size of Highs and Lows and their values over the specified period.

sSortTest sSortTest

Comparative study of sorting algorithms.

EMA_STD_VA EMA_STD_VA

Adaptive Exponentially Smoothed Moving Average, based on StdDev indicator.