OPEN-SOURCE SCRIPT

PB Trend Scalper

A moving average strategy using a long period RMA and a short period EMA. It has a trailing stop loss based on the previous higher high or lower low. It also has a no trade band surrounding the RMA whose thickness can be changed.

Check out the settings to see what elements values can be changed.

The strategy is set to use the whole balance on each trade currently.

Leverage can be adjusted as well as take profit target as %.

The default values are set up for the 1 hour on BTCUSD.

These can be tweaked to suit any timeframe or market.
Bands and ChannelsMoving AveragesTrend 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