Type/to search

Multi-Indicator Configurable Strategy Generator

Cryptocurrency
Created: 2023-09-11 14:33:12
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy generator combines various indicators like EMA, RSI, Stochastic, MACD and ADX to create highly configurable algorithmic trading strategies. Users can freely choose to enable or disable each indicator and customize their parameters, generating trading signals suitable for different market environments.

The advantage of this strategy is that combining indicators forms effective filters, where different indicators can verify each other and reduce false signals. Also, the high configurability allows exhaustive testing and parameter optimization on specific products and timeframes, resulting in robust strategies.

However, too many parameter combinations also risk overfitting and curve fitting. Also, combining multiple indicators inherits their inherent lagging nature, potentially missing optimal entry timing. So continuous monitoring and timely adjustment is still required in live trading.

In summary, the multi-indicator strategy generator makes building quantitative trading strategies much more efficient. But the key to obtaining stable long-term strategies lies in strict statistical verification, not reliance on parameter optimization. Only by achieving this can the generated strategies be successfully applied in live trading.

Source
Pine
/*backtest
start: 2023-08-11 00:00:00
end: 2023-08-25 00:00:00
period: 5m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

 //@version=5
 // By Jordan Hall
// finished: 3/28/2023
strategy("Strategy Creator", overlay=true, margin_long=100, margin_short=100, pyramiding=10, default_qty_type=strategy.percent_of_equity)
Strategy parameters
Strategy parameters
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
EMA Settings
EMA ON?
Only 1 EMA
Only 2 EMAs
EMA Fast Length
EMA middle Length
EMA Slow Length
RSI Settings
RSI ON?
RSI SHORT
RSI LONG
RSI Length
Source
MA Type
MA Length
Stochastic Settings
STOCHASTIC ON?
%K Length
%K Smoothing
%D Smoothing
By Crossover?
k is greater than
k is less than
MACD Settings
MACD ON?
Time Frame MACD
Fast Length
Slow Length
Source
Signal Smoothing
Oscillator MA Type
Signal Line MA Type
Add average positve histogram value?
Subtract average negative histogram value?
+ (absolute val)
- (absolute val)
ADX Settings
ADX ON?
ADX Smoothing
DI Length
ADX signal strength >
Take Profit and Stop Loss
Long Stop Loss (%)
Short Stop Loss (%)
Long Take Profit (%)
Short Take Profit (%)
Strategy Settings
How Many Trades Allowed In One Direction?
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)