TradingView
dman103
8 Th12 2020 13:28

Multi MA MTF SandBox Strategy 

Apple Inc.NASDAQ

Mô tả

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':

Phát hành các Ghi chú

Updated line colors.

Phát hành các Ghi chú

Added time range support for strategy.
Added line color change support.
Some Cleanup.

Phát hành các Ghi chú

Update to pinescript 5
Now you can enable stop loss and take profit separately.
Improved text and titles.
Code optimization.
Bình luận
tyler8910
Hey it looks like this might not be working anymore
dman103
@tyler8910, Going to do an update today to make it more compatible. cheers!
itradingsmart
Hello Friend...
I want to try this Script but I can't change the dates in Pine Editor...
Can you add the dates code in Pine Script...
And if you want I will pay you for this...
Thanks...
dman103
@itradingsmart, Hey, Just for you, updated script to have time range. Enjoy.
AnonymousCrypto
Hi,

Hope you are having an outstandiong super good day.

Is it possible to update HMA line to change color (red/green), for bear and bull?

You have some great scripts.

You are appreciated very much.

Please advise.
dman103
@AnonymousCrypto, Hey, Updated script with Line color support. Enjoy.
Thêm nữa