Dukascopy
 
 
Wiki JStore Search Login

SMA indicator values differ from api and chart
 Post subject: SMA indicator values differ from api and chart Post rating: 0   New post Posted: Fri 14 Aug, 2015, 07:38 
User avatar

User rating: 0
Joined: Thu 20 Oct, 2011, 19:50
Posts: 3
Location: Bulgaria, Bnakya
The returned value from:

double sma200 = indicators.sma(instrument, DAILY, OfferSide.BID, AppliedPrice.CLOSE, 200, 1);


is not same as the one from chart. I tried with OfferSide.ASK, but the returned value also differs from chart.


 

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