OPEN-SOURCE SCRIPT
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.
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。