I finished a very simple demo for trading execution using this indicator (please note that I don't recommend you trade like this in a real account), you can find it here:
https://fxdreema.com/shared/WfOK6fDhb
After a random backtest the MT4 platform will give you the indicator settings it was using for the signals:

So now we know that appliedPrice = 1 is "Open Price", so:
0 = Close
1 = Open
2 = High
3 = Low
4 = Median
5 = Typical
6 = Weighted
For TimeFrame "0" is equal to "current", and the rest of the list is in order (0,1,2,3,4,5).
The reason why I don't recommend using "enum" is that you don't have the source file where they are enlisted, so you don't have a way to know the correct way of declaring them. The labels may be different from those shown in the site tutorials. And enums may cause conflict when two indicators within the same EA use similar declarations.