Public Function MovingAverageEnvelope(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.
||The value can be one of ENUM_APPLIED_PRICE
||Period as integer value
||The value can be one of the ENUM_MA_METHOD
||Shift as integer
Returns the handles of a technical indicator, in case of failure returns a empty string.
Back to VTL Server Script Index