Madrid

Madrid Profit Area

This study displays a ribbon made of two moving averages identified by a filled Area. This provides visual aids to determine the trend direction and pivot points. The moving average will be Red if its value is decreasing, and green if it is increasing. When both MA's are the same color we have a trend direction. If those are different then we have a trend reversal and a pivot point.
If combined with another ribbon then it can be configured so we have a pair of slow MA's and another pair of fast MA's , this can visually determine if the price is in bull or bear territory following the basic rules:
1. Fast MA pair above the slow MA Pair = Bullish
2. Fast MA pair below the slow MA Pair = Bearish
3. If the fast MA crosses over the slow MA it is a Bullish reversal
4. If the fast MA crosses below the the slow MA, it is a Bearish reversal.

The use of the ribbons without the price bars or line reduces the noise inherent to the price

오픈 소스 스크립트

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

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?
//
// Madrid : 01/APR/2014 : Moving Profit Area : 2.0 PRO
// http://madridjourneyonws.blogspot.com/
//
// This plots two moving averages, either exponential or standard
// When it is declining it shows the MA in red, green when rising.
// This is a visual aid to make sure you're on the right side of the trade
//

study(title="Madrid Profit Area", shorttitle="MPA", overlay=true)
src = close
fastLen = input(8, minval=1, title="Fast MA Length")
slowLen = input(21, minval=1, title="Slow MA Length")
exponential = input(true)

fastMA = exponential ? ema(src, fastLen) : sma(src, fastLen)
slowMA = exponential ? ema(src, slowLen) : sma(src, slowLen)
colorFMA = change(fastMA)>0 ? green : red
colorSMA = change(slowMA)>0 ? green : red

p1=plot(fastMA, color=colorFMA, linewidth=3)
p2=plot(slowMA, color=colorSMA, linewidth=3)

fill(p1, p2, color=blue, transp=75)