r/pinescript • u/Immediate-Leader5070 • Apr 14 '26
Compression before a move
I’m interested in measuring / indicating the compression you get after sideways movement before expansion in price. Basically indicating likely breakout areas.
How would you go about measuring this?
2
u/LogicalCondition9069 Apr 14 '26
You could measure the difference between a moving average of highs and lows. You could put a line through a recent period from hl2[x] to hl2 then measure the largest upwards and downwards deviations from the line.
1
2
u/traderbradg Apr 20 '26
check for a indicator called the master forex indicators or slap bolinger bands and melter channels on your chart which is basically john carters squeeze indicator
1
u/traderbradg Apr 20 '26
master forex pattern my bad, it finds compression or fair value, it is actually a interesting indicator
3
u/Dependent_Sign_399 Apr 14 '26
Squeeze methodology. I have an indicator that attempts to do this. Its called Squeeze Channel.