Public FunctionMovingAverageEnvelope(applyTo As ENUM_APPLIED_PRICE, period As Integer, Ma As ENUM_MA_METHOD, Shift As Integer) As Integer
Moving Average Envelopes consist of moving averages calculated from the underling price, shifted up and down by a fixed percentage.
Moving Average Envelopes (or trading bands) can be imposed over an actual price or another indicator.
When prices raises above the upper band or fall below the lower band, a change in direction may occur when the price penetrates the band after a small reversal from the opposite direction.
|applyTo||The value can be one of ENUM_APPLIED_PRICE|
|Period||Period as integer value|
|Ma||The value can be one of the ENUM_MA_METHOD|
|Shift||Shift as integer|
Returns the handles of a technical indicator, in case of failure returns a empty string.
Leave A Comment