KioseffTrading

MACD Optimizer Pro [Kioseff Trading]

KioseffTrading Wizard 已更新   
Massive update! This script now includes 12 different moving averages and 30+ built-in technical indicators to enhance your trading strategy optimization! (:

This script (MACD Optimizer Pro) allows the user to optimize and test hundreds of MACD strategies, simultaneously, in under 40 seconds. Of course, theoretically, an unlimited number of trading strategies can be tested with the MACD Optimizer Pro. After the optimization period - the MACD Optimizer Pro will show the most profitable MACD strategy or, should you choose, the highest win-rate MACD strategy or the most-efficient MACD strategy!

Optimization results can be backtested and verified using the native TradingView backtester - which is included in the MACD Optimizer Pro - and made easy to use! This feature makes settings alerts a simple practice!

Features


  • Test hundreds of MACD strategies, simultaneously, in under 40 seconds.
  • Optimize long MACD strategies and short MACD strategies.
  • 12 different built-in moving averages included to improve your MACD strategy.
  • 30+ built-in technical indicators to improve your MACD strategy.
  • Runs as a strategy script - profit factor, PnL , win-rate, number of trades, max drawdown, equity curve and other pertinent statistics shown.
  • Alerts
  • Optimize any MACD setting
  • Profit targets, trailing stops, fixed stop losses, and a binary MACD strategy can all be tested.
  • Strategies can be optimized for highest win rate, highest net profit, most efficient profit.
  • Limit orders can be simulated.
  • External indicators can be used for optimization i.e. your own, custom-built indicator, an indicator from your favorite author, or almost any publicly available
    TradingView indicator.
  • Date range for optimization and backtesting are configurable.

Explanation


The image above shows a list of configurations for the optimizer. You can

You can test hundreds of different MACD settings in under 40 seconds on any timeframe, asset, etc.


The image above shows additional settings to filter the outcome of your optimization testing. Additionally, you can test an unlimited number of profit targets and stop losses!

You can add one of several built-in TradingView indicators to filter trade entries.


The image above shows all built-in moving averages and TradingView indicators that can be incorporated into your MACD strategy.

Additionally, you can add your own, custom indicator to the optimization test, your favorite indicator by your favorite author or almost any publicly available indicator on TradingView.


The image above shows the settings section in which you can implement this feature.


The image above shows an example of the custom indicator feature! In this instance, I am using the public indicator titled "Self-Optimizing" RSI and requiring it to measure below a level prior to entry! Almost any custom indicator, your favorite indicator, etc. is compatible with this feature!

The MACD Optimizer has improved user friendliness over previous versions. The optimizer can be as simple or complex as you'd like - capable of handling both "easy" and "difficult" tasks at your discretion.


Additionally, you can configure the optimizer to prioritize MACD strategies that earn profit most efficiently!


The image above shows this feature in action.

You can also configure the optimizer to prioritize MACD strategies that achieve the highest win rate!


The image above shows this feature in action.

Instructions

The instructions below show a rudimentary approach to using the optimizer.

1. Build your strategy in the settings.

You should also disable the "Run a Backtest" feature to improve load times during optimization.


The image above shows my custom strategy settings.

Now that you've got some data on your chart - you should try "Freezing" the "Smoothing" setting for MACD . When doing this, the optimizer will test hundreds of MACD settings with a fixed "Smoothing" setting. Try using the best "Smoothing" setting you were able to find for your initial testing.

2. Take the best "Smoothing" setting and test various MACD and Signal Lengths.


The image above shows me configuring the MACD Optimizer to test different MACD line lengths and Signal line lengths with a fixed "smoothing" setting.

From the results, we can see that there are better MACD settings than what was shown in our initial test!

With this information we can execute a TradingView backtest.

3. Execute a TradingView Backtest.
You must enable the "Run a Backtest" feature to perform a TradingView backtest. Additionally, it's advised to enable the "STOP OPTIMIZATION" feature when performing a TradingView backtest. Enabling this feature will improve load times for the backtest to only a few seconds (since the optimizer won't look for the best setting when this feature is enabled).


The image above shows completion of the process!

From here, you can perform further testing, set alerts, etc.

Backtest Settings Shown

Initial Capital: The initial capital used for the shown backtests is $3,500 USD. Set the initial capital to replicate your true starting capital (: PnL for the MACD strategies (listed in table) is calculated using a starting capital of $10,000 USD.

Slippage: The slippage settings for the displayed backtest was set to 2 ticks.

Commission: Commission was adjusted to 0.1%.

Verify Price for Limit Orders was set to 2 ticks.

Optimization

Trading system optimization is immensely advantageous when executed with prudence.
Technical-oriented, mechanical trading systems work when a valid correlation is methodical to the extent that an objective, precisely-defined ruleset can consistently exploit it. If no such correlation exists, or a technical-oriented system is erroneously designed to exploit an illusory correlation (absent predictive utility), the trading system will fail.

Evaluate results practically and test parameters rigorously after discovery. Simply mining the best-performing parameters and immediately trading them is unlikely a winning strategy. Put as much effort into testing strong-performing parameters and building an accompanying system as you would any other trading strategy. Automated optimization involves curve fitting - it's the responsibility of the trader to validate a replicable sequence or correlation and the trading system that exploits it.


Thanks for checking this out!








版本注释:
Added table color and table text color options!
版本注释:
New Restriction Compliant

•Access to Next-Gen Optimization Tools: www.kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与KioseffTrading联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

Request Access: www.kiosefftrading.com/products Instructional Video: www.kiosefftrading.c...trategy-optimization

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。