• 概述
  • 评论
  • 评论 (7)

MACD Line Smart

Description

A colored universal multicurrency/multi-symbol indicator MACD Line Smart (the indicator moving average convergence divergence is displayed as a histogram) based on double or triple moving average

Comparing to the standard MACD this indicator is more sensitive to what allows generating advance signals.

he indicator may be used with any broker, irrespective of the name of the financial instrument since it is necessary to manually enter the name as an input parameter. If you enter a non-existent or incorrect name of a financial instrument, you will receive an error message that this financial instrument is unknown (does not exist).

You can select coloring for the rising and falling lines of the indicator histogram.


Purpose

The indicator can be used for manual or automated trading within an Expert Advisor. For automated trading, use the indicator buffer of the double type: 

  1. Main line of the indicator - buffer 3.
  2. Signal line of the indicator - buffer 2.
  3. Bullish line of the indicator - buffer 0, must not be equal to zero.
  4. Bearish line of the indicator - buffer 1, must not be equal to zero.


Input Parameters

  1. Currency_Name - name of the financial instrument.
  2. Calc_Method - method of calculation of the indicator:
    • 0 - on the basis of double moving average (default).
    • 1 - on the basis of triple moving average.
  3. FastMA - period of the fast moving average.
  4. SlowMA - period of the slow moving average.
  5. SignalMA - period of the signal line.
  6. MA_Method - method of averaging:
    • MODE_SMA - 0.
    • MODE_EMA - 1.
    • MODE_SMMA - 2.
    • MODE_LWMA - 3.
  7. Signal_Method - method of averaging of the signal line:
    • MODE_SMA - 0.
    • MODE_EMA - 1.
    • MODE_SMMA - 2.
    • MODE_LWMA - 3.
  8. Applied_Price - price used:
    • PRICE_CLOSE - 0.
    • PRICE_OPEN - 1.
    • PRICE_HIGH - 2.
    • PRICE_LOW - 3.
    • PRICE_MEDIAN - 4.
    • PRICE_TYPICAL - 5.
    • PRICE_WEIGHTED - 6.
  9. Shift - shift of the basic indicator relative to the price chart.
无评论