Hi all, i`am from Russia, i have some question about Jforex.
1) In mql4/5 have more parameters for indicator CCI (
Commodity Channel Index -
https://codebase.mql4.com/255)
In mql4/5 this indicator write this - double iCCI(string symbol, int timeframe, int period, int applied_price, int shift)
(
https://docs.mql4.com/indicators/icci) iCCI(NULL, PERIOD_H1, period, PRICE_TYPICAL, 1);
IIndicators indicators;
Instrument instrument;
....
this.indicators = context.getIndicators();
....
In JForex write this - indicators.cci(instrument, Period.ONE_HOUR, OfferSide.BID, period, 1);
I need in
https://docs.mql4.com/constants/prices - PRICE_TYPICAL (Typical price, (high+low+close)/3.)
How to realize
PRICE_TYPICAL in JForex for indicator CCI
2) In MQL4/5 have
Digits -
https://docs.mql4.com/predefined/variables/digits and this
https://docs.mql4.com/common/MarketInfoFor EURUSD pair digits = 5 (if point 0.00001). If point 0.0001 digits = 4. For USDJPY digits = 3.
In Jforex have function int getPipScale(). What this function return for EURUSD?
I need analog for mql4/5 Digits.
3) In MQL4/5 have function
AccountFreeMargin() -
https://docs.mql4.com/account/accountfreemarginI need analog for Jforex.
4)
Time Open and
Time Close order. How to realize this function in Jforex.
I thank for the help.
in Russian
Заранее благодарю за помощь
