SVAMA - A Non Parametric Adaptive Moving Average Based On Volume


Technical indicators often have parameters settings that the user must enter, those are inconvenient when the user must design a strategy because such settings must be optimized, it must also been noted that the optimal settings at time t could change at time t+n, this is why non parametric indicators are more efficient. Today i propose a moving average adapting to the market volume without using parameters affecting the smoothing.

The Indicator

The volume is rescaled in a range of (1,0) by using max or min normalization. Exponential averaging is used to provide the moving average.

When using max normalization the moving average react faster when the volume is closer to its all time high, when using min normalization the moving average react faster when the volume is closer to its all time low. You can select the method (max or min) from the "Method" parameter.

Volume tend to be higher and more periodic with higher time-frames, this is why lower time-frames might return smoother results when using the Max method. It is recommended to use the Max method when we want a faster moving average while the Min method is more suited to get a slower moving average.

Both methods can provide an interesting MA-Cross system when used on higher time frames.


There should be more non parametric indicators, this would allow for faster and easier optimization processes when creating a strategy, in theory any indicator using a moving average or highest/lowest could be made non parametric by using a running mean or running max/min but the indicator might loose important information.

This is one of my main focus right now since such indicators could also allow for improvements when used with artificial intelligence. I hope you find an use to it, don't hesitate to send me your suggestions.

Thanks for reading !
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo :

Bình luận

Great idea Alex. Thanks for sharing.
I wonder though - How long backwards would the indicator go when calculating the current volume vs the min/max value of it?
Maybe it could be more effective if we set a certain number of candles for the min/max comparison?
(And yes I know it negates the idea of a non-parametric indicator, but it might be worth studying).
+1 Phản hồi
alexgrover Outback_Explorer
@Outback_Explorer, Hi and thanks for your suggestion, as you said it would be against the original idea of the indicator, as for effective i can't tell, its a subjective thing to say, of course feel free to try it.
+1 Phản hồi
Awesome Alex; I am so happy to seeing you keep creating new concept indicators for us; strongly appreciated =D
+1 Phản hồi
Great to see all this original work!! the crossovers on hlc3 are very similar to my vwap indicator
+1 Phản hồi
Thanks Alex!!!!!! another masterpiece !!!!!! Love it!!!!!!
+1 Phản hồi
alexgrover sudhir.mehta
@sudhir.mehta, Thanks, feel free to share your suggestions.
Phản hồi
nice idea
+1 Phản hồi
alexgrover ballofpaper
@ballofpaper, Thanks, don't hesitate to modify the code and post your findings.
Phản hồi
+1 Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất