- Converted to Pine Script v4
- Added smoothing or stepped option
- Changed offset default to zero
- Changed lookahead to off.
- Removed offset.
Go to http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!
Let me know if that doesn't work. Good luck with your trading :)