thequantscience

DCA Average Arbitrage - The Quant Science

DCA Average Arbitrage - The Quant Science™ is a quantitative algorithm based on a DCA model that uses averaging to create a statistical arbitrage system.

DESCRIPTION
The algorithm can be set long or short.
1. Long algorithm: opens long positions with 100% of the capital every time the price deviates negatively for a certain percentage distance from the average.
2. Short algorithm: opens short positions with 100% of capital every time the price deviates positively for a certain percentage distance from the average.

The closing of positions depends on the parameters activated by the user. The user can set the closing on the reverse condition and/or add functions such as stop loss, take profit and closing after a certain bar period.

USER INTERFACE SETTING
The user chooses the long or short direction and sets the parameters for average as length, source and percent distance.

AUTO TRADING COMPLIANT
With the user interface, the trader can easily set up this algorithm for automatic trading. Automating it is very simple, activate the alert functions and enter the links generated by your broker.

BACKTESTING INCLUDED
With the user interface, the trader can adjust the backtesting period of the strategy before putting it live. You can analyze large periods such as years or months or focus on short-term periods.

NO LIMIT TIMEFRAME
This algorithm can be used on all timeframes and is ideal for lower timeframes.

GENERAL FEATURES
Multi-strategy: the algorithm can apply either the long strategy or the short strategy.
Built-in alerts: the algorithm contains alerts that can be customized from the user interface.
Integrated indicator: the quantity indicator is included.
Backtesting included: automatic backtesting of the strategy is generated based on the values set.
Auto-trading compliant: functions for auto trading are included.

ABOUT THE BACKTEST
Backtesting refers to the period 1 January 2022 - today, ticker: ICP/USDT, timeframe 5 minutes.
Initial capital: $1000.00
Commission per trade: 0.03%

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact thequantscience for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

You can unlock this algorithm from our website. For any information or questions about this script contact us on Trading View.

Want to use this script on a chart?

Warning: please read before requesting access.