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.

Fractals
 Post subject: Fractals Post rating: 0   New post Posted: Tue 25 Oct, 2011, 12:16 

User rating: 0
Joined: Mon 24 Oct, 2011, 09:40
Posts: 5
Location: GB
Hi again Dukascopy team,

Hope all is well.

Thank you kindly for responding to my query yesterday, much appreciated.

I have another query regarding fractals.

From the Dukascopy API the call for fractal is

fractal(Instrument, Period, OfferSide, int, int)

The attached screenshot shows a chart where the fractal appears with settings of "Number of bars on sides =2"

How can code above provide me with the Maximum or Minimum at this time?

Best Regards,

Gerald


Attachments:
Fractal Pic.JPG [17.08 KiB]
Downloaded 437 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Fractals Post rating: 0   New post Posted: Tue 25 Oct, 2011, 12:38 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The method you refer to is for use with shift. Since shift of max/min values is undeterministic (it might vary how far is the last max or min), it is more convenient to use indicator calls that return value arrays. So you can apply the same type of method calls as with Stochastic indicator (either by time interval or by candle interval).

If you just want to print the values, have a look at the following example:
https://www.dukascopy.com/wiki/index.php ... ing_values
instead of bbands, make a fractal call and of course change the optional input values.


 
 Post subject: Re: Fractals Post rating: 0   New post Posted: Tue 25 Oct, 2011, 18:59 

User rating: 0
Joined: Mon 24 Oct, 2011, 09:40
Posts: 5
Location: GB
Once again, thanks for your time and your help on this.

Best Regards,

Gerald


 

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