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) ]
airshippirateExponential Moving Average (EMA)stackedstackedematechindicatortosch

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明