Sorry for problems my friend, I think, that I found problems, why it is not displayed in MTF, I am rewrite one more time this indicator from scratch, step by step and I found that after adding a level as a buffer, the indicator stopped showing, so I created the levels differently and it should work.
Also made histogram differently as DRAW_COLOR_HISTOGRAM and now have 3 colors as MT4 version.
Dovnload new version on my original post
CLICK