OPEN-SOURCE SCRIPT

3 Moving Average

Updated
Generic 3 moving average script with indicators
Release Notes
added some bands to the script to make it a little better.
Release Notes
I told the script only to buy when the value is under the -1% mid value , then told it to only sell when the value of sell was above the 1% mid value. this seems to be working much better so I'm publishing the update.
Release Notes
added stop losses for crossunder from short over mid, hmid or low mid
Release Notes
  • had some false positives on the uptrends showing sell symbols. Added (Not uptrend) to requirements for a sell signal to hit.

  • increased range of mid (deadzone from 1% to 2%) this deadzone is used to create the sell indicators and buy indicators early.


  • renamed script so I can see difference between this version and old version.
Moving AveragesSimple Moving Average (SMA)

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