OPEN-SOURCE SCRIPT

MA Analyses

Updated
A script for having two averages at the same time, a fast and a slow one (periods customizable by the user) and in order to analyze all the MA conditions of trend confirmation and crossovers.

The script provide the following information:

1) Buy/Sell alert when the fast MA crosses the slow MA through a cross on the chart and a Buy/Sell arrow on the chart
2) Bullish/Bearish trend confirmation through green/red area
3) Bullish/Bearish price crossovers through a circle on the chart and a Bullish/Bearish label
4) Support/Resistance areas through a blue area drawn on the chart
Release Notes
Removed commented code
Release Notes
  • Added dynamic choice of SMA and EMA
  • Added dynamic choice of support/resistance area
  • Added dynamic choice of bullish/bearish market detenction
Moving AveragesSupport and ResistanceTrend 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