Gesundheit

TEMA Cross with Renko Boxes

This is a pretty simple microprofit strategy with a couple twists:

Renko boxes plot fixed price changes over variable amounts of time, rather than plotting varying price changes over fixed amounts of time like conventional candlesticks. This makes price trends much simpler to identify, and that's what we ultimately care about.

Triple exponential moving average is a moving average that has considerably less lag compared to a regular EMA.

Buying and selling is simple, buy when TEMA crosses above a short-term SMA, and sell when TEMA crosses below the short-term SMA. The use of Renko candles makes these crosses more reliable, and TEMA gives us more optimal entries and exits.

We also avoid buying if the price is above a longer-term smoothed moving average. This is an attempt to avoid bags but it means we might miss a few trades right after a pump.

Also included are
avg_protection -- if > 0 we only buy if it will reduce our average bought price
gain_protection -- if >0 only sell once we have met our min_gain


I prefer to use a fixed price increment (traditional Renko) rather than ATR. I start with an increment roughly 0.1% of the current price level and see how the chart looks. It's better if the chart has a lot of big zig-zags. Larger price increments will be less noisy and more reliable, and is more suited for longer-term swing trading.


This strat needs to be used with tiny tiny order sizes and can definitely be improved upon. It does not maximize gains on very rapid pumps.

It basically accumulates a long position with many small buys over and over when the price is below average, until there is an opportunity to sell for a profit. In a pump there is not a lot of time to re-accumulate a position after the first sell.

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?