dman103

Multi MA MTF SandBox Strategy

dman103 已更新   
A moving averages SandBox strategy where you can experiment using two different moving averages (like KAMA, ALMA, HMA, JMA, VAMA and more) on different time frames to generate BUY and SELL signals, when they cross.
Great sandbox for experimenting with different moving averages and different time frames.

== How to use ==
We select two types of moving averages on two different time frames (or the same time frame):

First is the FAST moving average that should be at the same time frame or higher.
Second is the SLOW moving average that should be on the same time frame or higher.

== Buy and Sell Signals ==
When FAST moving average cross over the SLOW moving average we have a BUY signal (for LONG)
When FAST moving average cross under the SLOW moving average we have a SELL signal (for SHORT)

WARNING: Using a lower time frame than your chart time frame will result in unrealistic results in your backtesting and bar replay.

== NOTES ==
You can select BOTH, LONG, SHORT or NONE in the strategy settings.
You can also enable Stop Loss and Take Profit.
More sandboxes to come, Follow to get notified.
Like if you like and Enjoy!

Can also act as indicator by setting 'What trades should be taken' to 'NONE':
版本注释:
Updated line colors.
版本注释:
Added time range support for strategy.
Added line color change support.
Some Cleanup.
版本注释:
Update to pinescript 5
Now you can enable stop loss and take profit separately.
Improved text and titles.
Code optimization.

Appreciation of my work: paypal.me/dman103
Premium Pivot Points Algo Indicator: www.tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/
LIVE Stream - Pivot Points Algo: www.youtube.com/channel/UCFyqab-i0xb2jf-c18ufH0A/live
开源脚本

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

免责声明

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

想在图表上使用此脚本?