OPEN-SOURCE SCRIPT
업데이트됨 Demand Index Strategy

Description:
This strategy is an automated trading system based on a faithful replica of the Sierra Chart "Demand Index" (Study ID 139). It utilizes the complex pressure/volume calculations developed by James Sibbet to identify high-probability reversal points from oversold territory.
📈 Strategy Logic: "The Deep Recovery"
The Demand Index combines price and volume to measure buying vs. selling pressure. This strategy specifically looks for a "Deep Recovery" scenario where selling pressure exhausts itself and momentum shifts back to the upside.
The Entry Conditions (Long Only):
Deep Oversold Zone: The Demand Index must have visited the deep negative zone (-45) within the recent lookback period. This ensures we are watching a heavily sold-off asset.
Recovery Trigger: The Demand Index must cross up through the recovery level (-30).
Momentum Confirmation: At the moment of the crossover, the Demand Index must be above its Signal Line (EMA 10) to confirm the immediate trend direction.
⚙️ Default Settings
Buy/Sell Power Length: 10 (Shorter term focus for reaction speed).
Buy/Sell MA Length: 10.
Signal EMA Length: 10.
Deep Level: -45 (Configurable).
Trigger Level: -30 (Configurable).
🛡️ Risk Management
The strategy includes built-in inputs for risk management:
Stop Loss: Defaults to 2.0%
Take Profit: Defaults to 4.0%
Note: These can be toggled off or adjusted in the settings menu.
🔍 About the Indicator Source
This script replicates the specific math found in Sierra Chart's documentation for Study ID 139. This includes the unique H0/L0 volatility scaling, where the calculation utilizes the High and Low of the very first loaded bar to normalize the exponential decay of the buying/selling pressure.
Disclaimer: Past performance is not indicative of future results. This strategy is provided for educational purposes and demonstrates how to automate James Sibbet's Demand Index based on specific Sierra Chart logic.
This strategy is an automated trading system based on a faithful replica of the Sierra Chart "Demand Index" (Study ID 139). It utilizes the complex pressure/volume calculations developed by James Sibbet to identify high-probability reversal points from oversold territory.
📈 Strategy Logic: "The Deep Recovery"
The Demand Index combines price and volume to measure buying vs. selling pressure. This strategy specifically looks for a "Deep Recovery" scenario where selling pressure exhausts itself and momentum shifts back to the upside.
The Entry Conditions (Long Only):
Deep Oversold Zone: The Demand Index must have visited the deep negative zone (-45) within the recent lookback period. This ensures we are watching a heavily sold-off asset.
Recovery Trigger: The Demand Index must cross up through the recovery level (-30).
Momentum Confirmation: At the moment of the crossover, the Demand Index must be above its Signal Line (EMA 10) to confirm the immediate trend direction.
⚙️ Default Settings
Buy/Sell Power Length: 10 (Shorter term focus for reaction speed).
Buy/Sell MA Length: 10.
Signal EMA Length: 10.
Deep Level: -45 (Configurable).
Trigger Level: -30 (Configurable).
🛡️ Risk Management
The strategy includes built-in inputs for risk management:
Stop Loss: Defaults to 2.0%
Take Profit: Defaults to 4.0%
Note: These can be toggled off or adjusted in the settings menu.
🔍 About the Indicator Source
This script replicates the specific math found in Sierra Chart's documentation for Study ID 139. This includes the unique H0/L0 volatility scaling, where the calculation utilizes the High and Low of the very first loaded bar to normalize the exponential decay of the buying/selling pressure.
Disclaimer: Past performance is not indicative of future results. This strategy is provided for educational purposes and demonstrates how to automate James Sibbet's Demand Index based on specific Sierra Chart logic.
릴리즈 노트
added Timeframe settings.릴리즈 노트
added TP and SL릴리즈 노트
bug fix오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.