This is a modified version of @SeaSide420 TSI CCI Hull with profits exit on long and short order ORIGINAL SCRIPT: /// /// feel free to edit/improve and comment