OPEN-SOURCE SCRIPT

TEMA Cross with Renko Boxes

7 996
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.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.