Dukascopy
 
 
Wiki JStore Search Login

Indicator with Filter.ALL_FLATS in Shift 0
 Post subject: Indicator with Filter.ALL_FLATS in Shift 0 Post rating: 0   New post Posted: Fri 12 Jul, 2013, 09:12 

User rating: 0
Joined: Mon 17 Sep, 2012, 14:05
Posts: 25
Hello!

Is it possible to get the LWMA trigger value with Filter.ALL_FLATS and Shift 0?

If yes, would you be so kind as to provide a link?

Thank you!


 
 Post subject: Re: Indicator with Filter.ALL_FLATS in Shift 0 Post rating: 0   New post Posted: Fri 12 Jul, 2013, 13:41 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
aspirator wrote:
Hello!

Is it possible to get the LWMA trigger value with Filter.ALL_FLATS and Shift 0?

If yes, would you be so kind as to provide a link?

Thank you!

Visual JForex usses filter for weekend flats and use merged sunday candle with monday.


 
 Post subject: Re: Indicator with Filter.ALL_FLATS in Shift 0 Post rating: 0   New post Posted: Mon 15 Jul, 2013, 06:58 

User rating: 0
Joined: Mon 17 Sep, 2012, 14:05
Posts: 25
Hello!

Thanks for the answer.

On the JForex platform one can set up all flats, weekend and disable it.
There are also many tags available to receive the indicator value.

For example:
double lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
int shift)
throws JFException

So, I need that one with a filter.

I tried this one here:

double[] lwma(Instrument instrument,
Period period,
OfferSide side,
IIndicators.AppliedPrice appliedPrice,
int timePeriod,
Filter filter,
long from,
long to)
throws JFException

For the "from" and "to" I used the current tick time and I never received the values displayed on the screen.

Thus, I suspect that shift zero combined with Filter and the API, there is no Filter for shift 0, is it?


 

Jump to:  

  © 1998-2024 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