TradingView
MakeMoneyCoESTB2020
5 juin 2020 01:15

WOMBO COMBO: EMA & VWAP & MACD & BB & STC 

SPDR Select Sector Fund - Energy Select SectorArca

Description

Hello my fellow investors,

After hours of reading, backtesting, and YouTube video watching I discovered that EMA, VWAP, BB, MACD, and STC produce the most consistent results for investment planning. This strategy allows you to pick between the aforementioned indicators or layer them together.

It works on the pricipal of:
1) Always follow the market trend - buy/sell above/below 200EMA
2) Follow corporate investing trends - buy/sell above/below VWAP
3) Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
4) Check volitility with price against BB limits upper/Sell or lower/buy
5) When STC crosses about 10 buy and when it drops below 90 sell
6) Exit position when stop loss is triggered or profit target is hit. BB also provides a parameter to exit positions.

This code is the product of many hours of hard work on the part of the greater tradingview community. The credit goes to everyone in the community who has put code out there for the greater good.

Notes de version

I added the ability to run the strategy only in the trending up, down, or both directions.

I added the ability to apply a trailing stop and display the exit conditions on the chart.

I added the ability to apply a specific window of time to evaluate the strategy.

I updated the default settings of the strategy to:
Capitol: 20k
Investment size: 5%
Pyramiding: 2
Commentaires
ExperiencesCollector
does it repaint ?
simwai
IdeasSJ
Excellent work. Although I am trying to understand usage better way, it is highly impressive to see the way you have put together. Great efforts and glad to see the commitment to share to the community back after you put enormous hours to learn and then code. When time permit, you may add some more guidelines so that understanding can be made quickly. Hope this may be the reason I am seeing very less comments appreciating your great efforts to put together this indicator strategy.
MakeMoneyCoESTB2020
@IdeasSJ, I would be happy to provide more explanation. The main intent was to create a single script that allows you to layer on the indicators you feel are best suited to the underlying security/stock. Please reply back with any specific questions you have.
Bjrose
@MakeMoneyCoESTB2020, Can please explain better how it's used
MakeMoneyCoESTB2020
@Bjrose, You go into the settings wheel and apply the settings you tune for the underlying stock. The script then allows you to back-test your strategy over a desired period of time.

You can adjust:
1) The types of criteria you want to apply to a stock and layer different indicators together
2) The window of time you want to evaluate the strategy over
3) The exit conditions you want to apply to get out of positions

The end-state allows you to develop a tailored strategy for your specific security and risk tolerance and then apply that strategy to your investment decision making. Effectively back-testing that you can adjust instantly to a changing market and your investment appetite.
NicoleLomazowLowe
Excellent work sir
dogekao
Working?
yemiomoakin
Interesting. Well done for the efforts put into this. Based on your experience, what style of trading is this suitable for - SWING, DAYTRADE? And what timeframe is the most appropriate? Thanks
ely2727
Thanks a lot for your amazing work!
Plus