Three Line Breakout Strategy
Overview
This strategy is based on a modified three line break chart. Two lines made of closing prices form a "cloud" shape. Breakout below the cloud signals a new bearish trend. Breakout above the cloud signals a new bullish trend. It is a price action strategy that can be combined with trend filters like SuperTrend.
Strategy Logic
-
Define current price xu, xu1, xu2, xu3 for plotting three lines.
-
Update xu1, xu2, xu3 based on price as upper/lower band.
-
xu breaking xu3 starts a short trend, breaking xu1 starts a long trend.
-
Plot cloud band using xu and xu3.
-
Option to trade in reverse direction.
-
Enter on cloud breakouts, exit on returning inside cloud.
Advantage Analysis
The advantages of this strategy are:
-
Based purely on price action, unaffected by indicators.
-
Clear and intuitive three line pattern.
-
Flexibility to trade reversals.
-
Easy to combine with trends and other indicators.
-
Easy backtesting and visualization for refinement.
Risk Analysis
The main risks of this strategy are:
-
Price patterns prone to false breakouts from events.
-
No stop loss exposes to large losses.
-
Ignores trading costs.
-
Fixed parameters may not suit different products.
-
Doesn't account for consecutive breakouts.
-
Reversal trading risky against major trends.
Optimization Directions
The strategy can be improved by:
-
Adding stop loss and optimizing stops.
-
Accounting for trading costs.
-
Testing parameters for different products.
-
Improving breakout logic for consecutive breaks.
-
Adding trend filter to avoid counter-trend trades.
-
Controlling position sizing.
-
Expanding backtest period for robustness.
Summary
The three line breakout strategy provides intuitive signals based on price patterns. It can be strengthened by adding trends, indicators, stops, optimized logic and parameters, and position sizing. This can transform it into a robust short-term trading system.
/*backtest
start: 2022-09-22 00:00:00
end: 2023-09-22 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 31/05/2019
// This is a modified version of the three line break price representation. - 1
