OPEN-SOURCE SCRIPT

First Script, buy/sell on EMA

Spent many hours working on a script to find out when the next earnings report is.. there should be a builtin feature but anyways, it's done now.. The strat is to buy and sell based on the EMA (Whatever that is) and to exit all entries if the Earnings report is within a week.
Exponential Moving Average (EMA)

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