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 to convert MQ4 Icustom to JForex
 Post subject: how to convert MQ4 Icustom to JForex Post rating: 0   New post Posted: Sat 17 Oct, 2009, 23:59 

User rating: 0
Joined: Fri 10 Jul, 2009, 20:17
Posts: 4
The MQ4 expert advisor has structure
Custom indicator
and expert advisor call icustom() to call the customized indicator.

In Jforex, how to call a customized inicator in strategy?


 
 Post subject: Re: how to convert MQ4 Icustom to JForex Post rating: 0   New post Posted: Mon 19 Oct, 2009, 07:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
there is special method in IIndicators, named calculateIndicator [url]https://www.dukascopy.com/swiss/docs/api/com/dukascopy/api/IIndicators.html#calculateIndicator%28com.dukascopy.api.Instrument,%20com.dukascopy.api.Period,%20com.dukascopy.api.OfferSide[],%20java.lang.String,%20com.dukascopy.api.IIndicators.AppliedPrice[],%20java.lang.Object[],%20com.dukascopy.api.Filter,%20int,%20long,%20int%29[/url]
Here is sample https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=6&t=1038&p=2307&hilit=entropy#p2307


 

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