# Technical Analysis

Acceleration Bands (ABANDS) created by Price Headley. Plots bands around a simple moving average as the midpoint and the upper and lower bands are of equal distance from this midpoint. Look for breakouts outside these bands, while also using the shorter time frames to define likely support and resistance levels at the lower and upper Acceleration Bands. This indicator is usually plotted on the price chart.

- ABANDS(high, low, close, period)

Returns an array with 3 results arrays. Upper on index 1, middle on index 2 and lower on index 3.

Return Type:

**Dynamic**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | BuyPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, HLPrices, HLCPrices, OCPrices, OHLCPrices |

low | ListNumbers | True | BuyPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, HLPrices, HLCPrices, OCPrices, OHLCPrices |

close | ListNumbers | True | BuyPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, HLPrices, HLCPrices, OCPrices, OHLCPrices |

period | Number | True | Input, Number, SessionGet |

Accumulation/Distribution Line (AD) Developed by Marc Chaikin, the Accumulation Distribution Line is a volume-based indicator designed to measure the cumulative flow of money into and out of a security. Chaikin originally referred to the indicator as the Cumulative Money Flow Line. As with cumulative indicators, the Accumulation Distribution Line is a running total of each period's Money Flow Volume. First, a multiplier is calculated based on the relationship of the close to the high-low range. Second, the Money Flow Multiplier is multiplied by the period's volume to come up with a Money Flow Volume. A running total of the Money Flow Volume forms the Accumulation Distribution Line. This indicator is usually plotted to its own chart.

- AD(high, low, close, volume)

Returns the AD result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

volume | ListNumbers | True | GetVolume |

Developed by Marc Chaikin, the Chaikin Oscillator (ADOSC) measures the momentum of the Accumulation Distribution Line using the MACD formula. (This makes it an indicator of an indicator.) The Chaikin Oscillator is the difference between the 3-day and 10-day EMAs of the Accumulation Distribution Line. Like other momentum indicators, this indicator is designed to anticipate directional changes in the Accumulation Distribution Line by measuring the momentum behind the movements. A momentum change is the first step to a trend change. This indicator is usually plotted to its own chart.

- ADOSC(high, low, close, volume, fastPeriod, slowPeriod)

Returns the ADOSC result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

volume | ListNumbers | True | GetVolume |

fastPeriod | Number | True | Input, Number, SessionGet |

slowPeriod | Number | True | Input, Number, SessionGet |

The Average Directional Index (ADX) depicts a presence or absence of a trend. ADX advices on the strength of the dominant forces that move market prices here and now. In other words, ADX advices on trend tendencies: whether the trend is going to continue and strengthen or it is about to lose its positions. This indicator is usually plotted to its own chart.

- ADX(high, low, close, period)

Returns the ADX result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

Average Directional Movement Index Rating (ADXR) is a smoothed version of ADX indicator and is used as a rating of the Directional Movement while smoothing out ADX values. If to compare ADXR to ADX, the smoother ADXR doesn't depend much on fast short-term market turns and reversals, which allows to minimize trading risks when relying on ADXR in the long term. This indicator is usually plotted to its own chart.

- ADXR(high, low, close, period)

Returns the ADXR result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Awesome Oscillator (AO) shows the difference in between the 5 SMA and 34 SMA. If to be precise, 5 SMA of mid-prices is subtracted from 34 SMA of mid-prices which allows to see the market momentum. This indicator is usually plotted to its own chart.

- AO(hl2prices, shortLength, longLength)

Returns the AO result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

hl2prices | ListNumbers | True | HLPrices |

shortLength | Number | True | Input, Number, SessionGet |

longLength | Number | True | Input, Number, SessionGet |

The Absolute Price Oscillator (APO) displays the difference between two exponential moving averages of an asset's price and is expressed as an absolute value. This indicator is usually plotted to its own chart.

- APO(prices, fastPeriod, slowPeriod, [ maType ])

Returns the APO result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

fastPeriod | Number | True | Input, Number, SessionGet |

slowPeriod | Number | True | Input, Number, SessionGet |

maType | Enum | False | InputMaTypes, SmaType, EmaType, WmaType, DemaType, TemaType, TrimaType, KamaType, MamaType, T3Type |

Aroon indicator is a young one, developed by Tushar Chande in 1995. Aroon was created to measure the strength of a trend and potentials for its continuation as well as the quality and type of the trend: up-trend, down-trend or sideways moving market. This indicator is usually plotted to its own chart.

- AROON(high, low, period)

Returns an array with 2 results arrays. Aroon down on index 1 & Aroon up on index 2.

Return Type:

**Dynamic**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

Aroon oscillator is based on Aroon Indicator. Aroon Oscillator is a trend-following indicator that illustrates the strength of a current trend and its potentials to last. This indicator is usually plotted to its own chart.

