OPEN-SOURCE SCRIPT

MA and Channel overlay

Updated
Some overlay utilities:

- Draw 3 moving averages (MA) with circles line.
- Option to choose type of MA to plot.
- Draw start point of those MA with a big cross.
- Option to draw channel: Donchian, Bollinger and Envelope.
- Option to draw stop loss line: ATR or Percentage.
- Draw background color in monthly, weekly, daily, intraday, ... chart (remember to choose your correct timezone if using intraday chart).
- Draw a label of last price.
- Draw next prices.
Release Notes
Added comments and showed stop loss line for demo purpose.
Release Notes
Option to show / hide MAs.
Release Notes
New chart view.
Release Notes
Add intraday labels which show day number in month and weekday name.
Release Notes
Add hour range to draw sleep time in intraday chart.
Release Notes
Fixed time zone issue for exchange that has non-UTC timezone.
Release Notes
Fix weekly background issue.
Release Notes
Fix channel len issue.
Release Notes
- Use TDEMA as the default MA now.
- Use bigger periods to catch trend easier.
- Drawed a band between small and medium period (MA1 and MA2) lines.
- The position of this band and the big period line (MA3) is the key to check the trend now.
Moving AveragesoverlayTrend 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