Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
How to get previous Bar filter weekends? http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=200&t=56701 |
Page 1 of 1 |
Author: | fquant [ Mon 10 Sep, 2018, 07:14 ] |
Post subject: | How to get previous Bar filter weekends? |
The method: history.getBar(Instrument.EURUSD,Period.Daily,OfferSide.BID,1) only return previous bar,if the time at the open, the method return weekend bars without filter,how to get previous bar without weekend? HELP PLEASE! |
Author: | mtnfx [ Wed 12 Sep, 2018, 10:31 ] |
Post subject: | Re: How to get previous Bar filter weekends? |
See public interface IHistory { Filter.WEEKENDS should work for you. |
Author: | fquant [ Sun 16 Sep, 2018, 04:18 ] |
Post subject: | Re: How to get previous Bar filter weekends? |
Thanks a lot, that helps me. |
Page 1 of 1 |