bouncestrengthindicator_v2.0
Download scriptThe Bounce Strength Index (BSI) is a custom technical analysis tool designed to measure market momentum by identifying "bounces"—the points where price movement shifts direction from a high or low. Rather than just looking at simple price changes, this script analyzes the strength of these reversals relative to the overall range and volume activity.
Here is a breakdown of how the logic works in plain English:
Core Mechanism: Identifying Reversals
The primary goal of the script is to distinguish between a standard price fluctuation and a significant "bounce." To do this, it monitors a specific look-back period (the Range Period) to establish a local floor and ceiling.
- High/Low Detection: The script identifies the highest and lowest prices reached within a set window of time.
- Reversal Filtering: It doesn't trigger a signal on every price tick. Instead, it looks for specific "reversal bars"—bars where the price successfully touches (or nears) that established high or low point and then moves away from it.
- Noise Filtering: To prevent "false positives" caused by minor market noise, the script includes a Noise Filter. This ensures that a bounce is only counted if it is significant enough to be considered a meaningful move rather than just random fluctuation.
Weighted Calculations
The script refines its data through several layers of calculation:
- Tango Line: The tool calculates a midpoint between the extreme highs and lows of the range. This acts as a baseline for calculating how far the price is "stretching" from the center.
- Volume Weighting: If enabled, the script uses Tick Volume. It applies a mathematical "weight" to moves based on how much trading activity occurred during that specific movement. A high-volume bounce is treated as significantly more "strong" than a low-volume move.
- Position Ratios: The logic calculates where the current price sits relative to these high/low extremes. It determines if the market is overextended and quantifies the strength of the push back toward the center.
Visual Outputs and Signals
The script processes all this data into several distinct visual components on your chart:
- Up & Down Strength (Histograms): These represent the raw energy behind upward and downward pushes. If the "Up Strength" is high, it indicates aggressive buying; if "Down Strength" is high, it indicates aggressive selling.
- The Signal Line: This is a derived value that calculates the net difference between positive and negative momentum. It provides a concentrated view of which side of the market currently holds the "strength."
- Trend Indicators:
- Main Trend: A smoothed average of the signal, helping to identify the overall direction of the market (Up, Down, or Neutral).
- Slow Trend: A further smoothed version of the data, intended to filter out even more short-term volatility to reveal the long-term "path" of the price.
Summary for the User
Essentially, this script ignores the "choppiness" of the market to find moments where price hits a boundary and pushes back with force. By combining price range, volatility filtering, and volume weighting, it provides a clearer picture of whether a current move has enough "strength" to sustain itself or if it is simply a weak fluctuation.
ÿþ/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
/ / | B S I . m q 4 |
/ / | C o p y r i g h t 2 0 1 5 , f x b o r g . |
/ / | h t t p : / / b l o g . l i v e d o o r . j p / f x b o r g / |
/ / + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
# p r o p e r t y c o p y r i g h t "