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.

How can I set a default filter?
 Post subject: How can I set a default filter? Post rating: 0   New post Posted: Wed 27 Jan, 2016, 03:45 
User avatar

User rating: 0
Joined: Sat 19 Dec, 2015, 14:12
Posts: 1
Location: Aland IslandsAland Islands
I have writen a indicator which calls the MACD function. I find that i must set the fiter of MACD to be filter.WEEKENDS to get a correct output. I even find that any indicators need to set the filter. So I wonder that if I can use a function to set a default filter that every indiators can share. How can I do this? Many thanks.


 
 Post subject: Re: How can I set a default filter? Post rating: 0   New post Posted: Mon 01 Feb, 2016, 15:12 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Filter is set only when indicator is being called. It is not possible to set default filter from indicator or set default filter.


 

Jump to:  

cron
  © 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