Daily HIGH/LOW Strategy
Overview
This is a simple intraday trading strategy that combines daily high/low points, moving average and volume. The main idea is to use the breakout of previous day's high/low points, moving average direction and fund flow as entry signals.
Strategy Logic
The strategy is mainly based on the following indicators:
-
Daily high/low points: Record the highest and lowest prices of the previous trading day as the benchmark for breakout judgment.
-
Moving average: Calculate the moving average of closing prices over a certain period as a reference for the overall trend.
-
Volume money flow: Calculate the normalized long/short value of volume over a period to determine fund inflows and outflows.
The specific trading rules are:
-
Long condition: When the day high breaks the previous day's high, and the close is above the moving average, and volume money flow is positive, go long.
-
Close long position: When the close breaks below the moving average, close long positions.
-
Short condition: When the day low breaks the previous day's low, and the close is below the moving average, and volume money flow is negative, go short.
-
Close short position: When the close breaks above the moving average, close short positions.
The strategy takes into account breakout, trend and capital flow comprehensively, forming a complete judgment system that can effectively filter out false breakout noises. But since it only makes decisions based on intraday data, it is a short-term trading strategy.
Advantage Analysis
This high/low breakout strategy has the following advantages:
-
The logic is simple and intuitive, easy to understand and implement.
-
Breaking the previous day's high/low points can capture the direction of stronger forces.
-
Filtering with moving averages avoids many noisy signals.
-
Capital flow indicators help determine the long/short distribution of forces.
-
Intraday trading allows accumulating profits through multiple trades.
-
No complex parameter optimization is required, relatively easy to implement.
-
Applicable to different products with high flexibility.
-
Overall, the strategy idea is simple and clear, with little difficulty in implementation and considerable profit potential.
Risk Analysis
Although the strategy has many advantages, there are also some risks:
-
Reliance on high/low breakouts may cause losses from false breakouts.
-
Overly reliant on intraday trading, easily affected by overnight events.
-
Lagging of moving averages may miss trend turning points.
-
Volume indicators can sometimes give wrong signals.
-
Unable to well control the loss size of single bets, with risk of oversized losses.
-
Frequent intraday trading is impacted by trading costs.
-
Limited optimization space makes it hard to achieve persistent alpha.
-
Overall, the strategy has high signal frequency but unproven stability and profitability.
Optimization Directions
The strategy can be further optimized in the following aspects:
-
Add stop loss to control single bet risk.
-
Optimize moving average parameters for more sensitivity or smoothness.
-
Try different volume indicators to improve capital flow judgment.
-
Add more filters to reduce false breakout chances.
-
Run the strategy in higher timeframes to avoid over-trading.
-
Introduce machine learning for adaptive signal generation.
-
Incorporate more data for decision making, e.g. news, macros etc.
-
Comprehensively evaluate stability and risk, not pursuing excess returns.
Conclusion
In summary, this is a simple and intuitive high/low breakout strategy, focusing on price-volume relationship and trend judgment. It has some merits but also risks, requiring further optimization and verification. If properly risk-managed, it can be a practical short-term strategy idea. But more efficient and robust strategies need more modeling factors and rigorous backtesting.
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © exlux99
//@version=5
strategy(title='Daily HIGH/LOW strategy', overlay=true, initial_capital=10000, calc_on_every_tick=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)
////////////////////////////GENERAL INPUTS//////////////////////////////////////
len = input.int(24, minval=1, title='Length MA', group='Optimization paramters')
src = input.source(close, title='Source MA', group='Optimization paramters')
out = ta.ema(src, len)
- 1
