This script is bad ass and you are a bad ass programmer. This was the same idea I was trying to write, but when I discovered how clean your code was, I was like DAMMMN son! I got a new BF son.
bennef
⋅
@blissfulStar, I'm happy you found it useful. Obviously feel free to modify it for your own purposes; all my open-source scripts are on TradingView. This script could do with bringing up to date to be honest.
infamouscrypto
⋅
great script! how would alerts be set up for it? Can't figure out a way. Thanks!