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.

Indicator MFI
 Post subject: Indicator MFI Post rating: 0   New post Posted: Thu 16 Nov, 2017, 21:03 

User rating: 6
Joined: Tue 30 Oct, 2012, 19:39
Posts: 14
Hello dear technical support and forumites!

Please, help me to write value of the MFI indicator on the previous candle correctly.

If use
mfi1 = indicators.mfi(instrument, period, OfferSide.BID, IIndicators.AppliedPrice.CLOSE, NPeriod, 1 );

then, in case of compilation the error message is printed.

Thanks in advance!


 
 Post subject: Re: Indicator MFI Post rating: 1   New post Posted: Sun 08 Jul, 2018, 18:45 

User rating: 6
Joined: Tue 30 Oct, 2012, 19:39
Posts: 14
Where is the support?


 
 Post subject: Re: Indicator MFI Post rating: 0   New post Posted: Sun 08 Jul, 2018, 18:49 

User rating: 6
Joined: Tue 30 Oct, 2012, 19:39
Posts: 14
Someone give an example of how to call the value of the MFI indicator on the previous bar


 
 Post subject: Re: Indicator MFI Post rating: 0   New post Posted: Mon 09 Jul, 2018, 16:54 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hello,

MFI indicator calculation doesn't require Applied Price. More info about MFI calculation you can find in documentation:
https://www.dukascopy.com/client/javadoc3/com/dukascopy/api/IIndicators.html#mfi-com.dukascopy.api.Instrument-com.dukascopy.api.Period-com.dukascopy.api.OfferSide-int-int-


Attachments:
StrategyMFIIndicator.java [1.97 KiB]
Downloaded 207 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Indicator MFI Post rating: 1   New post Posted: Mon 09 Jul, 2018, 19:05 

User rating: 6
Joined: Tue 30 Oct, 2012, 19:39
Posts: 14
Thanks so much


 
 Post subject: Re: Indicator MFI Post rating: 0   New post Posted: Sat 04 Aug, 2018, 02:28 
User avatar

User rating: 13
Joined: Mon 27 Jul, 2015, 16:30
Posts: 110
Location: Canada, Mission
MFI_Indicator_BUY20_SELL80 strategy report for EUR/USD instrument(s) from 2018-07-23 00:00:00 to 2018-07-29 23:59:59
Account Currency USD
Initial deposit 50000
Finish deposit 51859.59
Turnover 7484022
Comission 134.71
Parameters

instrument EUR/USD
period Hourly
timePeriod 5
offerSide Bid
slippage 0.0
amount 0.1



filter ALL_FLATS
takeProfitPips 0
stopLossPips 0
tpProfit 400.0
ngProfit 0.0

Instrument EUR/USD

First tick time 2018-07-23 00:00:00
First tick bid value 1.17401
First tick ask value 1.17406
Last tick time 2018-07-29 23:59:55
Last tick bid value 1.16591
Last tick ask value 1.16596
Positions total 42
Closed positions 22
Orders total 42
Bought 3.20
Sold 3.20
Turnover 7484022
Comission 134.71


Attachments:
MFI_Indicator_SELL20_BUY80.java [7.56 KiB]
Downloaded 208 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Indicator MFI Post rating: 1   New post Posted: Thu 14 Mar, 2019, 20:13 

User rating: 6
Joined: Tue 30 Oct, 2012, 19:39
Posts: 14
Many thanks to everyone


 

Jump to:  

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