- AROONOSC(high, low, period)

Returns the AROONOSC result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Average True Range (ATR), developed by Wilder, gives traders a feel of what the historical volatility was in order to prepare for trading in the actual market. Currency pairs that get lower ATR readings suggest lower market volatility, while currency pairs with higher ATR indicator readings require appropriate trading adjustments according to higher volatility. Wilder used the Moving average to smooth out the ATR indicator readings, so that ATR looks the way we know it. This indicator is usually plotted to its own chart.

- ATR(high, low, close, period)

Returns the ATR result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Average Deviation (AVGDEV) is simply an averaged version of the Standard Deviation (STDDEV). This indicator is usually plotted to its own chart.

- AVGDEV(close, period)

Returns the AVGDEV result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

close | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Average Price (AVGPRICE) is the price between open, high, low and close (aka OHLC/4). This indicator is usually plotted on the price chart.

- AVGPRICE(open, high, low, close)

Returns the AVGPRICE result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

open | ListNumbers | True | |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True |

The Bollinger Band (BBANDS) study created by John Bollinger plots upper and lower envelope bands around the price of the instrument. The width of the bands is based on the standard deviation of the closing prices from a moving average of price. This indicator is usually plotted on the price chart.

- BBANDS(prices, period, devUp, devDn, [ maType ])

Returns an array with 3 results arrays. Upper on index 1, middle on index 2 and lower on index 3.

Return Type:

**Dynamic**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

devUp | Number | True | Input, Number, SessionGet |

devDn | Number | True | Input, Number, SessionGet |

maType | Enum | False | InputMaTypes, SmaType, EmaType, WmaType, DemaType, TemaType, TrimaType, KamaType, MamaType, T3Type |

