• 概述
  • 评论
  • 评论 (1)
  • 新特性

MACD Classic Multicurrency

Description

The universal colored multicurrency/multisymbol indicator MACD Classic, consisting of two MACD indicators: MACD Line and MACD Histo.

The 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).


Inputs

  1. Currency_Name - the name of the financial instrument.
  2. FastPeriod - the period of fast MA for OsMA and MACD.
  3. SlowPeriod - the period of slow MA for OsMA and MACD.
  4. SignalPeriod - signal line period for OsMA and MACD.
  5. MA_Method - the averaging method for the MA:
    1. MODE_SMA - 0.
    2. MODE_EMA - 1.
    3. MODE_SMMA - 2.
    4. MODE_LWMA - 3.
  6. Signal_Method - The averaging method of the signal line:
    1. MODE_SMA - 0.
    2. MODE_EMA - 1.
    3. MODE_SMMA - 2.
    4. MODE_LWMA - 3.
  7. 7. Applied_Price - used price
    1. PRICE_CLOSE - 0.
    2. PRICE_OPEN - 1.
    3. PRICE_HIGH - 2.
    4. PRICE_LOW - 3.
    5. PRICE_MEDIAN - 4.
    6. PRICE_TYPICAL - 5.
    7. PRICE_WEIGHTED - 6.
  8. Shift - shift relative to the price chart.


Purpose

The indicator can be used for manual or automated trading in an Expert Advisor. Values of indicator buffers of the double type can be used for automated trading:

  1. The main line of the indicator - buffer 5.
  2. The signal line of the indicator - buffer 4.
  3. The bullish line of the indicator - buffer 0, must not be equal to 0.
  4. The bearish line of the indicator - buffer 1, must not be equal to zero.
  5. The main line of the histogram - buffer 6.
  6. The bullish line of the histogram - buffer 2, must not be equal to 0.
  7. The bearish line of the histogram - buffer 3, must not be equal to zero.
无评论
版本 1.21 2014.09.08
Changed the way the lines are colored.