• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 5:05am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 5:05am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Roffild's Library - Library for MQL5 (MetaTrader) with support 10 replies

Dukascopy Freezing their JForex during the NEWS 1 reply

dukascopy's jforex is always disconnected 0 replies

JForex Chart Trading of Dukascopy 2 replies

Dukascopy JForex APi HELP !! 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: JForexUtils: A useful library for Dukascopy's JForex
Cancel

JForexUtils: A useful library for Dukascopy's JForex

  • Post #1
  • Quote
  • First Post: Feb 10, 2016 1:56am Feb 10, 2016 1:56am
  •  beyon
  • | Joined Mar 2011 | Status: Member | 34 Posts
Hi JForex developers,

I've created a useful java library which eases the day-to-day programming in JForex.
It is for free and you can even use the source code for your own ideas and extensions.
I've written the first part of the documentation at the article contest section of Dukascopy -> click; you will find detailed information there.
I will update this thread as soon as there are new articles.

All the best and happy trading,
Juergen
  • Post #2
  • Quote
  • Feb 15, 2016 5:00pm Feb 15, 2016 5:00pm
  •  beyon
  • | Joined Mar 2011 | Status: Member | 34 Posts
Part 2 is online.
 
 
  • Post #3
  • Quote
  • Mar 2, 2016 4:38am Mar 2, 2016 4:38am
  •  beyon
  • | Joined Mar 2011 | Status: Member | 34 Posts
Part 3 is online.
 
 
  • Post #4
  • Quote
  • Edited 9:16pm Apr 8, 2016 8:25pm | Edited 9:16pm
  •  ycomp
  • | Joined Feb 2006 | Status: Member | 801 Posts
great work...

I'm a big fan of builders..
 
 
  • Post #5
  • Quote
  • Apr 9, 2016 2:35am Apr 9, 2016 2:35am
  •  ycomp
  • | Joined Feb 2006 | Status: Member | 801 Posts
could you explain what is going on here?

return ConcurrentUtil.isStrategyThread()
? execute(() -> orderSupplierCall.get())
: execute(strategyThreadCall(() -> orderSupplierCall.get()));

I'm trying to understand how the callback functionality was implemented, it is very interesting to me.
 
 
  • Post #6
  • Quote
  • Last Post: Sep 13, 2016 1:53pm Sep 13, 2016 1:53pm
  •  docotor
  • | Joined Apr 2012 | Status: Member | 14 Posts
I have following question.
In MT4 there is following function:
double iMACD(
string symbol, // symbol
int timeframe, // timeframe
int fast_ema_period, // Fast EMA period
int slow_ema_period, // Slow EMA period
int signal_period, // Signal line period
int applied_price, // applied price
int mode, // line index
int shift // shift
);
so, in my code, if I need to get macd value from current timeframe I can use following code:
double val = iMACD(NULL, 0 ,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
If indicator or strategy work at 1 minute time frame, but I want to see macd at 5 minute time frame I can use the following comand:
double val = iMACD(NULL, PERIOD_M5 ,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
If I want to get value of previous 5 minutes time frame, I can use following code:
double val = iMACD(NULL, PERIOD_M5,12,26,9,PRICE_CLOSE,MODE_MAIN, 1 );
If I want to get value of 10 minutes before, I can use this line:
double val = iMACD(NULL, PERIOD_M5,12,26,9,PRICE_CLOSE,MODE_MAIN, 2 );
Regarding to this I have two questions:
1. How to get value of macd from time-frame different from which custom indicator is executed?
2. How to get value of macd from time-frame different from which custom indicator is executed and if time frame is not standard ( for example timeframe of 28 minutes )

Is it possible to use your utils in order to implement such functionality in indicator or in strategy?
 
 
  • Platform Tech
  • /
  • JForexUtils: A useful library for Dukascopy's JForex
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023