OPEN-SOURCE SCRIPT

FALGUN INDICATOR WITH SAR V1.0

Updated
This script is a trend-following system that uses a long-term and Short-term Moving Average to spot the trend.

Default Settings and Calculation:

- The trend is detected using the Simple Moving Average on 200 periods and 30 Periods.

- The Market is considered an Uptrend when the price closes above the 30 and 200 Moving Averages.
- The Market is considered in a Downtrend when the price closes below the 30 and 200 Moving Averages.

This script is best suited for all timeframes.
The options allow for modification of the type of moving average to use.
Release Notes
In New Version if Moving Averages change color if price start trading below Moving Averages
educationalTrend 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