TradingView
jim380
29 Ags 2018 pukul 01.45

Trend Strength Indicator --- Up/Down Bars % 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Deskripsi

Logic

With the lookback period set to 20 (editable), the script loops over the last 20 bars starting from the current bar and counts the up days (Close > Open) and down days (Close < Open). Then it divides the up/down days by the total number of days to give the %. Color themed fib levels are also implemented in this indicator.


Find me on Twitter
Komentar
mediadragonceo
Could give access to the source code? As I like the indicator but I would like to change some of the code to best suit my needs.
Lebih lanjut