gabo912

Trend Critical Price for MACD

It is known that direction of trend detected with the MACD indicator is estimated according to the ascending or descending direction of the histogram.

The histogram in turn depends on the value of the difference between the MACD line and the signal line.
So, to consider that the histogram maintains a trend, it is necessary that the current value of the histogram have a value at least equal to its immediately previous value. In other words, for example if the previous value of the histogram was 100, for the trend to continue it is expected that the new value of the histogram should be 100 again.

Knowing this, it is possible to obtain the closing value of the current price candle in such a maner that the current value of Histogram is equal to the previous value. This is achieved by applying an algebraic operation resulting in the Critical Trend Price (TCP) for MACD.

Knowing this critical trend price can be useful for estimating the development of the trend according to real-time price action, visualizing for a target to hit, or estimating stop-loss.

Set this indicator just like the MACD and this calculates and returns the critical price that must be reached to maintain the current trend.

This plot a critical price line.

Also allows to show-hide a price band (High-Low)

Every time the asset price closes below the critical price, the trend is turning down. On the other hand, every time the price closes above the critical price, the trend is turning bullish. In both cases the price band shows a light tone.

An uptrend is considered confirmed when the low price at the end of the period is above the critical trend price. The price band will look green.

A downtrend is considered confirmed when the maximum price at the end of the period is below the critical trend price. The price band will look purple.

How is the Trend Critical Price (TCP) calculated?


By default it works with the closing price of each observed candle. If you need to see a MACD you will have to mount it separately. The configuration parameters of TCP must match the MACD.

보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

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

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