Trend Stop indicator for MetaTrader 4
Project description
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.
- The original implementation was taken from http://fxcodebase.com/code/viewtopic.php?f=17&t=12728&hilit=trend+stop. Yet, this page only provided the compiled lua byte code of the indicator, which could not be used reliably to convert the source code (requires decompilation).
- 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.