OPEN-SOURCE SCRIPT

AlignedMA and Cumulative HighLow Strategy

已更新
Combining the indicators:

1. Aligned Moving Average Index :
Aligned Moving Average Index

2. Cumulative High Low Index :
Cumulative High Low Index

3. Supertrend

Works best in long only for crypto and precious metals.

My scenario is to present how much you can earn by investing 1000 for full 10 years. Hence, I am using fixed 1000 initial deposit and 100% equity per trade without any pyramiding. This allows us to compare gains to buy and hold.
版本注释
Tweaks in parameter values.

Note: Indices and gold does not show any trades due to lesser capital. Increase initial capital to make it work.
版本注释
Adding OCA back to avoid multiple order at a time. Add option yearly high low condition to reduce risk
版本注释
Add new date filter
版本注释
Remove calc_on_order_fills to avoid lookahead warning
Moving AveragesTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明