OPEN-SOURCE SCRIPT
DeM Indicator

This script provides an implementation of the DеMаrker (DeM) Oscillator, a classic technical indicator developed by Thomas DеMаrk to identify trend exhaustion and market reversal points.
Unlike the Relative Strength Index (RSI), which primarily uses closing prices, the DеMаrker indicator focuses specifically on intra-period highs and lows to measure buying and selling pressure.
[h2]🚀 How It Works[/h2]
The DеMаrker indicator compares the current period's price extremes to the previous period to isolate demand:
- [] DeMax (Buying Pressure): Calculated when the current high is higher than the previous high.
[] DeMin (Selling Pressure): Calculated when the current low is lower than the previous low. - Smoothing: Both values are smoothed using a Simple Moving Average (SMA), typically over 14 periods.
The resulting value oscillates between 0 and 1.0, providing a clear visual of price exhaustion.
[h2]💡 Trading Strategies[/h2]
- [] Overbought/Oversold Reversals:
- Bearish Signal: A reading above 0.70 suggests the market is overbought. Traders often look for the line to cross back below 0.70 to confirm a downward reversal.
- Bullish Signal: A reading below 0.30 suggests the market is oversold. A cross back above 0.30 can signal a potential upward reversal.
[] Trend Exhaustion: High DеMаrker values during an uptrend often precede a period of consolidation or "price exhaustion." - Divergence: Watch for cases where price makes a new high but the DeM indicator fails to reach a new peak, suggesting weakening momentum.
[h2]⚙️ Settings & Customization[/h2]
- [] DеMаrker Period: The default is set to 14. Shorten for more sensitivity; lengthen to filter out noise.
[] Visual Thresholds: Levels are set at 0.7 and 0.3. For volatile assets like Crypto, some traders prefer 0.8 and 0.2.
[h2]🛠️ Integration[/h2]
The DеMаrker is most effective when combined with other tools such as Volume Profile, Moving Averages, etc.
[hr]
Disclaimer: This script is for educational and analytical purposes only. Past performance does not guarantee future results. Always manage your risk according to your personal trading plan.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.