Due to the alignment being so off in some markets, I decided to update the script to not only translate the triangle extensions but flip them as well so each angle matches. If you prefer the other method, let me know in the comments and I'll add an option to choose between the two. I also cleaned up some redundant code so its a little bit shorter length wise. Thanks!
-@DayTradingOil