Elder Market Thermometer - FXB.ta.EMT

The FXB.ta.EMT class calculates the Elder market thermometer, and a moving average of the thermometer. It is a bar-based calculation, and requires candle data as an input. Parameters are as follows:

Parameter

Description

period

Rolling period for the moving average

maType

Type of moving average. Defaults to an exponential moving average (ema / 1).

The primary output values - GetValue() etc - contain the thermometer. The signal values - GetSignalValue() etc - contain the moving average.