TTM_Trend

Description

The TTM_Trend study is intended to indicate the true direction of the trend replacing false signals with true ones.

The TTM_Trend study converts the normal chart to the view where irregularities are eliminated. In TTM_Trend, a bar is shown as bearish when the Average Price has closed in the lower 50% price range of the input-defined number of previous bars. If the Average Price has otherwise closed in the upper 50% range, the bar is shown as bullish.

Input Parameters

Parameter Description
comp bars The number of bars to calculate the price range.
paint bars Defines whether or not to paint bars according to the algorithm (blue for bullish trend, red for bearish trend).

Plots

Plot Description
TrendUp The Trend Up plot.
TrendDown The Trend Down plot.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

You may also like
Global Settings
You can specify global settings for strategies by pressing the Global strategy settings... ...
Chart Describer
Chart Describer is an infobox that contains technical analysis highlights for the chart you are ...
thinkScript®: Q&A
What is thinkScript®? thinkScript® is a built-in programming language that gives you the ...