TradingView
Embit0one
Oct 6, 2020 8:40 AM

Buy and Hold entry finder 

XTRACKERS MSCI WORLD UCITS ETFSWB

Description

Hello everyone!

This is a indicator based on the MACD and the distance between the current price and the Exponential moving Average .
The signal gets triggered if the current MACD (with default settings) is under 0 and the Distance from the Ema gets smaller if under ema or gets bigger if over ema . In edition you can set a max distance from the ema .


This indicator was invented for buy and hold strategys only.
I invented this indicator to find better entrys for my saving plans on the MSCI WORLD AND MSCI EMERGING MARKETS ETF on the 1 day timeframe.
Instead of investing every month, i only invest on the green Arrow Signal.

For example, lets say there is no buy signal for 3 months, then i invest the summary of the three months on the buy signal.
Comments
zain4sen
any one help me how to apply this script?
MasBart
Hi @runescapeyttanic , from above example, when do you buy ?

Thanks
Embit0one
@MasBart, Lets say i want to long therm invest in the MSCI World for example 100$ a month. Starting at the 1.1.2019 the buy signals for me would be:

1.02.01.19 invest 1x100$

2.14.05.19 4x100=400 (Because you kept your spare rate for 4 months)

3. 04.06.19 1x100

4. 06.08.19 2x100=200

5. 26.02.20 6x100=600

6. 02.03.20 1x100

7.02.04.20 1x100

8. 03.08.20 4x100=400

9. 22.09.20 1x100

The entrys won't be perfect all the time, but i backtested this since 2014 and it got an better performance than buying on the first of every month.

I hope this answered your question.
MasBart
@runescapeyttanic, thanks, very clear explanation. Cheers.
More