Dukascopy
 
 
Wiki JStore Search Login

How to test а strategy based on "TradeEvent" starting point only historically?
 Post subject: How to test а strategy based on "TradeEvent" starting point only historically? Post rating: 0   New post Posted: Fri 29 Nov, 2013, 15:00 

User rating: 0
Joined: Fri 22 Nov, 2013, 15:55
Posts: 2
Location: BelarusBelarus
Hello!
I would like to ask how to test а completed strategy based on "TradeEvent" starting point historically? Let's say, i need to open a specific order after filling a stop loss/take profit of a previous order. As i understand to start this strategy working, i will need to open the very first order manually - but how to enable it historically on testing? Or i necessarily need to fill "OnCandle" or "OnTick" starting point as well? If so, then how to enable working "OnCandle" or "OnTick" based starting point event only one time, and then switching to "TradeEvent" starting point only?
Thank you!


 
 Post subject: Re: How to test а strategy based on "TradeEvent" starting point only historically? Post rating: 0   New post Posted: Mon 02 Dec, 2013, 09:10 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Greetings and welcome to the forum! :)

Quote:
how to enable it historically on testing?


Well, this depends roughly on your strategy... :geek:
It seriously depends on your entry point meaning you can do it normally when having the correct signals.

Please specify what exactly do you mean.

Quote:
As i understand to start this strategy working, i will need to open the very first order manually

Yes, but only if you are using the TradeEvent Starting point.


 
 Post subject: Re: How to test а strategy based on "TradeEvent" starting point only historically? Post rating: 0   New post Posted: Mon 02 Dec, 2013, 23:35 

User rating: 0
Joined: Fri 22 Nov, 2013, 15:55
Posts: 2
Location: BelarusBelarus
Well, during past two days i've got into VJF more and found the answer.
To enable OnTick event only one time i can either use switch with boolean true or faulse, or use OpenPositions < 1.
Thanks for replay anyway!


 

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