Skip to content
Black Friday: sale starts November 15th.

Support Resistance Solver

Support Resistance solver node

The Support Resistance solver measures how far price is from support and resistance (S/R) lines, in one of two opposite modes.

ModeUse it to…
Price Far Away from S/R (Headwind)Check there is enough room to trade toward the next S/R line. The closer price gets to S/R, the more “headwind” it meets, so a trade toward it is less attractive.
Price Near S/R for Bounce (Tailwind)Catch a bounce: price close enough to S/R that the line may act as a “tailwind”, pushing price away.

Some settings appear only in one mode or with one type of S/R line; each section below says when. As on every solver, the Long and Short outputs are calculated separately.

Properties tab

Property Inspector tabs, with the Properties tab selected

The essential settings for the node.

Modifiers

Buttons for the most common output modifiers. They change only the selected instance of a node on a Logic Board, so they appear only when a node is selected there, not when a solver is selected in the Solvers panel. That keeps the solver’s original output unchanged everywhere else it’s used, much like changing an SMA’s plot color on one chart leaves it unchanged on your other charts.

Modifiers: the Enabled, Invert and Swap buttons
ButtonWhat it does
EnableTurns the node on or off. When it’s off, the node is left out of the system’s calculations. It still looks connected on the Logic Board, but it’s ignored.
InvertInverts the node’s output. The same calculation as the Inverter function node, without its extra options.
SwapSwaps the outputs: Long becomes Short and Short becomes Long. The same as the Long/Short Modifier function node with Mode: Swap.

Global Properties

These settings apply to every instance of the solver: change one instance and they all change. To change just one, make a copy of the solver. The copy is a separate solver, with a number added to the end of its name.

Behavior

Turns off the Long or the Short output.

Behavior: the Evaluate setting
SettingWhat it does
EvaluateWhich outputs the solver calculates.
Both: Long and Short.
Long only: only Long; the Short output is removed.
Short only: only Short; the Long output is removed.

Options

Options in Price Far Away from S/R mode: Price to S/R Line Mode and Select Type for S/R Lines
Options in Price Near S/R for Bounce mode, with Must Agree with SwingTrend Direction
SettingWhat it does
Price to S/R Line ModePrice Far Away from S/R (Headwind): the Long output is on when price is far enough below the nearest S/R line above it (room to trade up into resistance); the Short output is on when price is far enough above the nearest line below it. How far is set by Minimum Distance and Ideal Distance.
Price Near S/R for Bounce (Tailwind): the Long output is on when price is just above an S/R line (a possible bounce up); the Short output is on when price is just below one. How close is set by Ideal Distance and Maximum Distance.
Must Agree with SwingTrend DirectionWhen checked, a bounce only counts in the direction of the swing trend: Long bounces in an up trend, Short bounces in a down trend. The SwingTrend Parameters section will appear. This checkbox only appears when “Price Near S/R for Bounce (headwind mode only).
Select Type for S/R LinesWhat forms the S/R lines. The next section changes to match:
Use an Indicator: indicator plots; several at once work, for example all seven lines of a Pivots indicator.
Use Lin.Reg.Channel: the lines of a linear regression channel.
Use Price Intervals: evenly spaced, fixed price levels.

S/R line settings

One of these sections appears, depending on Select Type for S/R Lines.

Indicator for S/R Lines

Indicator for S/R Lines: Indicator and Displacement
SettingWhat it does
IndicatorThe indicator and plots that form the S/R lines, chosen in the Select Indicator window.
DisplacementUses the indicator’s values from this many bars back.

Lin.Reg.Channel Parameters

Lin.Reg.Channel Parameters: Regression Period and Width in Deviations
SettingWhat it does
Regression PeriodThe regression channel’s period.
Width in DeviationsThe channel’s width, in standard deviations.

In Price Far Away from S/R mode, the upper line is resistance for the Long output and the lower line is support for the Short output. In Price Near S/R for Bounce mode, the lower line is support for the Long output and the upper line is resistance for the Short output.

Price Interval Parameters

