RedKTrader

RedK_Momentum-based Step MA (MoStep_MA)

Summary
==========
This script plots a "momentum based" stepping Moving Average of various types - the idea is to visualize price moves in levels (or steps) to reduce "chart noise" - avoid getting caught in sideway moves - and enable better trade entry and exit decision.

How does the MoStep_MA Work:
=============================
- we first choose a "base MA" of our preferred type: WMA, EMA, SMA and Hull MA are available - this base MA will be visible in light gray on the chart and can be completely hidden (although it is useful - see chart below)

- The steps are then created when a "momentum change" - expressed by a "relatively significant price move" - has been detected - either up or down

A "Significant price move" is defined as a price move that is relatively large compared to the "recent" average (absolute) price moves within a certain period

The "strength average" period can be adjusted - in terms of how the average is calculated (WMA, EMA, SMA), the number of bars (length) taken into consideration, as well as to include a "significance factor" of the price move relative to that average

using a significance factor of 1.5 is like saying: i want a new step only when the price move is 1.5 times the average price moves within the last (x) bars

the move has to be in the direction of the underlying MA trend - this is an additional condition i added, when i found that some moves will be significant but in the opposite direction and will cause a new step to be created - adding unnecessary "noise"

Default settings and other tweaks
===============================
By default, we use WMA for both the base MA and for calculating the average price change - other moving average types are available -
the significance factor is set to 1 by default.
feel free to experiment with other values and settings.

here's a chart with some additional notes - the significance factor here is set to 1.5 times the average price move.


- code is commented with further notes
- this indicator should not be used in isolation - as usual, it should be supported by other trend and momentum indicators to get proper confirmation of signals
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?