Guide
How does the Wyckoff Range Strategy strategy work ?
The Wyckoff Range Strategy leverages Wyckoff analysis principles to gauge accumulation and distribution phases within the markets, focusing on identifying springs and upthrusts. Accumulation phases indicate potential buying zones where large institutions are hypothesized to be acquiring at lower prices, whereas distribution phases signal selling zones at elevated price levels, both primarily moving sideways.
- Input Variables: Use the crossOverLength to adjust the simple moving average (SMA) crossover for phase detection and the stopPercentage to set a stop loss level.
- Long Entry Conditions: Identify a long opportunity when the close price crosses above the crossOverLength SMA and the low price crosses above a 20-period SMA, indicating an accumulation phase commencement.
- Long Exit Conditions: Exit long positions when the close price drops below the crossOverLength SMA or the high price falls below a 20-period SMA, suggesting an accumulation phase end.
- Short Entry Conditions: Detect a short opportunity when the close price falls below the crossOverLength SMA and the high price falls below a 20-period SMA, indicating the start of a distribution phase.
- Short Exit Conditions: Exit short positions when the close price rises above the crossOverLength SMA or the low price exceeds a 20-period SMA, implying a distribution phase end.
- Stop Loss: Both long and short positions have predefined stop loss levels calculated as a percentage of the current close price, in alignment with the stopPercentage variable.
The script also visually plots Wyckoff schem