Price Interval Parameters: Interval Spacing, and the optional upper and lower limits
SettingWhat it does
Interval Spacing (Points)The distance between the S/R levels, in points.
Specify Upper Limit / Upper LimitWhen checked, no levels above the Upper Limit price.
Specify Lower Limit / Lower LimitWhen checked, no levels below the Lower Limit price.

SwingTrend Parameters

Price Near S/R for Bounce mode, with Must Agree with SwingTrend Direction checked. These set how the swing trend is detected, as on the Dorschden Swing Trend solver.

SwingTrend Parameters: Swing type, Swing strength, Double Top/Bottom strength and Use Close prices
SettingWhat it does
Swing typeThe formula that detects swing points: Standard, Gann, Ticks or Percent. These come from the original author (Dorschden), who didn’t document them.
Swing strengthHow sensitive swing detection is. 1 is very sensitive (many small swings), 7 (the default) suits most intraday charts, 14 finds larger swings. Practical values: 1 to 15 intraday and 15 to 25 on daily charts for Standard, Gann and Ticks; for Percent, 0.15 to 0.4 intraday and 2 to 20 daily.
Double Top/Bottom strengthHow close (in price) two swing highs or two swing lows must be to count as a double top or bottom, as a percentage of the 14-period ATR: ATR(14) × (value ÷ 100).
Use Close pricesDetect swings from the Close only, instead of the High and Low.

Price Compared to S/R

Price Compared to S/R: Price Type Long and Price Type Short
SettingWhat it does
Price Type LongThe bar price (Close by default) measured against the S/R lines when calculating the Long output.
Price Type ShortThe bar price measured against the S/R lines when calculating the Short output.

Distance Targets

Distance Targets in Price Far Away from S/R mode: Minimum Distance and Ideal Distance
Distance Targets in Price Near S/R for Bounce mode: Ideal Distance and Maximum Distance

Each distance has its own unit in Measured In (see Measuring distance). ATRs add an ATR Period.

SettingWhat it does
Minimum DistancePrice Far Away from S/R mode. Price this close to the S/R line, or closer, gives the “At … or Less” output.
Ideal DistanceBoth modes. Price at this distance gives the “(Ideal Distance)” output.
Maximum DistancePrice Near S/R for Bounce mode. Price this far from the S/R line, or farther, gives the “At … or More” output.

Output

The output values. The labels show the current distances, for example “At 4 ATRs (Ideal Distance)”. Each value sets the Long output and the Short output for its situation.

In Price Far Away from S/R mode

Output in Price Far Away from S/R mode
SettingWhat it does
At Minimum Distance or LessThe Long output and the Short output when price is at the Minimum Distance from S/R or closer.
At Ideal DistanceThe Long output when price is below resistance by at least the Ideal Distance, and the Short output when price is above support by at least that much.
No S/R Lines (breakout)When price has broken beyond every S/R line. Set to 1: the Long output is on above all the lines, and the Short output below them. Set to 0: neither.
Price = S/R LineThe Long output and the Short output when price is exactly at an S/R line.

In Price Near S/R for Bounce mode

Output in Price Near S/R for Bounce mode
SettingWhat it does
At Ideal DistanceThe Long output when price is above support and within the Ideal Distance, and the Short output when price is below resistance and within that distance.
At Maximum Distance or MoreThe Long output and the Short output when price is at the Maximum Distance from S/R or farther.
No S/R Lines (breakout)When price has broken beyond every S/R line. Set to 1: the Long output is on below all the lines, and the Short output above them. Set to 0: neither.
Price = S/R LineThe Long output and the Short output when price is exactly at an S/R line.

Options tab

Property Inspector tabs, with the Options tab selected

Secondary settings shared by all nodes.

Weight

Changes the node’s final output value. Only needed when designing a fuzzy logic system, or a fuzzy logic part of a system.

How Weight works

Weight changes only the selected instance of a node on a Logic Board. So the controls appear only when a node is selected there, not when a solver is selected in the Solvers panel: a solver’s original output can’t be changed globally.

