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.

Insert configurable during strategy execution
 Post subject: Insert configurable during strategy execution Post rating: 0   New post Posted: Sun 13 May, 2012, 21:59 

User rating: 1
Joined: Fri 04 May, 2012, 21:03
Posts: 5
Hi Support,

If I run a strategy on the JForex platform it is possible open a form for configurable parameters set during the strategy execution?

For example I want my strategy wait an order and when get it open a popup/form to insert some parameters.

If not is possible do the same with API on a java program?

Thank's so much


 
 Post subject: Re: Insert configurable during strategy execution Post rating: 1   New post Posted: Sun 13 May, 2012, 23:53 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi greenhorn:

You have some possibilities:

- if you don't have too many parameters to fill or define you can create a JDialog when a defined event occurs and get the return of that input dialog (you can create a sequence of input dialogs). More info about here

- other way is to create a new window with fields for all parameters when that event occurs. More info about here.

- other way is maybe possible with strategy presets in strategy tab, but i think that don't is what you pretend.

Hope that helps

Trade well and good luck

JL


 

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