Mozilla Skin

Indicators

From Open Forex Platform Wiki

The platform supports the full trading indicators list (120+) trough the usage of Ta-Lib, as well as custom indicators. Custom indicators are loaded dynamically from all current and referenced assemblies, and must inherit form the "Indicator" base class.

There is also added support for runtime loading of custom external indicators.

This functionality is accessible by clicking "Tools >> Load Custom Indicator Assembly" and selecting the needed assembly - all indicators will be loaded from it.

There two important notes regarding runtime indicators loading:

+ The loaded assembly gets "locked" by the platform, so if you want to rewrite it, you need to stop the platform first. This is a .NET framework limitation, that is very hard to go around with the current version (.NET 3.5), possibly improvement in the .NET 4.0

+ If a chart has loaded a custom indicator from custom assembly, make sure to have the assembly file accessible and in the same location when starting next time, since on start, the chart will look for it. If it fails to find it, the chart will fail to load.

There is also a test .NET C# project under "Test >> ExternalIndicatorAssemblyTest" that shows an example on how to build custom runtime indicatorr. The test can directly be loaded with selecting "ExternalIndicatorAssemblyTest.dll" and it will load the TestCustomIndicator.