Type/to search

BTC and ETH Long Trend Strategy

Cryptocurrency
Created: 2023-10-07 10:16:09
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This is a simple technical indicator based automated long trend strategy for cryptocurrencies like Bitcoin and Ethereum, aiming to capture major uptrends and reduce trading fee losses from frequent trading.

Strategy Logic

  1. Use MACD to determine trend direction, long when MACD crossing up;

  2. Calculate 20-period EMA, 100-period SMA and 200-period SMA, go long when EMA and SMA pointing up together;

  3. Buy when EMA is higher than SMA, and SMA is higher than slow SMA;

  4. Set stop loss line, stop out when price breaks stop loss.

  5. Close position when price drops and EMA crosses below SMA.

This strategy combines multiple indicators to determine trend and entry timing to profit from major uptrends.

Advantages

  1. Multiple indicator combo can help filter out false breakouts and wrong signals.

  2. Only enter in obvious trends can reduce unnecessary trades and lower trading frequency.

  3. Stop loss can effectively limit max loss per trade.

  4. Backtest shows decent profitability in BTC and ETH.

  5. Simple and clear logic, easy to understand and implement, good for beginners.

  6. High extensibility to include more indicators for optimization.

Risks

  1. High market randomness, wrong judgement risks.

  2. Single position approach cannot hedge systematic risks.

  3. Improper stop loss setting may cause overstoploss.

  4. Backtest does not represent live results, real performance is yet to be validated.

  5. Trading costs impact not considered, may differ from live performance.

  6. Did not consider product characteristics, parameter tuning needed.

Optimization Directions

  1. Test different parameter combinations to optimize indicator parameters.

  2. Add filters like KDJ to filter entry signals.

  3. Optimize stop loss strategy, like adding dynamic stop loss.

  4. Consider position sizing based on account size.

  5. Distinguish product characteristics, adjust parameters accordingly.

  6. Incorporate more timeframes for analysis.

  7. Test different products and find the best suited ones.

Conclusion

The strategy logic is simple and clear. Using multiple indicators can help filter out wrong signals effectively. But further optimization on parameters, risk control etc. is needed, combined with live trading verification, before actual application. With proper extensions, it can become a very practical crypto trend following strategy.

Source
Pine
/*backtest
start: 2023-09-06 00:00:00
end: 2023-10-06 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
strategy(title="BTC Long strategy", overlay=true, max_bars_back=3000, initial_capital=1000, commission_value=0.075)

//////////// !!!!!!!!!!!!!!!! WORK BEST IN 2 HOURS for BTC, ETH and ETHXBT !!!!!!!!!!!!!!!!!!! /////////////////////
Strategy parameters
Strategy parameters
StopLoss in %
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)