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
全局设置
You can specify global settings for strategies by pressing the Global strategy settings... ...
使用研究和策略
Thinkorswim平台 为您提供了数百个预定义的技术指标和一个内置的研究编辑器,因此您可以创建自己的方式。 观看以下视频,了解在图表界面中使用研究的基本知识。 ...
thinkScript®: 问与答
thinkScript®是什么? thinkScript®是一种内置程式语言,赋与您创立研究、策略、观察列表行列等分析工具的能力。在thinkScript®里,您决定以那一种方法分析数据的种类。...