OPEN-SOURCE SCRIPT

Price Movement

已更新
Price indicator that shows the trend based on price movement.
The indicator determinants when an asset price is getting higher or lower by comparing the previous price highs and lows to the current price.

==Explanation==
In case current HL2 [(High +Low)/2] exceeds the previous HL2 HIGH then the columns will turn green.
In case current HL2 fails the previous HL2 LOW then the columns will turn red.
The trick here is that the trend CONTINUES to show the greens and reds, until a reversal happens to the opposite side.
This can be used to determinate trends and reversals.
Note: Bar colors are disabled by default.
You can set the lookback period at the indicator settings as well as the asset source (HL2,CLOSE, etc..). default is HL2
Quote that i like: “It is impossible to produce superior performance unless you do something different from the majority.” – John Templeton

Enjoy and like if you like :)
版本注释
Minor update in conditions. (removed equal)
版本注释
Added support for HIGHER time frame while default is current time frame.
版本注释
Added Signals in case you want to attach 'Price Movement' indicator into a another indicator. 1 for long, -1 for short.
'Close' is now default source input (of course you can change to HL2 or others).
Length was changed to 13 from 17.
版本注释
Minor fix for additional indicator signals.
版本注释
Changed how Higher time frame is calculated.
版本注释
Minor clean up.
版本注释
FIX: Added High source and Low source.
Updated indicator description in script.
You can change 'High Source' and 'Low Source' to different values, like both HL2.

binaryhigherhighhighlowHigh-Low IndexlowerlowsTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Appreciation of my work: paypal.me/dman103
Premium Pivot Points Algo Indicator: tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/
LIVE Stream - Pivot Points Algo: youtube.com/channel/UCFyqab-i0xb2jf-c18ufH0A/live
更多:

免责声明