PINE LIBRARY

LinTrendLib

279
Library "LinTrendLib"
TODO: add library description here

ema_trend(twz, ema_length, cross_ratio, multiplier)
  Given Bullish / Bearish / side-way market jugement
  Parameters:
    twz (int)
    ema_length (simple int)
    cross_ratio (float)
    multiplier (float)
  Returns: 1 --> bullish trend, -1 --> bearish trend, 0 --> sideway market

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.