Type/to search

Trend Following Strategy Based on Price Friction Zones

Cryptocurrency
Created: 2023-09-20 16:46:17
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy measures price dwell time in different zones to identify low friction areas, and trades breakouts in these zones. It belongs to trend following strategies.

Strategy Logic

  1. Calculate price dwell ratio around current levels over past N periods as price friction.

  2. Identify if price enters low friction zones with minimal dwell time recently.

  3. Use fast weighted MA to determine recent trend direction. Trade breakouts in low friction zones along trend.

  4. Take profit when price re-enters high friction zones anticipating trend reversal.

  5. Customizable parameters including friction lookback, breakout zone etc.

Advantages

  1. Price friction avoids ranging markets and finds trend outbreak zones.

  2. Fast MA combines with friction to determine direction.

  3. Intuitive visuals displaying price friction levels.

  4. Default parameters optimized for crypto high frequency trading.

  5. Simple and clear logic easy to comprehend and customize.

Risks

  1. Price friction unable to fully predict future moves.

  2. Fast MA may produce inaccurate timing.

  3. Ineffective smoothing into and out of trades.

  4. Optimization risks overfitting.

  5. Fixed parameters may underperform in volatile markets.

Enhancement

  1. Test different periods to calculate price friction.

  2. Evaluate different MA types to determine recent trend.

  3. Optimize breakout zone parameters for higher stability.

  4. Add stop loss and take profit for risk management.

  5. Consider dynamic parameters to adapt to changing markets.

  6. Backtest across more symbols and timeframes.

Conclusion

This strategy trades price friction zones with high probability breakout potential, with pros and cons. Enhancements like dynamic optimization and risk management can make it more robust and efficient.

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

//@version=4
//made for 30m chart with BTCUSD or other cryptocurrency
strategy("LUBE",overlay=false )
friction=0.0
Strategy parameters
Strategy parameters
bars back to measure friction
0-100 friction level to stop trade
pic lower than 0 to number selected above to initiate trade
bars back to measure lowest friction
Source
leverage
enable shorts?
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)