PINE LIBRARY

Tosch Stacked EMAs (Fibonacci)

Por AirshipPirate
Atualizado
Library "Tosch_Stacked_EMAs (Fibonacci)"

stacked()
  Returns true if all EMAs are stacked, either way.

bullish()
  Returns true if the EMAs are stacked bullish, false otherwise

emas()
  Returns the EMA values for lengths 5, 8, 13, 21, 34, 55, 89
Notas de Lançamento
v2 - added inputs for display of lines and coloring the bars
Notas de Lançamento
v3
Added ema34 in array of returned EMA values
Notas de Lançamento
v4
changed the colors of the lines and emphasized the 21 EMA as white dots
Notas de Lançamento
v5

emas()
Returns the EMA values for lengths 5, 8, 13, 21, 34, 55, 89

stacked()
Returns true if all EMAs are stacked, either way.

bullish()
bearish()
Returns true if the EMAs are stacked bullish/bearish, false otherwise

bear_count()
bull_count()
Returns the number of stacked EMAs

bull_bool_array()
Returns the arrays of the true/false values if one EMA is below/above the next one
- bear: [ (ema05<=ema08), (ema08<=ema13), (ema13<=ema21), (ema21<=ema34), (ema34<=ema55), (ema55<=ema89) ]
- bull: [ (ema05>=ema08), (ema08>=ema13), (ema13>=ema21), (ema21>=ema34), (ema34>=ema55), (ema55>=ema89) ]
airshippirateExponential Moving Average (EMA)stackedstackedematechindicatortosch

Biblioteca do Pine

De acordo com o verdadeiro espírito do TradingView, o autor publicou esse código Pine como uma biblioteca de código aberto para que outros programadores Pine de nossa comunidade possam reutilizá-lo. Parabéns ao autor! Você pode usar essa biblioteca de forma privada ou em outras publicações de código aberto, mas a reutilização desse código em uma publicação é regida pelas Regras da Casa.

Aviso legal