This was a simple project aiming at porting an implementation of a TrendStop indicator from the FXCM Trading Station 2 platform to MetaTrader 4 platform.
So I rather used the raw specifications on the indicator behavior from this page, and used those specs to build it from scratch in MQL4.
Then I added the support for Trend Stop coloring as described on the initial page, and now I have a working TrendStop indicator with coloring support in MetaTrader4 as shown in the screenshot below.
Skills & Techs
Lua
MQL4
Images
Sources
The sources for this indicator are currently kept closed on my private gitlab server, but feel free to contact me if you are interested.