EMA Slope Trend Follower Strategy by lukescream

By lukescream

Performance Metrics

Description

This strategy is based on the slope of the EMA130.Over that slope, the script calculates two EMAs (9,21) which are used to generate the main entry and exit signal.In particular, the strategy enters a LONG position when EMA9 > EMA21. On the contrary, it closes the LONG and opens a SHORT when EMA9 ema200) are met.I recommend always turning on this filter, as it dramatically decreases drawdown.- Volatility Filter: When the standard deviation of the last 20 candles is below its 50 samples moving average, no positions are opened, as market is going sideways. The purpose of this filter is to prevent false positives (positions which open and close in a matter of candles due to false signals in sideways market).I recommend turning on this filter only on low time frames.This strategy works great on medium time frames (like 4h, 6h, daily), since it spends way less in fees, opening less positions.It works good on low TFs too (up to 1h, didn't test lower ones), provided Volatility filter is turned on and parameters are set according to the asset.Commission included in calculations: 0.06% (it's the taker commission on BitMEX with the 10% discount obtainable with any referral link)Slippage included in calculations: 2 ticks (BitMEX has very liquid order books, and slippage doesn't happen very often unless a huge position size is used).

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView