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.

Retreive and load parameters of any IIndicator
 Post subject: Retreive and load parameters of any IIndicator Post rating: 0   New post Posted: Wed 20 Mar, 2013, 08:49 
User avatar

User rating: 7
Joined: Fri 13 Jan, 2012, 20:49
Posts: 94
Location: Poland, Warsaw
Hello Dukascopy Team,

Using Standalone API I would like to know what is a proper methodology for retrieving any indicator parameters to be able to use them in new instance of the indicator on another chart.

What I want to do exactly is to have ability to retrieve indicator parameters, store them in XML file, close application, retrieve parameters from XML and put indicator again on chart.

I am aware of https://www.dukascopy.com/wiki/#Indicator_metadata but not sure how to use.
Can you please provide some tips or guidance?

Thanks and best regards,
Kurak


 
 Post subject: Re: Retreive and load parameters of any IIndicator Post rating: 0   New post Posted: Wed 20 Mar, 2013, 09:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Calculate_arbitrary_indicator


 
 Post subject: Re: Retreive and load parameters of any IIndicator Post rating: 0   New post Posted: Sat 15 Jun, 2013, 23:27 
User avatar

User rating: 7
Joined: Fri 13 Jan, 2012, 20:49
Posts: 94
Location: Poland, Warsaw
Hi API Support,

Thanks for your link - now I know how to draw an indicator based on my input values.

But I have one more question regarding the topic. I still don't know how to retrieve parameters of an indicator already present on a chart. Let's say I have on my chart MACD(8,8,8). How do I retrieve programmatically those 8s? Indicator metadata provides description of parameters but I can't find a way to retrieve the real parameters' values. Will be grateful for guidance.


Best regards,
Kurak


 
 Post subject: Re: Retreive and load parameters of any IIndicator Post rating: 0   New post Posted: Mon 17 Jun, 2013, 07:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
kurak777 wrote:
I still don't know how to retrieve parameters of an indicator already present on a chart. Let's say I have on my chart MACD(8,8,8). How do I retrieve programmatically those 8s? Indicator metadata provides description of parameters but I can't find a way to retrieve the real parameters' values.
This is not possible from API.


 

Jump to:  

  © 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