Navigation: Realtest Script Language > Syntax Element Details > PDI Category Indicator Functions Description Wilder's Plus Directional Index Syntax PDI(len) Parameters len - lookback period Notes This is the positive component of the ADX indicator, often referred to as +DI. This indicator supports one-pass calculation when used in the Data Section with a non-variable length. Examples PlusDI: PDI(14) MinusDI: MDI(14) EntrySetup: PlusDI > MinusDI Enter when the positive directional index exceeds the negative. Copyright © 2020-2026 Systematic Solutions, LLC