OPEN-SOURCE SCRIPT

Classic Long Term Trend Following System

已更新
This is a classic long term trend following system.

The breakout period is 50 days instead of 20 and the moving average crossover are 40 and 120.

The moving averages are also exponential instead of simple.

The stoploss is 4 ATRs away from the price.

Recommendations:
Donchian Channels settings > 50 days
Moving Averages > 40 and 120, 80 and 140

Important to note:
My first strategy, DC Breakout System | This is simplicity at its finest, is best used on the crypto market and this one for stocks, commodities, currencies, etc. Those markets tend to trend a lot longer than crypto do.
版本注释
Replaced the multiplier in the position size formula with syminfo.pointvalue in order to get a more accurate position size.
版本注释
Reverted the pyramiding setting from 4 back to 1 to keep the system simple and the max drawdown low.
Added a visual ATR trailing stop, so you know where to put your stoploss.
版本注释
Adjusted the position size formula.
Improved the stoploss multiplier.
ATRbreakoutbreakouttradingcrossovercrossovertradingDonchian Channels (DC)Moving AveragesTrend Analysistrendfollowingtrendtrading

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


"Mastering the Market Dance with Elegance and Cunning 🎩📈 | Where the Velvet Glove Conceals the Sharpest Moves ⚔️💰"
更多:

免责声明