OPEN-SOURCE SCRIPT

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

Updated
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.
Release Notes
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
BBMoving AveragesSTCtrailingstopTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer