The Exp_2pbIdealXOSMA Expert Advisor is drawn on the basis of 2pbIdealXOSMA indicator. A signal to perform a deal is formed at bar closing if the histogram changes the direction.
Place 2pbIdealXOSMA.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. The instances of history of deals in the chart.
Testing results for 2011 at USDCHF H4:
Fig. 2. Charts of testing results
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1167
Weighted Moving Average with a regulated lag using a curve of the normal (or Gauss) distribution as the function of weight coefficientsVFractals
The VFractals indicator marks the level of the fractal formed on the bar with a volume larger than the average volume of the last 3 bars to fractal