This is the code for the expert described in the youtube video https://youtu.be/mtnXe4YGk1g
You will need the framework 3 to use this code. The framework is evolving independently so it is kept in a separate repo at https://github.com/OrchardForexTutorials/framework_3