schiffPitchforkModified
The Modified Schiff Pitchfork is another twist on the classic pitchfork. It shifts the pivot point a little differently compared to the normal Schiff version, so the fork lines often fit sideways or consolidating markets better.
Think of it like this:
The classic pitchfork is strict.
The Schiff pitchfork smooths it out.
The Modified Schiff pitchfork adjusts even more, so you can track price action when the market isn’t trending in a straight line.
Syntax
schiffPitchforkModified(pivot, left, right, styles?)
Parameters
pivot The handle of the fork. Build it with
newPoint(time, price)— for example:newPoint(time(40), low(40))left The first side anchor. Example:
newPoint(time(25), high(25))right The second side anchor. Example:
newPoint(time(12), low(12))
Return Value
string — A unique drawing
id.
Example
This script draws a teal Modified Schiff Pitchfork every 30 candles using clear swing points.
This creates a teal Modified Schiff Pitchfork that adapts better when price is drifting sideways instead of making a strong trend.
Result

Tips
Use Modified Schiff when you want a pitchfork that handles choppy or sideways markets.
Great for spotting potential breakout zones inside ranges.
Try combining it with a
horizontalRayto mark flat levels while the fork shows angled paths.
Warning
If your three anchors are too close together, the fork can collapse and look strange.
Don’t use it as a one-size-fits-all — sometimes the classic pitchfork works better for clear trends.
Good Practice
Keep your pitchforks color-coded:
Red for classic
Blue for Schiff
Teal for Modified Schiff This way you instantly know which type you’re looking at.
Update the fork with fresh pivots if the market structure changes — don’t just keep the old one.
Use larger swings for anchors when trading higher timeframes, so the fork gives you meaningful guidance.
Last updated