Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Is it possible to use IEngine in custom-indicator?
 Post subject: Is it possible to use IEngine in custom-indicator? Post rating: 0   New post Posted: Sun 14 Dec, 2014, 18:53 
User avatar

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.


 
 Post subject: Re: Is it possible to use IEngine in custom-indicator? Post rating: 1   New post Posted: Mon 15 Dec, 2014, 16:51 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
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


 
 Post subject: Re: Is it possible to use IEngine in custom-indicator? Post rating: 0   New post Posted: Wed 17 Dec, 2014, 19:01 
User avatar

User rating: 0
Joined: Sat 02 Aug, 2014, 10:12
Posts: 23
Location: China, Shijiazhuang
Thank you very much!


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com