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.

Is there any way to define variables that are shared by all strategies?
 Post subject: Is there any way to define variables that are shared by all strategies? Post rating: 0   New post Posted: Thu 06 Sep, 2012, 11:46 

User rating: 0
Joined: Thu 16 Aug, 2012, 03:29
Posts: 26
Hello, experts,

I met a problem and wish you could give me a hand.

I want to define some variables that are shared by all strategies.

Suppose I have strategy A and strategy B. I want A could interact with B. That is why I need some variables that are shared and able to access by both A and B.

The way I could think out right now is to save the data in a local txt file.

Strategies access the file and obtain the data.

Is there any better way for the strategies to interact with each other?

Thank you very much!


 
The Best Answer  Post subject: Re: Is there any way to define variables that are shared by all strategies? Post rating: 0   New post Posted: Thu 06 Sep, 2012, 13:11 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Broadcast_message


 

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