ControlWhat it does
Multiply OutputMultiplies the node’s internal Long and Short values (set by the Output Rules on the Properties tab) by this number. The final output still can’t go above 1 (see Slider).
SliderLimits the final output to between 0 and 1. The left handle sets a minimum output, given whether or not the condition is true. The right handle sets the maximum; the output is capped there.
Hedge OperationApplies a formula to the internal value.
None: unchanged.
Very: squares it (value²).
Somewhat: takes the square root (√value).

Example: two out of three

Three solvers check three indicator conditions, but only two need to be true. Connect them to an Additive logic node and set each solver’s maximum (the slider’s right handle) to 0.5. When any two are true, the Additive node adds 0.5 + 0.5 + 0 = 1, which means the two-out-of-three condition is met.

Description

Free text for describing what the node does or what it’s for. The Description is shared by every instance of the node, unlike Weight, which is set per instance.

Help tab

Property Inspector tabs, with the Help tab selected

Shows this page for the selected node, inside BloodHound. Click the node’s image at the top of the page to open it in a bigger window. The built-in web viewer needs NinjaTrader 8.0.26.0 or newer.

Tutorial video

From the weekly training workshop, May 2025. Watch in 1080p for the clearest picture.

Examples

Example 1A: The basics of Far Away from S/R (headwind) mode

With the EMA 100 as support/resistance: is there at least 20 points of room to trade long into resistance or short into support?

Settings and chart

Settings

  • Add the Support Resistance solver.
  • Set Indicator to EMA 100.
  • Set Minimum Distance and Ideal Distance to 20 Points.
  • Set No S/R Lines (breakout) and Price = S/R Line to 0.

Result

The Long output (green) is on while the close is 20 points or more below the EMA 100, and the Short output (red) while it is 20 points or more above.

Example 1B: The basics of Near S/R for Bounce (tailwind) mode

With the EMA 100 as support/resistance: is price within 10 points of it, for a possible bounce?

Settings and chart

Settings

  • Add the Support Resistance solver.
  • Set Price to S/R Line Mode to Price Near S/R for Bounce (Tailwind).
  • Uncheck Must Agree with SwingTrend Direction.
  • Set Indicator to EMA 100.
  • Set Ideal Distance and Maximum Distance to 10 Points.

Result

A signal while price is within 10 points of the EMA 100.

Example 2A: Pivots in Far Away from S/R (headwind) mode

With all the Woodies Pivots lines as S/R. Between two lines, the Long and Short outputs can both be on: there is room to trade long toward resistance and short toward support.

Settings and chart

Settings

  • Add the Support Resistance solver.
  • Set Indicator to Woodies Pivots and select all plots.
  • Set Minimum Distance and Ideal Distance to 40 Points.

Result

Four situations on the chart. (1) In the middle, both outputs: 40 points or more to the next pivot line either way. (2) On the left, near S2 or S1: only the Long output, with 40 points or more up to the next resistance line. (3) Either side of the middle, near S1 or PP: only the Short output, with 40 points or more down to the next support line. (4) Right of the middle, between R1 and PP: no output, because neither line is 40 points away.

Example 2B: Pivots in Near S/R for Bounce (tailwind) mode

With all the Woodies Pivots lines: the Long output when price is just above support, the Short output when it is just below resistance.

Settings and chart

Settings

  • Add the Support Resistance solver.
  • Set Price to S/R Line Mode to Price Near S/R for Bounce (Tailwind).
  • Uncheck Must Agree with SwingTrend Direction.
  • Set Indicator to Woodies Pivots and select all plots.
  • Set Minimum Distance and Ideal Distance to 5 Points.
  • Set No S/R Lines (breakout) to 0.

Result

Bounce mode is better suited to spotting possible bounces off support and resistance.

Example 2C: Breaking out

Building on 2A and 2B: the No S/R Lines (breakout) output when price breaks above the highest line or below the lowest, in both modes.

Settings and chart

Settings

  • Add the Support Resistance solver.
  • Set Indicator to Woodies Pivots and select all plots.
  • Set Minimum Distance and Ideal Distance to 0 Points.
  • Set At 0 Points (Ideal Distance) to 0.
  • Set Price = S/R Line to 0.

Still stuck? Contact support