Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API function requests in this forum only.
    Off topics are strictly forbidden.

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

Set parameters and onStart() call
 Post subject: Set parameters and onStart() call Post rating: 0   New post Posted: Tue 23 Jun, 2020, 03:53 

User rating: 1
Joined: Mon 04 Nov, 2019, 03:51
Posts: 8
Location: Canada, Vancouver
Hi, that would be great if the use of right click -> Set parameters in the Strategies tab would : either go through onStart() again or send a specific type of message, when clicking "Set".
I noticed it wasn't doing that and assumed it did, and that introduced some "bugs" in my strategy, because I'm using the parameters to create objects during onStart(), as well as performing checks on the parameters.
Thank you


 
 Post subject: Re: Set parameters and onStart() call Post rating: 0   New post Posted: Wed 24 Jun, 2020, 16:30 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

That can not be done as it will change behavior of all the strategies that are not supposed to trigger onStart on changing the settings.

Regards.


 

Jump to:  

  © 1998-2024 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