Dukascopy
 
 
Wiki JStore Search Login

How to do multile intruments calculation
 Post subject: How to do multile intruments calculation Post rating: 0   New post Posted: Tue 22 Mar, 2016, 14:22 
User avatar

User rating: 0
Joined: Tue 01 Sep, 2015, 12:43
Posts: 12
Location: SpainSpain
Hello

Help please, I need to divide the last EUR/USD tick price by the last GBP/USD tick price.

Thanks a lot


 
 Post subject: Re: How to do multile intruments calculation Post rating: 0   New post Posted: Thu 24 Mar, 2016, 15:21 
User avatar

User rating: 0
Joined: Tue 08 Mar, 2016, 18:41
Posts: 9
Location: ItalyItaly
Bump.

I'd like to know how to do that too... would be really useful for position sizing


 
 Post subject: Re: How to do multile intruments calculation Post rating: 0   New post Posted: Mon 28 Mar, 2016, 15:17 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Hi,

This is possible using calculation block or calculation expression block. but the use of last tick is not possible in you case: I suggest you to use the last candle close instead.
To do so, you should start with 2 get historical candle blocks, each one with the needed currency pairs. Then get the candle close (or any candle's price) from the block output and use it in a calculation expression.
attachment feature in this forum is temporary unavailable, it will be fixed shortly.
Thanks


 

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