PINE LIBRARY
已更新

Tosch Stacked EMAs (Fibonacci)

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
發行說明
v2 - added inputs for display of lines and coloring the bars
發行說明
v3
Added ema34 in array of returned EMA values
發行說明
v4
changed the colors of the lines and emphasized the 21 EMA as white dots
發行說明
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) ]

免責聲明