DislikedTo simplify the charts a bit, you can only keep the lines for the fractals of Level-2 and Level-3.
Here is the Version 2 with some improvements.Ignored
If you don't mind my asking -- why the "trend lines"? I mean, I know what a trend is -- at least I think I do. But why add those lines to your indicator? I'm currently looking at a EURUSD/M30 chart and the blue and red trend lines are pointing in different directions. Do you just connect the two most recent Level-2 FractalUps and FractalDns to get a general sense of the trend or are there additional clues you can glean from their directions.
There is no effort without error or shortcomings (T.R.)