This script uses the highs and lows of the candles (instead of the close) to make a "channel" to reference while scalping.
Use the green lower line as a guide to go long and the red upper line as a guide to go short. You may use the lines as potential entry points and direction but you may want to consider exiting before the opposite colored line prints, as that may be too late. As always, entries and exits are at the discretion of each trader.
You will need to adjust the "Line Spacing" settings as you change instruments, chart timeframes, and/or volatility increases/decreases.
Notas de Lançamento
⋅
By request, added the ability to set alert for long or short condition.
Notas de Lançamento
⋅
Updated code to comply with new color transparency requirements in Pinescript.
Notas de Lançamento
⋅
Added shading to area between lines, by request. Added 3 more multipliers between original ones to provide more flexibility on various instruments.
Notas de Lançamento
⋅
Converted code to Pinescript V5. Per user request, added alert option for high crossing upper line and low crossing lower line.