Post subject: using indicators with price-aggregation bars
Post rating: 0
Posted: Mon 05 Mar, 2012, 06:07
User rating: 0
Joined: Mon 05 Mar, 2012, 05:38 Posts: 3
Dear Support,
I´m new in Java- can you give me an examble to use indicators like trendenv,sar...with price aggregation bars(like Renko,Rangebars and so on). The method : double[] trendEnvFeed = (double[]) indicators.calculateIndicator( feedDescriptor, new OfferSide[] {OfferSide.BID }, "trendEnv", new Object[]{trendEnvPeriod,deviation}, 1)[0];
doesn´nt work. can you help me?
Thanks
API Support
Post subject: Re: using indicators with price-aggregation bars
For calculation on feed see: https://www.dukascopy.com/wiki/#Indicato ... price_feed Try the given example and adjust it to use indicators of your interest. Mind to change the optional inputs and output processing accordingly.