Is it possible to use IEngine in custom-indicator?
Skywalker
Post subject: Is it possible to use IEngine in custom-indicator?
Post rating: 0
Posted: Sun 14 Dec, 2014, 18:53
User rating: 0
Joined: Sat 02 Aug, 2014, 10:12 Posts: 23 Location: China, Shijiazhuang
In a custom-indicator, I want to count the current orders' amounts-total.But I found the IIndicatorContext cannot call a engine to use engine.getOrder(), how can I calculate the orders' amounts-total in my custom-indicator? Could any one help me?
Best regards.
N.S.
API Support
Post subject: Re: Is it possible to use IEngine in custom-indicator?
Trading operations and IEngine is not available in indicators. One option could be to create a strategy that would draw objects on the chart as described here: https://www.dukascopy.com/wiki/#Chart_object_catalog
Skywalker
Post subject: Re: Is it possible to use IEngine in custom-indicator?
Post rating: 0
Posted: Wed 17 Dec, 2014, 19:01
User rating: 0
Joined: Sat 02 Aug, 2014, 10:12 Posts: 23 Location: China, Shijiazhuang