Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

How is each strategy evaluated?
 Post subject: How is each strategy evaluated? Post rating: 0   New post Posted: Wed 16 Feb, 2011, 12:11 

User rating: 0
Joined: Mon 14 Feb, 2011, 15:47
Posts: 3
I have used EL and MQL4 to program trading strategies, they have different ways of evaluating the strategy:

EL's strategy is evaluated realtime after each finished bar, and the order can only be executed on the next bar's open price.

MQL4's strategy is evaluated by a main loop for all the bars on the chart.

Question for the Jforex strategy: How is each strategy evaluated? Is it evaluated on each finished bar, or it is evaluated on each generated tick?


 
 Post subject: Re: How is each strategy evaluated? Post rating: 0   New post Posted: Wed 16 Feb, 2011, 22:30 

User rating: 1
Joined: Fri 26 Mar, 2010, 19:19
Posts: 116
Location: Canada
JForex offers the designer the choice to choose which, or both, implementation to use. You can put your algorithm in onTick() or onBar() methods.


 

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