The Beta (BETA) value can measure he volatility of a coin in relation to that of the market. For stock investors the beta value[1] of a portfolio is an important measure of risk, a value above 1 means the investment is more volatile than the market, a value lower than 1 is less volatile. It can be helpful to do a beta analysis for your portfolio to see how returns match up against the beta and spot real winners (low beta, high returns). Since most altcoins are still sold and bought using Bitcoin (BTC), its price could be used as the [Market's source data] (2nd input parameter), which results BTC a beta of 1. This indicator is usually plotted to its own chart.

- BETA(prices1, prices2, period)

Returns the BETA result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices1 | ListNumbers | True | |

prices2 | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Balance of Power (BOP) indicator measures the market strength of buyers against sellers by assessing the ability of each side to drive prices to an extreme level. The resulting values can be smoothed by a moving average. This indicator is usually plotted to its own chart.

- BOP(open, high, low, close)

Returns the BOP result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

open | ListNumbers | True | |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True |

The Commodity Channel Index (CCI) compares the current price to an average price over a period of time. The indicator fluctuates above or below zero, moving into positive or negative territory. CCI is relatively high when prices are far above their average, but is relatively low when prices are far below their average. In this manner, CCI can be used to identify overbought and oversold levels, or to confirm trends. This indicator is usually plotted to its own chart.

- CCI(high, low, close, period)

Returns the CCI result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

Candlestick pattern finder.

- CDL(open, high, low, close, type, [ penetration ])

Returns a value. 0 is not found. Above 0 is long pattern found. Below 0 is short pattern found.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

open | ListNumbers | True | |

high | ListNumbers | True | |

low | ListNumbers | True | |

close | ListNumbers | True | |

type | Enum | True | InputCdlTypes, TwoCrowsType, ThreeBlackCrowsType, ThreeInsideType, ThreeLineStrikeType, ThreeOutsideType, ThreeStarsInSouthType, ThreeWhiteSoldiersType, AdvanceBlockType, BeltHoldType, BreakawayType, ClosingMarubozuType, ConcealBabysWallType, CounterAttackType, DojiType, DojiStarType, DragonflyDojiType, EngulfingType, GapSideSideWhiteType, GravestoneDojiType, HammerType, HangingManType, HaramiType, HaramiCrossType, HignWaveType, HikkakeType, HikkakeModType, HomingPigeonType, IdenticalThreeCrowsType, InNeckType, InvertedHammerType, KickingType, KickingByLengthType, LadderBottomType, LongLeggedDojiType, LongLineType, MarubozuType, MatchingLowType, OnNeckType, PiercingType, RickshawManType, RiseFallThreeMethodsType, SeperatingLinesType, ShootingStarType, ShortLineType, SpinningTopType, StalledPatternType, StickSandwhichType, TakuriType, TasukiGapType, ThrustingType, TristarType, UniqueThreeRiverType, UpsideGapTwoCrowsType, XSideGapThreeMethodsType, AbandonedBabyType, DarkCloudCoverType, MatHoldType, MorningDojiStarType, MorningStarType, EveningDojiStarType, EveningStarType |

penetration | Number | False | Input, Number, SessionGet |

Calculates the chandelier exit long price.

- ChandelierExitLong(high, close, low, [ depth ], [ multiplier ])

Returns the target price.

Return Type:

**Number**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | HighPrices |

close | ListNumbers | True | LowPrices |

low | ListNumbers | True | ClosePrices |

depth | Number | False | Input, Number, SessionGet |

multiplier | Number | False | Input, Number, SessionGet |

Calculates the chandelier exit short price.

- ChandelierExitShort(high, close, low, [ depth ], [ multiplier ])

Returns the target price.

Return Type:

**Number**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | HighPrices |

close | ListNumbers | True | LowPrices |

low | ListNumbers | True | ClosePrices |

depth | Number | False | Input, Number, SessionGet |

multiplier | Number | False | Input, Number, SessionGet |

The Chande Momentum Oscillator (CMO) indicates overbought conditions when it reaches the 50 level and oversold conditions when it reaches −50. You can also look for signals based on the CMO crossing above and below a signal line composed of a 9-period moving average of the 20 period CMO. This indicator measures the trend strength. This indicator is usually plotted to its own chart.

- CMO(prices, period)

Returns the CMO result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Coppock Curve (COPPOCK) is a smoothed momentum oscillator developed by Edwin “Sedge” Coppock. It can help you isolate buying opportunities and exit points. Even though it was originally designed for long-term analysis, it can be used on intraday, daily or weekly charts and the settings can be adjusted to suit one's style. The main signals are generated with crosses above and below the zero line. This indicator is usually plotted to its own chart.

- COPPOCK(prices, roc1, roc2, period)

Returns the COPPOCK result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

roc1 | Number | True | Input, Number, SessionGet |

roc2 | Number | True | Input, Number, SessionGet |

period | Number | True | Input, Number, SessionGet |

The Correlation (CORREL) is a statistical measure that reflects the correlation between two assets. In other words, this statistic tells us how closely one security is related to the other. Coefficient is above zero when both securities move in the same direction (up or down) and below zero when the two securities move in opposite directions. This indicator can also help traders diversify by identifying assets with a low or negative correlation to the market. This indicator is usually plotted to its own chart.

- CORREL(source1, source2, period)

Returns the CORREL result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

source1 | ListNumbers | True | |

source2 | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Connor's RSI (CRSI) is a momentum oscillator created by Larry Connors. Three components combine to form this momentum oscillator; The RSI, UpDown Length, and Rate-of-Change. Connors RSI outputs a value between 0 and 100, which is then used to identify short-term overbought and oversold conditions, or to confirm trends. This indicator is usually plotted to its own chart.

- CRSI(prices, rsiPeriod, udPeriod, length)

Returns the CRSI result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

rsiPeriod | Number | True | Input, Number, SessionGet |

udPeriod | Number | True | Input, Number, SessionGet |

length | Number | True | Input, Number, SessionGet |

The Double Exponential Moving Average (DEMA) was developed by Patrick Mulloy. It is used for smoothing price series and attempts to offer a smoothed average with less lag than a straight exponential moving average (EMA). This indicator is usually plotted directly on a price chart.

- DEMA(prices, period)

Returns the DEMA result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Donchian Channel (DONCHIAN), developed by Richard Donchian. Donchian Channel is formed by taking the highest high and the lowest low of the last n periods. The area between the high and the low is the channel for the period chosen. This indicator is usually plotted on the price chart.

- DONCHIAN(high, low, period)

Returns an array with 3 results arrays. Upper on index 1, middle on index 2 and lower on index 3.

Return Type:

**Dynamic**Parameter Name | Parameter Type | Required | Suggested |

high | ListNumbers | True | |

low | ListNumbers | True | |

period | Number | True | Input, Number, SessionGet |

The Detrended Price Oscillator (DPO) is an indicator in technical analysis that attempts to eliminate the long-term trends in prices by using a displaced moving average so it does not react to the most current price action. This allows the indicator to show intermediate overbought and oversold levels effectively. This indicator is usually plotted on its own chart.

- DPO(prices, shortLength, longLength)

Returns the DPO result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |

prices | ListNumbers | True | |

shortLength | Number | True | Input, Number, SessionGet |

longLength | Number | True | Input, Number, SessionGet |

The Directional Movement Index (DX) is indicator in technical analysis which is based on two other Welles Wilder's indicators: negative directional indicator (-DI) and positive directional indicator (+DI). It was designed to evaluate the strength of a trend and to define a period of sideway trading. This indicator is usually plotted on its own chart.

- DX(high, low, close, period)

Returns the DX result.

Return Type:

**ListNumbers**Parameter Name | Parameter Type | Required | Suggested |