OPEN-SOURCE SCRIPT

LarryWillians - Simple Strategy

A simple and classic strategy on market, created by LarryWillians using a EMA9.
The brute model use a Cross from closing price on EMA9. But occurs many false entries.
In other to correct this kind of thing, I add a SMA21 to confirm the trend and decrease numbers of false trades.
The strategy waits to break the last High (for buy) a position.
As a strategy requires a Risk Mannager, I created a simple way to trailing this, as well a Take Proft and Stop Loss in %.
Is not the best strategy but, is one of the most famous on financial markets. I did my adaptive version as simples as it is :)
larrywiliamsMoving AveragessetupstrategyTrend Analysis

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