Some variable refactoring to maintain consistency.
Functionality update: "Simplify Northern/Southern Doji" input no longer makes the moving averages disappear, as I have just realized that the Gapping Up/Down Doji variants are also dependent upon the current trend directions.
Note: If MA 1 and 2 have the same length and "MA Rules" is set to "BOTH" then the moving averages will not appear and detection for the Gapping Up/Gapping Down variants will not work (unlikely to hinder actual functionality of this script, this is simply a very specific edge case I've decided to handle).