Dukascopy
 
 
Wiki JStore Search Login

Why "subscribing" to instrument and time period?
 Post subject: Why "subscribing" to instrument and time period? Post rating: 0   Post Posted: Wed 16 Mar, 2016, 12:08 
User avatar

User rating: 0
Joined: Tue 08 Mar, 2016, 18:41
Posts: 9
Location: ItalyItaly
Hi,
sorry this is a newbie question, I used the search, but it's still unclear.
In most strategy examples that I view, the first two blocks are "if defaultinstrument = lastcandle.candleinstrument" and "if defaultperiod = lastcandle.candleperiod"
what exactly is the reason for that?


 
 Post subject: Re: Why "subscribing" to instrument and time period? Post rating: 0   Post Posted: Wed 16 Mar, 2016, 13:51 
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 a simple way to filter instruments and periods in Visual Jforex. By default, if you don't use such blocks, the strategy will consider the default instrument predefined but when VJF strategy is exported to Jforex it may behave inconsistently. As of the trading period (we're talking about candles here) the strategy will start browsing all the available periods from 10sec to one month including the related price data of each period if you don'r apply any filter (or period subscription)

Hope this clear enough..


 
 Post subject: Re: Why "subscribing" to instrument and time period? Post rating: 0   Post Posted: Wed 16 Mar, 2016, 15:09 
User avatar

User rating: 0
Joined: Tue 08 Mar, 2016, 18:41
Posts: 9
Location: ItalyItaly
Very clear, thank you.

Just another thing: I have a live account and I cannot run strategies from within visual jforex. It makes me download the strategy processor but it asks for a demo account. Is there a way to use the live account for testing directly from visual jforex (not importing the strategy in jforex historical tester and running from there) or should I necessarily create a demo account for that?


 
 Post subject: Re: Why "subscribing" to instrument and time period? Post rating: 1   Post Posted: Thu 17 Mar, 2016, 14:59 
Visual JForex expert at Dukascopy
User avatar

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

Direct live connection is not yet available and for the moment you should use a demo account for testing purpose.
Live direct access will be released soon.

Thanks !


 

Jump to:  

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