OPEN-SOURCE SCRIPT

Muyyu oscillator

업데이트됨
Muyyu oscillator(MO) is a combination of price based momentum and volume based momentum. MO consist of two things which is MO line and MO bar.

MO Line can be used to identify overbought and oversold situations. However, it is important to know when to look for overbought readings and when to look for oversold readings. As with most momentum oscillators, it is best to look for short-term oversold situations when the medium-term trend is up and short-term overbought situations when the medium-term trend is down. In other words, look for opportunities in the direction of the bigger trend, such as a pullback within a bigger uptrend. Define the bigger trend before looking for overbought or oversold readings.

MO Line quantifies the relationship between price and Bollinger Band. Readings above .80 indicate that price is near the upper band. Readings below .20 indicate that price is near the lower band. Surges towards the upper band show strength, but can sometimes be interpreted as overbought(divergence). Plunges to the lower band show weakness, but can sometimes be interpreted as oversold(Divergence). A lot depends on the underlying trend and other indicators. While MO Line can have some value on its own, it is best when used in conjunction with other indicators or price analysis.

MO Line = (Price - Lower Band)/(Upper Band - Lower Band)
The default setting for MO Line is (21,2). The bands are set 2 standard deviations above and below the 21-day simple moving average.

MO bar is a Money Flow Index(MFI) divide by 100.
MFI is a momentum indicator that measures the flow of money into and out of a security over a specified period of time. It is related to the Relative Strength Index (RSI) but incorporates volume, whereas the RSI only considers price. The MFI is calculated by accumulating positive and negative Money Flow values, then creating a Money Ratio. The Money Ratio is then normalized into the MFI oscillator form.

Combine this two to find where you will find a perfect entry for trend following. For example ;

a trend-following system using MO line with the MO bar. An uptrend begins when MO line is above 1 and MO bar is above 0.8(green bar). MO bar is bound between zero and one. A move above .80 places MO bar in the upper 20% of its range, which is a strong reading. Downtrends are identified when MO line is below 0 and MO bar is below 0.2.
릴리즈 노트
New version of this pine script is using the Volume indicator directly instead of money flow index, which mean more accurate in term of reading
릴리즈 노트
More accurate calculation and easy to eyes
릴리즈 노트
This updated version is using the price momentum to define oversold and overbought situation with addition of price to volume ratio to define the 'REAL' overbought or oversold ratio. Buy only when the indicator are oversold and have green color. green color occur when the price to volume ratio are above 0 and below it, indicator will change to red color. sell when the indicator show red colour at overbought.

Price to volume ratio is calculated by using formula = ((2*close)-high-low)/(high-low)*volume.

Price to volume ratio is to find how much volume influence the market price.

릴리즈 노트
This updated version is using the price momentum to define oversold and overbought situation with addition of price to volume ratio to define the 'REAL' overbought or oversold situation. Buy only when the indicator are oversold and have green color. Sell when the indicator show red colour at overbought.

Price to volume ratio is calculated by using formula = ((2*close)-high-low)/(high-low)*volume.

Price to volume ratio is to find how much volume influence the market price. green color occur when the price to volume ratio are above 0 and below it, indicator will change to red color. overbought level is 0.2 and oversold level is 0.8
Oscillators

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

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

면책사항