• 概要
  • レビュー
  • コメント
  • 最新情報

Following The Trend Indicator

A trend indicator built on a smoothed MA with standard deviation. The value of the standard deviation changes automatically depending on the angle of inclination of the MA, the limits of variation of the deviation are set in the settings.

The indicator goes well with grid trading strategies.

When calling the indicator from the adviser, through iCustom, use the following buffers:

0 - MA (yellow line)

1 - Upper Deviation (Red Line)

2 - Bottom Deviation (Blue Line)

3 - The angle of inclination. Angle is measured in degrees from -90 to 90. The calculation of the angle of inclination is made from the ratio of the number of points per unit time and does not depend on the current settings of the chart scale, in connection with which the calculated angle may differ from the angle of inclination visually observed on the price chart.


Settings:

LinePeriod - MA period;

TF - timeframe for which the period is set;

MinDeviation - coefficient of minimum standard deviation;

MaxDeviation - coefficient of maximum standard deviation;

DrawPeriod - indicator rendering range. Also, the standard deviation is calculated for this period;

Start - offset of the beginning of the indicator drawing relative to the current bar.

CommentAngle - displays the value of the angle of inclination MA in the upper left corner.

レビューなし
バージョン 1.20 2019.12.06
Code optimization
バージョン 1.10 2019.12.02
Added "Sensitivity" parameter. The lower the value, the faster the indicator responds to price changes.