Moving Average Candle Regression Strategy
Strategy Logic
This strategy combines various technical indicators and strategies, mainly for determining index entry and exit points.
The key logic is:
-
Compute moving average candles including open, close, high and low
-
Calculate momentum of MA candles and momentum linear regression
-
Calculate linear regression of MA candles itself
-
Use SuperTrend to determine overall direction
-
When momentum regression turns from negative to positive, or strongly positive, it signals entry
-
When momentum turns from positive to negative, or weakens, it signals exit
The strategy synthesizes various indicators to assess short- and long-term market moves and rhythm for determining index trade timing.
Advantages
-
MA candles reflect medium- to long-term trends
-
Regression analysis identifies trend changes
-
SuperTrend assists overall direction
-
Multiple indicators improve accuracy
Risks
-
Complex parameter optimization
-
Difficult to balance multiple indicators
-
Infrequent signals mean lower trade frequency
Summary
This strategy aims to uncover market timing signals by analyzing short- and long-term patterns. But parameter tuning and model optimization needs improvement.
/*backtest
start: 2023-09-06 00:00:00
end: 2023-09-13 00:00:00
period: 15m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © HeWhoMustNotBeNamed
//@version=4- 1
