This indicator gives an adjusted moving average, based on the of the past x amount of bars, measured against the of a certain length.
The idea came out of my VA adjusted Bands indicator where the VAMA is actually the center line.
I scripted the moving average as a function so it is easy to inport into other scripts,
Feel free to use it in your scripts and experiment with it,
of cousre, if you want to publish your script, a little mention in the notes is always appreciated.
At first view I might add some smoothing otions and
a couple of different ma options as a base anchor in future releases.
If you have any other ideas for further development,... let me know!!
I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
You can contact me for info/access in PM or on Telegram: @jduyck
PLS, DON'T ASK FOR ACCESS IN THE COMMENT SECTION!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.