OPEN-SOURCE SCRIPT

Moving average percent measure

Updated
it's just an average moving multiplied by a percentage. this is good for measuring the acceleration of price movements
Release Notes
change minimum value of percentage from 1 to 0
Release Notes
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
Release Notes
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
Release Notes
fix percent5 upper line not render
Release Notes
hiding line 4 and 5
averagemeasuremovingMoving Averagespercentpercentage

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer