Gesundheit

TEMA Cross on Renko Candles

Renko candles filter out noise by plotting a fixed change in price rather than a fixed time frame.

Strategies like MACD or MA cross can give a lot of false signals when the price is wavy, but not actually going anywhere. This is especially a problem with small time frames.

Since it's so easy to identify trends on a Renko plot, this strategy uses a simple moving average cross idea. Instead of an EMA, we use a TEMA (triple exponential moving average) because that version does not lag as much.

We also will avoid buying when the price is above a longer-term smoothed moving average. This means we will hopefully reduce bags, but we will also miss some trades.

Also included are
avg_protection -- if >0 only buy when it will bring down our average price, else buy whenever the TEMA crosses over the short-term SMA
gain_protection -- if >0 only sell when we meet out min_gain %, otherwise sell whenever TEMA crosses under the short-term SMA

I've been setting my Renko candles to a fixed range instead of ATR, and I use increments of roughly 0.1% in the example chart.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?