Saturday, December 16, 2017

Trend state Geometrical Mean

Trend state Geometrical Mean


Description of the indicator:


Indicator draws a colored geometric weighted moving average price in the chart window. In addition, this indicator can be used to render the color of other indicators, in which this feature is not enabled by default. Trend state Geometrical Mean can be painted using a different indicator values, but in this case all the values ​​of the indicator must be greater than zero.




Description of the parameters:



  • Averaging period - averaging period indicator.

  • First weight - weight of the first (earliest) values ​​averaging period.

  • Weight incrementation - increment of weight averaged values.

  • Vertical shift - vertical shift indicator in points.

  • Horizontal shift - horizontal shift indicator in bars.


Parameter Averaging period must be greater than zero. Furthermore, the following relationship must hold between the values ​​of the parameters:


! (FW * 2) = (WI * (1 - AP))

Where:



  • FW - value First weight.

  • WI - value Weight incrementation.

  • AP - value Averaging period.

  • "! =" - the ratio "does not equal".


On the settings Vertical shift Horizontal shift and no restrictions are imposed.




Examples of settings:



  • In order to render the classical moving average geometric First weight parameter set equal to unity, and Weight incrementation zero.

  • Color rendering values ​​of another indicator, follow these steps:

    1. Select the indicator you want to display in color. For example, take Adaptive Moving Average indicator from a standard set of terminals. This indicator is currently not possible multicolored display values ​​(screenshot 6).

    2. After assigning the parameters of the indicator, select a color rendering None (screenshot 7), and then click OK.

    3. Run Trend state Geometrical Mean indicator, set the Averaging period and First weight equal to one and setting Weight incrementation zero (screenshot 8). Settings Vertical shift Horizontal shift and can install on your own.

    4. After that, go to the Parameters tab of the indicator settings window and in the "Apply to", select Previous Indicator's Data (screenshot 9).

    5. On the "Colors" set the desired style and color rendering. The first color - for increasing values ​​of the second - for decreasing (screenshot 10).

    6. Click on OK, a the result you get that were drawn in different colors of the indicator (screenshot 11) you have selected!




Trend state Geometrical Mean

No comments:

Post a Comment