OPEN-SOURCE SCRIPT

Greed Control Algo

98
isGreedBar = vol > ta.sma(vol, 20) * greedVolFactor and rsi > greedRsi
isTop = high == ta.highest(high, lookback)
isBottom = low == ta.lowest(low, lookback)

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.