Indicators: Sampler

 

Sampler:

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.

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

Author: her.human

i_Sampler indicator

 
Shall i get MQL4 version?
 

 Hello,

 

  Admin, can I test the indicator to see its potential. cheers 

   

 
aiban:

 Hello,

 

  Admin, can I test the indicator to see its potential. cheers 

   

Obviously, test it, no problem.
 
angevoyageur:
Obviously, test it, no problem.
why does it read a _Sampler.BIN file? 
 
I found it interesting and saved it. :)  Figuring out the easiest way to make it compatible as an set and forget EA !
 

Looks nice. Does anybody know if it repaints ?


thx

 

Hi I changed your indicator name and start using and i found that indicator and signal time never meet. 

inside the OnCalculate function always show signal on previous candle not in the real time candle and you please explain how to resolve that issue so that i can tested again.

Reason: