TradingView
pecioroderick
Jan 5, 2022 3:31 PM

Moving average percent measure 

XRP / TetherUSBinance

描述

it's just an average moving multiplied by a percentage. this is good for measuring the acceleration of price movements

版本注释

change minimum value of percentage from 1 to 0

版本注释

Tweak some variable default values.
so we can see and understand easily.
current market price with the previous average price.
so you know when you open a position, whether you are buying at a low price or not.

offset
0-->60

percent1
3-->5

percent2
6-->10

percent3
9-->15

版本注释

change the number of lines to 5
which was previously 3.

so that we can add a price line that is unexpected,
this aims to see the shock price that moves quickly.
-especially on fast moving crypto charts

tweaked some variables so that by default
it shows a moving average of 60 bars
(2 months if you are on the day timeframe),
and at an offset of 60 bars.
as a comparison of the current price
and the price of the previous 60 bars

2nd function is to facilitate
whenever you want to change 5 percentage lines to Fibonacci percent.
so you can predict prices
with the Fibbonaci scale.

updates:
-changed the default number of lines to 5 which was previously 3
-tweak some variables
-ma length 200-->60
-changed the default base line color to yellow by default

版本注释

fix percent5 upper line not render

版本注释

hiding line 4 and 5
评论
xmd1979
cool code )
更多